/* Nova: a clean electronics store. White, cool grey and electric blue. Change the colours here. */
:root {
  --bg: #F5F7FB; --paper: #FFFFFF; --ink: #0B1220; --ink2: #3B4558; --mute: #6B7488; --line: #E3E8F1;
  --blue: #1F6BFF; --cyan: #00C2FF; --violet: #7B5CFF; --hot: #FF3D71; --soft: #EEF3FD;
  --grad: linear-gradient(120deg, #1F6BFF, #00C2FF);
  --display: "Plus Jakarta Sans", system-ui, sans-serif; --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --s-bg: var(--bg); --s-paper: var(--paper); --s-ink: var(--ink); --s-mute: var(--mute); --s-line: var(--line); --s-soft: var(--soft);
  --s-accent: var(--blue); --s-accent-ink: #fff; --s-radius: 22px; --s-card: 20px; --s-display: var(--display); --s-body: var(--body);
}
html[dir="rtl"] { --display: "Noto Sans Arabic", "Plus Jakarta Sans", sans-serif; --body: "Noto Sans Arabic", "Plus Jakarta Sans", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); overflow-x: clip; max-width: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }
h2 { margin: 0 0 30px; font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; line-height: 1.05; }
html[dir="rtl"] h2 { line-height: 1.35; font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 14px; border-radius: 999px; background: var(--soft); color: var(--blue); font-weight: 700; font-size: 13px; }
.chip-hot { background: #FFE6EE; color: var(--hot); }
.chip-hot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: blink 1.2s infinite; }
.chip-w { background: rgba(255, 255, 255, .18); color: #fff; }
@keyframes blink { 50% { opacity: .25; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--blue); color: #fff; text-decoration: none; font: 700 15px/1 var(--body); cursor: pointer; box-shadow: 0 14px 30px -14px rgba(31, 107, 255, .8); transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: #1558E0; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-line { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-w { background: #fff; color: var(--blue); box-shadow: none; }
.btn-w:hover { background: #fff; }
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.sec-head h2 { margin: 0; }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ic { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.ic svg, .bag svg, .search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* header */
.bar { background: var(--grad); color: #fff; font-size: 13px; font-weight: 600; }
.bar-in { display: flex; justify-content: center; gap: 46px; align-items: center; height: 34px; }
.top { position: sticky; z-index: 60; top: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search right" "nav nav nav"; align-items: center; gap: 0 24px; padding: 12px max(20px, calc((100% - 1320px) / 2)) 0; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 26px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; text-transform: lowercase; }
.logo i { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff 0 12%, transparent 13%), var(--grad); box-shadow: 0 0 0 4px var(--soft); }
.search { grid-area: search; display: flex; align-items: center; gap: 10px; max-width: 620px; height: 48px; padding: 0 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; color: var(--ink); }
.top-r { grid-area: right; display: flex; align-items: center; gap: 8px; }
.lang { padding: 8px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; font-weight: 600; }
html[dir="rtl"] .lang { font-family: "Plus Jakarta Sans", sans-serif; }
.bag { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; cursor: pointer; }
.bag b { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 6px; border: 2px solid #fff; border-radius: 999px; background: var(--hot); font-size: 11px; line-height: 18px; text-align: center; }
.nav { grid-area: nav; display: flex; gap: 2px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 10px 14px 14px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink2); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav a.hot { color: var(--hot); }
.nav-cats { display: contents; }
.menu-btn { display: none; }

/* hero */
.hero { height: 240vh; position: relative; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 30px; padding: 120px max(20px, calc((100% - 1320px) / 2)) 30px; }
.glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(48% 56% at 70% 55%, rgba(0, 194, 255, .22), transparent 70%), radial-gradient(40% 50% at 78% 40%, rgba(123, 92, 255, .14), transparent 70%); }
.hero h1 { margin: 0; font-size: clamp(46px, 6vw, 92px); font-weight: 800; line-height: 1; }
html[dir="rtl"] .hero h1 { line-height: 1.25; }
.lead { margin: 18px 0 26px; max-width: 28em; color: var(--ink2); font-size: 18px; }
.hero-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-price { margin-inline-end: 8px; font: 800 30px/1 var(--display); direction: ltr; }
.hero-price s { margin-inline-start: 8px; font-size: 17px; font-weight: 500; color: var(--mute); }
.hero-stage { position: relative; aspect-ratio: 1 / 1; max-height: 74vh; justify-self: center; width: 100%; max-width: 74vh; }
.hero-stage > img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(11, 18, 32, .25)); will-change: transform; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lines path { fill: none; stroke: var(--blue); stroke-width: .3; stroke-dasharray: 1 1; vector-effect: non-scaling-stroke; }
.lines circle { fill: var(--blue); }
.callout { position: absolute; z-index: 2; translate: -50% -50%; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .86); box-shadow: 0 14px 30px -16px rgba(11, 18, 32, .35), inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); font-weight: 700; font-size: 14px; white-space: nowrap; }
.callout::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 194, 255, .2); vertical-align: middle; }

