/* Prime chrome: Electro "Power On" (restricted preview).
   Identity kept from the live theme: bright consumer-electronics retail, the merchant's main colour as the warm accent, white
   tiles with soft rounded corners, heavy geometric display type, light peach grounds.
   Signature: the "power ring" — a thin accent arc with a gap at the top (a status LED / power symbol) on category tiles, focus
   states of image frames, badges, section-title rules and icon buttons. One motion: the ring sweeps closed on hover / focus.
   Merchant inputs: --main-color-one, --heading-color, --body-color, --section-bg-2, --sf-merchant-heading / --sf-merchant-body
   (explicit merchant fonts win), --heading-font / --body-font (Store Admin › Typography). Every colour below is derived from them
   with color-mix(); filled buttons use the main colour darkened (70 % + black) so white text keeps ≥ 4.5:1. */
@property --el-sweep { syntax: "<angle>"; inherits: true; initial-value: 300deg; }

/* the power ring: an arc with a gap at the top, drawn on a pseudo-element with `background: var(--el-arc)` + `mask: var(--el-arc-mask)`.
   Defined on every element (not once on body) so that each element's own --el-sweep / --el-ring-w / --el-ring-c are the ones used. */
body.electro *, body.electro *::before, body.electro *::after {
  --el-arc: conic-gradient(from 30deg, var(--el-ring-c, var(--sfp-accent)) 0 var(--el-sweep), transparent var(--el-sweep));
  --el-arc-mask: radial-gradient(farthest-side, transparent calc(100% - var(--el-ring-w, 2px) - .6px), #000 calc(100% - var(--el-ring-w, 2px)));
}
body.electro {
  --sfp-accent: var(--main-color-one, #E8603C);
  --sfp-cta: color-mix(in srgb, var(--main-color-one, #E8603C) 70%, #000);
  --el-cta-hover: color-mix(in srgb, var(--main-color-one, #E8603C) 58%, #000);
  --el-accent-ink: color-mix(in srgb, var(--main-color-one, #E8603C) 64%, #000);
  /* where relative colours exist, darken by lightness only (OKLCH), so the CTA keeps the merchant's hue and chroma instead of
     turning brown; a colour that is already dark enough is used as saved */
  --sfp-cta: oklch(from var(--main-color-one, #E8603C) min(l, 0.55) c h);
  --el-cta-hover: oklch(from var(--main-color-one, #E8603C) min(l, 0.47) c h);
  --el-accent-ink: oklch(from var(--main-color-one, #E8603C) min(l, 0.5) c h);
  --el-ink: color-mix(in srgb, var(--heading-color, #333333) 86%, #000);
  --el-text: color-mix(in srgb, var(--heading-color, #333333) 94%, #000);
  --el-muted: color-mix(in srgb, var(--body-color, #666666) 90%, #000);
  --el-peach: color-mix(in srgb, var(--main-color-one, #E8603C) 7%, var(--section-bg-2, #FFF6EE));
  --el-peach-2: color-mix(in srgb, var(--main-color-one, #E8603C) 15%, var(--section-bg-2, #FFF6EE));
  --el-glow: color-mix(in srgb, var(--main-color-one, #E8603C) 22%, transparent);
  --el-line: color-mix(in srgb, var(--heading-color, #333333) 11%, #fff);
  --el-line-strong: color-mix(in srgb, var(--heading-color, #333333) 26%, #fff);
  --el-display: var(--sf-merchant-heading, "Outfit"), "Tajawal", system-ui, sans-serif;
  --el-head: var(--sf-merchant-heading, var(--heading-font, "Rubik")), "Tajawal", system-ui, sans-serif;
  --el-body: var(--sf-merchant-body, var(--body-font, "Roboto")), "Tajawal", system-ui, sans-serif;
  --el-r: 16px;
  --el-r-s: 12px;
  --el-r-l: 22px;
  --el-ease: cubic-bezier(.2, .7, .2, 1);
  --el-shadow: 0 1px 2px color-mix(in srgb, var(--el-ink) 6%, transparent), 0 10px 30px -18px color-mix(in srgb, var(--el-ink) 30%, transparent);
  --el-shadow-hi: 0 2px 4px color-mix(in srgb, var(--el-ink) 6%, transparent), 0 22px 44px -22px color-mix(in srgb, var(--el-ink) 38%, transparent);
  --sfp-font-head: var(--el-display);
  --sfp-font-body: var(--el-body);
  --sfp-logo-h: 42px;
  --sfp-focus: 0 0 0 3px color-mix(in srgb, var(--main-color-one, #E8603C) 42%, transparent);
}

/* ---- announcement: peach strip with a status LED, the store's text unchanged ---- */
.sfp-announce--electro { background: var(--el-peach); color: var(--el-ink); font: 500 13.5px/1.5 var(--el-body); padding-block: 9px; border-block-end: 1px solid var(--el-line); }
.sfp-announce--electro .container { display: flex; align-items: center; justify-content: center; gap: 10px; }
.sfp-ela__led { flex: none; inline-size: 14px; block-size: 14px; position: relative; }
.sfp-ela__led::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--el-arc); -webkit-mask: var(--el-arc-mask); mask: var(--el-arc-mask); }
.sfp-ela__led::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--sfp-accent); }
.sfp-announce--electro a { color: var(--el-accent-ink); }

/* ---- header ---- */
nav.el-navbar.sfp-header--electro { background: color-mix(in srgb, #fff 94%, transparent); color: var(--el-ink); font-family: var(--el-body); border-block-end: 1px solid var(--el-line); padding: 0; }
@supports (backdrop-filter: blur(8px)) { nav.el-navbar.sfp-header--electro.is-scrolled { background: color-mix(in srgb, #fff 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); } }
.sfp-header--electro .sfp-header__bar { min-block-size: 84px; }
.sfp-header--electro .sfp-header__logo img { max-block-size: 44px; }
.sfp-header--electro .sfp-header__nav { justify-content: center; }
.sfp-header--electro .sfp-header__nav .theme-nav-menu { gap: 4px clamp(6px, 1vw, 14px); }
.sfp-header--electro .sfp-header__nav .theme-nav-menu > li > a { font: 600 15px/1 var(--el-head); color: var(--el-ink); padding-inline: 12px; border-radius: 999px;
  transition: background var(--sfp-dur) var(--el-ease), color var(--sfp-dur) var(--el-ease); }
.sfp-header--electro .sfp-header__nav .theme-nav-menu > li > a:hover { background: var(--el-peach); color: var(--el-ink); }
.sfp-header--electro .sfp-header__nav .theme-nav-menu > li.current-menu-item > a { color: var(--el-accent-ink); }
.sfp-header--electro .sfp-header__nav .theme-nav-menu > li.current-menu-item > a::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--sfp-accent); box-shadow: 0 0 0 3px var(--el-glow); }
.sfp-header--electro .sfp-header__nav .sub-menu { background: #fff; border: 1px solid var(--el-line); border-radius: var(--el-r); box-shadow: var(--el-shadow-hi); }
.sfp-header--electro .sfp-header__nav .sub-menu a { border-radius: 10px; font: 500 14px/1.35 var(--el-body); }
.sfp-header--electro .sfp-header__nav .sub-menu a:hover { background: var(--el-peach); color: var(--el-accent-ink); }

/* search: a soft peach capsule with a glyph at the start and a round accent "go" key at the end */
.sfp-header--electro .sfp-header__search { flex-basis: 300px; background: var(--el-peach); border-radius: 999px; box-shadow: inset 0 0 0 1px transparent; color: var(--el-ink);
  transition: background var(--sfp-dur) var(--el-ease), box-shadow var(--sfp-dur) var(--el-ease); padding-inline: 14px 4px; }
.sfp-header--electro .sfp-header__search:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--sfp-accent), 0 0 0 4px var(--el-glow); }
.sfp-els__glyph { color: var(--el-muted); font-size: 16px; }
.sfp-header--electro .sfp-header__search input { font: 400 14px/1.2 var(--el-body); padding-inline: 10px 6px; min-block-size: 46px; box-shadow: none !important; border: 0 !important; background: transparent !important; color: var(--el-ink); }
.sfp-header--electro .sfp-header__search input:focus-visible { box-shadow: none !important; }
.sfp-header--electro .sfp-header__search input::placeholder { color: var(--el-muted); opacity: 1; }
.sfp-header--electro .sfp-header__search button { inline-size: 38px; block-size: 38px; border-radius: 50%; background: var(--sfp-cta); color: #fff; font-size: 15px; transition: background var(--sfp-dur) var(--el-ease); }
.sfp-header--electro .sfp-header__search button:hover { background: var(--el-cta-hover); }
.sfp-header--electro .sfp-header__search button:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sfp-accent) !important; border-radius: 50% !important; }
.sfp-header--electro .el-search-dropdown { background: #fff; color: var(--el-ink); border: 1px solid var(--el-line); border-radius: var(--el-r); box-shadow: var(--el-shadow-hi); }
.sfp-header--electro .el-search-dropdown li a:hover { background: var(--el-peach); }
.sfp-header--electro .el-search-dropdown .product-image { border-radius: 10px; background: var(--el-peach); }
.sfp-header--electro .el-search-dropdown .product-image img { object-fit: contain; }
.sfp-header--electro .el-search-dropdown .flash-price { color: var(--el-accent-ink); font: 700 13px/1.4 var(--el-body); }
.sfp-header--electro .el-search-dropdown .flash-old-prices { color: var(--el-muted); font-size: 12px; text-decoration: line-through; margin-inline-start: 6px; }
.sfp-header--electro .el-search-dropdown .el-search-footer a { justify-content: space-between; font: 700 14px/1.2 var(--el-head); color: var(--el-accent-ink); border-block-start: 1px solid var(--el-line); margin-block-start: 4px; padding-block: 12px; }
.sfp-header--electro .el-search-dropdown .el-search-empty { padding: 16px; font-size: 14px; color: var(--el-muted); text-align: center; }

/* actions: round targets; the power ring sweeps closed on hover / focus */
.sfp-header--electro .sfp-header__actions { gap: 4px; }
.sfp-header--electro .sfp-header__actions > a { color: var(--el-ink); font-size: 21px; border-radius: 50%; --el-sweep: 0deg; transition: --el-sweep .42s var(--el-ease), background var(--sfp-dur) var(--el-ease); }
.sfp-header--electro .sfp-header__actions > a::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--el-arc); -webkit-mask: var(--el-arc-mask); mask: var(--el-arc-mask); pointer-events: none; }
.sfp-header--electro .sfp-header__actions > a:hover, .sfp-header--electro .sfp-header__actions > a:focus-visible { --el-sweep: 300deg; background: var(--el-peach); }
.sfp-header--electro .sfp-header__actions > a:focus-visible { box-shadow: var(--sfp-focus); border-radius: 50%; }
.sfp-header--electro .sfp-header__actions .el-badge { background: var(--sfp-cta); color: #fff; border-radius: 999px; font: 700 11px/18px var(--el-body); box-shadow: 0 0 0 2px #fff;
  inset-block-start: 2px; min-inline-size: 18px; block-size: 18px; padding-inline: 5px; display: inline-flex; align-items: center; justify-content: center; }
[dir="rtl"] .sfp-header--electro .sfp-header__actions .el-badge { right: auto; left: 0; }
[dir="ltr"] .sfp-header--electro .sfp-header__actions .el-badge { left: auto; right: 0; }
.sfp-header--electro .sfp-lang { font: 600 13px/1.2 var(--el-body); color: var(--el-ink); margin-inline: 4px; }
.sfp-header--electro .sfp-lang__opt { min-block-size: 44px; display: inline-flex; align-items: center; padding-inline: 10px; opacity: .78; }
.sfp-header--electro .sfp-lang__opt.is-current { opacity: 1; background: var(--el-peach); }

/* ---- footer: warm ground, brand row with ring social keys, four columns, white copyright strip ---- */
.sfp-footer--electro { background: var(--el-peach); color: var(--el-text); font: 400 15px/1.7 var(--el-body); margin-block-start: clamp(48px, 6vw, 88px); position: relative; overflow: hidden; isolation: isolate; }
.sfp-footer--electro::before { content: ""; position: absolute; z-index: -1; inline-size: 520px; aspect-ratio: 1; inset-block-start: -300px; inset-inline-end: -160px; border-radius: 50%;
  --el-ring-w: 2px; --el-ring-c: color-mix(in srgb, var(--sfp-accent) 45%, transparent); background: var(--el-arc); -webkit-mask: var(--el-arc-mask); mask: var(--el-arc-mask); }
.sfp-elf__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 64px) 28px; border-block-end: 1px solid color-mix(in srgb, var(--el-ink) 10%, transparent); }
.sfp-elf__brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; min-inline-size: 0; }
.sfp-elf__brand .el-footer-logo { max-block-size: 52px; inline-size: auto; max-inline-size: 220px; object-fit: contain; display: block; }
.sfp-elf__brand .el-footer-logo-text { font: 800 26px/1 var(--el-display); color: var(--el-ink); }
.sfp-elf__brand .el-footer-tagline { margin: 0; color: var(--el-muted); max-inline-size: 46ch; font-size: 15px; }
.sfp-elf__social { display: flex; gap: 10px; flex-wrap: wrap; }
.sfp-elf__social .el-footer-social-icon { position: relative; inline-size: 46px; block-size: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--el-ink); font-size: 19px;
  box-shadow: var(--el-shadow); --el-sweep: 0deg; transition: --el-sweep .42s var(--el-ease), color var(--sfp-dur) var(--el-ease); }
.sfp-elf__social .el-footer-social-icon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--el-arc); -webkit-mask: var(--el-arc-mask); mask: var(--el-arc-mask); }
.sfp-elf__social .el-footer-social-icon:hover, .sfp-elf__social .el-footer-social-icon:focus-visible { --el-sweep: 300deg; color: var(--el-accent-ink); }
.sfp-elf__main { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); padding-block: 36px clamp(40px, 5vw, 60px); }
.sfp-elf__col .el-footer-col-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--el-ink); font: 700 17px/1.2 var(--el-display); }
.sfp-elf__col .el-footer-col-title::before { content: ""; flex: none; inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--el-arc); -webkit-mask: var(--el-arc-mask); mask: var(--el-arc-mask); }
.sfp-elf__col .el-footer-links li a { display: inline-flex; align-items: center; min-block-size: 36px; color: var(--el-muted); transition: color var(--sfp-dur) var(--el-ease); }
.sfp-elf__col .el-footer-links li a:hover { color: var(--el-accent-ink); }
.sfp-elf__col .el-footer-contact { display: grid; gap: 10px; }
.sfp-elf__col .el-footer-contact-item { display: flex; align-items: center; gap: 12px; color: var(--el-muted); min-inline-size: 0; }
.sfp-elf__col .el-footer-contact-item > span, .sfp-elf__col .el-footer-contact-item > a { min-inline-size: 0; overflow-wrap: anywhere; color: var(--el-text); }
.sfp-elf__col .el-footer-contact-icon { flex: none; inline-size: 36px; block-size: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--el-accent-ink); font-size: 17px; }
.sfp-elf__news .el-footer-newsletter-text { margin: 0 0 14px; color: var(--el-muted); }
.sfp-elf__news .el-footer-newsletter-row { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 4px; padding-inline-start: 16px; box-shadow: var(--el-shadow); }
.sfp-elf__news .el-footer-newsletter-row:focus-within { box-shadow: 0 0 0 2px var(--sfp-accent), 0 0 0 5px var(--el-glow); }
.sfp-elf__news .el-footer-email-input { flex: 1 1 auto; min-inline-size: 0; min-block-size: 44px; border: 0; outline: 0; background: transparent; font: 400 14px/1.2 var(--el-body); color: var(--el-ink); }
.sfp-elf__news .el-footer-email-input::placeholder { color: var(--el-muted); opacity: 1; }
.sfp-footer--electro .sfp-elf__news .el-footer-email-input:focus-visible { box-shadow: none; }
.sfp-elf__news .el-footer-subscribe-btn { flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 0; background: var(--sfp-cta); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 16px; }
.sfp-elf__news .el-footer-subscribe-btn:hover { background: var(--el-cta-hover); }
.sfp-footer--electro .sfp-elf__news .el-footer-subscribe-btn:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sfp-accent); border-radius: 50%; }
.sfp-footer--electro .newsletter-form .form-message-show { margin-block-start: 8px; font-size: 13.5px; }
.sfp-elf__bottom { background: #fff; border-block-start: 1px solid var(--el-line); }
.sfp-elf__bottom-in { display: flex; align-items: center; gap: 12px; padding-block: 18px; }
.sfp-elf__led { flex: none; inline-size: 14px; block-size: 14px; position: relative; }
.sfp-elf__led::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--el-arc); -webkit-mask: var(--el-arc-mask); mask: var(--el-arc-mask); }
.sfp-elf__led::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--sfp-accent); }
.sfp-elf__bottom .el-footer-copyright { font: 400 13.5px/1.5 var(--el-body); color: var(--el-muted); }
.sfp-elf__bottom .el-footer-copyright a { color: var(--el-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
/* the live theme draws dividers and paints these blocks itself: the Prime composition replaces those rules */
.sfp-footer--electro .el-footer-divider { display: none; }
.sfp-footer--electro :is(.el-footer-top, .el-footer-main, .el-footer-bottom) { margin: 0; }

@media (max-width: 1199.98px) { .sfp-header--electro .sfp-header__search { flex-basis: 210px; } }
@media (max-width: 991.98px) {
  .sfp-elf__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfp-elf__top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575.98px) {
  .sfp-footer--electro::before { inline-size: 260px; inset-block-start: -170px; inset-inline-end: -120px; }
  .sfp-elf__main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sfp-elf__brand { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---- mobile foundation skin (tokens only; the shared layer owns header, drawer, search, bottom bar, purchase bar) ---- */
body.sf-m.sf-m-t-electro {
  --sf-m-header-bg: #fff;
  --sf-m-header-fg: var(--el-ink);
  --sf-m-header-line: var(--el-line);
  --sf-m-header-line-w: 1px;
  --sf-m-color-accent: var(--sfp-accent);
  --sf-m-drawer-bg: #fff;
  --sf-m-drawer-fg: var(--el-ink);
  --sf-m-drawer-line: var(--el-line);
  --sf-m-bar-bg: #fff;
  --sf-m-bar-fg: var(--el-muted);
  --sf-m-bar-line: var(--el-line);
  --sf-m-bar-active: var(--sfp-cta);
  --sf-m-sheet-bg: #fff;
  --sf-m-control-bg: var(--el-peach);
  --sf-m-control-line: transparent;
  --sf-m-radius: 14px;
  --sf-m-font: var(--el-body);
}
[dir="rtl"] .sfp-header--electro *, [dir="rtl"] .sfp-footer--electro * { letter-spacing: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .sfp-header--electro *, .sfp-footer--electro * { transition: none !important; }
  .sfp-header--electro .sfp-header__actions > a, .sfp-elf__social .el-footer-social-icon { transition: none !important; }
}

/* live-theme rules that fix sizes the Prime composition owns */
.sfp-header--electro .sfp-header__search.el-search { inline-size: auto; block-size: auto; gap: 0; }
.sfp-header--electro .el-search-dropdown { inset-block-start: calc(100% + 10px); }
.sfp-footer--electro .el-footer-logo-wrap { flex-direction: row; text-align: start; }
.sfp-footer--electro .el-footer-copyright { text-align: start; padding: 0; }
.sfp-footer--electro .el-footer-social-icon { border: 0; }
.sfp-footer--electro .el-footer-social-icon:hover { background: #fff; }
.sfp-footer--electro .el-footer-col-title { text-transform: none; letter-spacing: 0; }
.sfp-footer--electro .el-footer-links { gap: 2px; }
.sfp-footer--electro .el-footer-links a, .sfp-footer--electro .el-footer-contact-item { font-size: 14.5px; }
.sfp-footer--electro .el-footer-newsletter-row { border: 0; overflow: visible; }
.sfp-footer--electro .el-footer-subscribe-btn { padding: 0; }
.sfp-footer--electro .el-footer-bottom { background: #fff; }
@media (max-width: 768px) { .sfp-footer--electro .el-footer-logo-wrap { align-items: flex-start; } }