/* bento categories */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -30px rgba(31, 107, 255, .45); }
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #EAF2FF, #fff 60%); }
.tile:nth-child(2) { grid-column: span 2; }
.tile b { position: relative; z-index: 2; font: 800 22px/1.2 var(--display); }
.tile:nth-child(1) b { font-size: 34px; }
.tile small { position: relative; z-index: 2; color: var(--mute); font-weight: 600; }
.tile img { filter: drop-shadow(0 18px 20px rgba(11, 18, 32, .18)); position: absolute; inset-inline-end: -4%; bottom: -6%; width: 62%; height: 80%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile:nth-child(1) img { width: 80%; height: 76%; inset-inline-end: 4%; bottom: 4%; }
.tile:hover img { transform: scale(1.07) rotate(-3deg); }

/* product card */
.card-media { aspect-ratio: 1 / 1; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.card-media img { object-fit: contain; padding: 12%; filter: drop-shadow(0 18px 18px rgba(11, 18, 32, .16)); }
.card .card-n { font-weight: 700; }
.card .pr { font-weight: 800; font-size: 18px; }
.card .pr s { font-weight: 500; }
.badge { background: var(--hot); color: #fff; font-weight: 700; }
.card-add { background: var(--blue); border-radius: 12px; }
.rate { display: inline-flex; gap: 6px; align-items: center; color: var(--mute); font-size: 13px; font-weight: 600; }
.rate i { color: #FFB020; font-style: normal; letter-spacing: 1px; }
.claim { display: grid; gap: 6px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--hot); }
.claim i { display: block; height: 6px; border-radius: 9px; background: #FFE6EE; overflow: hidden; }
.claim i b { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #FF7A9C, var(--hot)); }
.ends { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.ends b { padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .04em; direction: ltr; }
.deals { background: linear-gradient(180deg, #fff, var(--bg)); }

/* compare */
.cmp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.cmp-col { padding: 24px; border-radius: 26px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-col select { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.cmp-col .ci { height: 220px; margin: 18px 0; display: grid; place-items: center; border-radius: 18px; background: var(--soft); }
.cmp-col .ci img { max-height: 200px; object-fit: contain; }
.cmp-col h3 { margin: 0 0 4px; font-size: 22px; }
.cmp-col dl { margin: 18px 0; }
.cmp-col dl div { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cmp-col dt { color: var(--mute); font-weight: 600; }
.cmp-col dd { margin: 0; font-weight: 600; }
.cmp-col dd.no { color: #B6BCC8; }
.cmp-col .btn { width: 100%; }

/* banner */
.banner { padding: 20px 0 clamp(60px, 8vw, 100px); }
.ban-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 30px; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: linear-gradient(130deg, #1F6BFF, #4F46E5 60%, #7B5CFF); color: #fff; overflow: hidden; }
.ban-in h2 em { background: none; color: #A5F3FF; -webkit-text-fill-color: #A5F3FF; }
.ban-img { border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .5); }
.ban-img img { width: 100%; will-change: transform; }

/* services */
.srv { padding: 30px 0; border-block: 1px solid var(--line); background: var(--paper); }
.srv-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.srv-in div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center; }
.srv svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--soft); fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.srv span { color: var(--mute); font-size: 14px; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { margin: -6px 0 18px; color: var(--ink2); }

/* footer */
.foot { margin-top: 40px; padding-top: 60px; background: var(--paper); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.foot-brand p { max-width: 26em; color: var(--mute); }
.foot h3 { margin: 0 0 14px; font-size: 16px; }
.foot-grid > div > a, .foot-cats a { display: block; margin-bottom: 8px; color: var(--ink2); text-decoration: none; }
.foot a:hover { color: var(--blue); }
.foot .links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot .links a { display: inline; color: var(--blue); font-weight: 600; }
.foot-end { padding: 18px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot-end p { margin: 0; }

/* inner pages */
.page { padding: 34px 0 80px; }
.page h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.1; margin: 0 0 10px; }
.pd-main { --pd-ar: 1 / 1; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pd-main img { object-fit: contain; padding: 10%; filter: drop-shadow(0 26px 26px rgba(11, 18, 32, .18)); }
.pd-thumbs button { --pd-ar: 1 / 1; background: var(--paper); }
.pd-thumbs img { object-fit: contain; padding: 8%; }
.pd-info h1 { font-size: clamp(30px, 3.4vw, 46px); }
.pd-price b { font-weight: 800; font-size: 32px; }
.pd-vals button.on, .pd-sizes button.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--soft); }
.sc-line img, .co-img img { object-fit: contain; background: var(--paper); padding: 6px; box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 1 / 1; }
.co-sum { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.co-radio:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--soft); }
.co-tick { background: var(--grad); }

.rv { opacity: 0; translate: 0 26px; transition: opacity .6s, translate .6s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; translate: 0 0; }

@media (max-width: 1000px) {
  .top { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo . right" "search search search"; gap: 10px 12px; padding-bottom: 12px; }
  .search { max-width: none; height: 44px; }
  .menu-btn { display: grid; }
  .nav { position: fixed; z-index: 70; inset: 150px 0 auto 0; flex-direction: column; margin: 0; padding: 10px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .3); opacity: 0; translate: 0 -10px; pointer-events: none; transition: opacity .3s, translate .3s; }
  .menu-open .nav { opacity: 1; translate: 0 0; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .hero { height: 200vh; }
  .hero-pin { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 10px; padding-top: 170px; }
  .hero-stage { max-width: min(80vw, 46vh); order: -1; }
  .lead { margin: 10px 0 16px; font-size: 16px; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .tile:nth-child(2) { grid-column: span 1; }
  .cmp { grid-template-columns: minmax(0, 1fr); }
  .ban-in { grid-template-columns: minmax(0, 1fr); }
  .srv-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .bar-in span:not(:first-child) { display: none; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .top { padding-inline: 14px; }
  .logo { font-size: 22px; }
  .hero h1 { font-size: 40px; }
  .hero-price { font-size: 24px; }
  .hero-buy .btn { flex: 1; padding: 0 14px; }
  .callout { font-size: 11px; padding: 7px 9px; }
  .tile { padding: 16px; }
  .tile b { font-size: 17px; }
  .tile:nth-child(1) b { font-size: 24px; }
  .srv-in { grid-template-columns: minmax(0, 1fr); }
  .ends { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; translate: 0 0; } }
