:root {
  --background: #02051a;
  --surface: #05092f;
  --surface-low: #0b1238;
  --primary: #0054c7;
  --primary-bright: #759eff;
  --primary-soft: #578cff;
  --text: #f7f5ff;
  --muted: #959ac6;
  --green: #11d39a;
  --red: #fb515f;
  --page-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body.home-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.home-page a { color: inherit; text-decoration: none; }
.home-page button, .home-page input { font: inherit; }
.sr-only {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; background: #fff; color: #02051a !important; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.home-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Navigation */
.home-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 80px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(3,5,29,.86);
  box-shadow: 0 8px 34px rgba(0,0,0,.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-inner { width: min(100%,var(--page-width)); height: 100%; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nav-leading, .nav-actions, .primary-links { display: flex; align-items: center; }
.home-page .nav-search, .home-page .nav-actions > .icon-button { display: none; }
.nav-leading { min-width: 0; gap: 44px; }
.home-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  direction: ltr;
  color: #fff !important;
}
.logo-mark {
  position: relative;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  isolation: isolate;
  transition: transform .24s ease,filter .24s ease;
}
.logo-mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(77,113,235,.3);
  filter: blur(12px);
}
.logo-mark img { display: block; width: 45px; height: 45px; }
.logo-mark .logo-mark-light { display: none; }
.logo-type { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-type strong {
  display: inline-block;
  font-family: "Plus Jakarta Sans",Inter,sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.065em;
}
.logo-type strong.logo-arabic { font-family: "Noto Kufi Arabic",Tahoma,sans-serif; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.045em; }
.logo-type .logo-white { color: #f7f5ff; }
.logo-type .logo-blue { color: #3f82ff; text-shadow: 0 0 16px rgba(63,130,255,.32); }
[dir="rtl"] .home-logo { direction: rtl; }
[dir="rtl"] .logo-type { align-items: flex-end; }
.home-logo:hover .logo-mark,
.home-logo:focus-visible .logo-mark {
  filter: drop-shadow(0 0 10px rgba(100,142,255,.42));
  transform: translateY(-1px) rotate(-2deg);
}
.home-logo .logo-type strong { transition: color .2s,text-shadow .2s,filter .2s,transform .2s; }
.home-logo:hover .logo-type strong,
.home-logo:focus-visible .logo-type strong { text-shadow: 0 0 13px rgba(117,158,255,.52); filter: brightness(1.12); }
.home-logo:active .logo-type strong { text-shadow: 0 0 9px #fff,0 0 25px rgba(82,139,255,.95),0 0 42px rgba(87,140,255,.62); filter: brightness(1.35); transform: scale(.98); }
.home-logo:focus-visible { border-radius: 12px; outline: 2px solid var(--primary-bright); outline-offset: 5px; }
.primary-links { gap: 28px; color: #aeb2d0; white-space: nowrap; }
.primary-links a, .home-footer nav a { transition: color .2s ease; }
.primary-links a:hover, .primary-links a:focus-visible, .home-footer nav a:hover, .home-footer nav a:focus-visible { color: #fff; }
.primary-links a.active { color: var(--primary-bright); }
.nav-actions { justify-content: flex-end; gap: 10px; }
.home-country {
  position: relative;
  flex: 0 0 auto;
  direction: ltr;
  font-family: Inter,sans-serif;
}
.home-country summary {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s,border-color .2s,background .2s,box-shadow .2s;
}
.home-country summary::-webkit-details-marker { display: none; }
.home-country summary:hover,
.home-country summary:focus-visible,
.home-country[open] summary {
  border-color: rgba(117,158,255,.48);
  background: rgba(117,158,255,.1);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(87,140,255,.08);
}
.country-flag { font-family: "Apple Color Emoji","Segoe UI Emoji",sans-serif; font-size: 17px; line-height: 1; }
.country-chevron {
  width: 7px;
  height: 7px;
  margin: -3px 1px 0 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: .64;
  transform: rotate(45deg);
  transition: transform .18s ease,margin .18s ease;
}
.home-country[open] .country-chevron { margin-top: 3px; transform: rotate(225deg); }
.country-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 9px);
  right: 0;
  width: 172px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(8,12,40,.97);
  box-shadow: 0 16px 44px rgba(0,0,0,.42),0 0 0 1px rgba(87,140,255,.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.country-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 23px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-left: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,40,.97);
  transform: rotate(45deg);
}
[dir="rtl"] .country-menu { right: auto; left: 0; }
[dir="rtl"] .country-menu::before { right: auto; left: 23px; }
.country-menu a {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr 16px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 650;
  transition: color .18s,background .18s;
}
.country-menu a:hover,
.country-menu a:focus-visible { background: rgba(117,158,255,.1); color: #fff; outline: none; }
.country-menu a.active { background: rgba(87,140,255,.14); color: #fff; }
.country-check { color: var(--green); font-size: 13px; font-weight: 800; opacity: 0; }
.country-menu a.active .country-check { opacity: 1; }
.home-language { height: 34px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.045); direction: ltr; }
.home-language a { min-width: 35px; height: 26px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border-radius: 999px; color: rgba(255,255,255,.58); font-family: Inter,sans-serif; font-size: 11px; font-weight: 700; line-height: 1; transition: color .2s,background .2s,box-shadow .2s; }
.home-language a:hover, .home-language a:focus-visible { color: #fff; outline: none; }
.home-language a.active { background: var(--primary-bright); color: #02051a; box-shadow: 0 0 12px rgba(117,158,255,.25); }
.theme-toggle {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background: rgba(255,255,255,.045);
  color: var(--primary-bright);
  cursor: pointer;
  transition: color .2s,border-color .2s,background .2s,transform .2s,box-shadow .2s;
}
.theme-toggle:hover,.theme-toggle:focus-visible { border-color: rgba(117,158,255,.5); background: rgba(117,158,255,.1); color: #fff; outline: none; transform: translateY(-1px); box-shadow: 0 0 0 3px rgba(87,140,255,.08); }
.theme-toggle svg { grid-area: 1/1; width: 17px; height: 17px; transition: opacity .2s,transform .25s; }
.theme-toggle .theme-moon { opacity: 0; transform: rotate(-20deg) scale(.7); }
html[data-theme="light"] .theme-toggle .theme-sun { opacity: 0; transform: rotate(35deg) scale(.7); }
html[data-theme="light"] .theme-toggle .theme-moon { opacity: 1; transform: rotate(0) scale(1); }
.nav-search { width: 322px; height: 48px; margin-right: 6px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.045); transition: border-color .2s,box-shadow .2s; }
[dir="rtl"] .nav-search { margin-right: 0; margin-left: 6px; }
.nav-search:focus-within { border-color: rgba(117,158,255,.8); box-shadow: 0 0 0 3px rgba(87,140,255,.12); }
.nav-search svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted); }
.nav-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #fff; }
.nav-search input::placeholder { color: #b0b4d0; opacity: 1; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--primary-bright); cursor: pointer; transition: color .2s,background .2s; }
.icon-button:hover, .icon-button:focus-visible { color: #fff; background: rgba(255,255,255,.06); outline: none; }
.icon-button svg { width: 21px; height: 21px; }

/* Hero */
.home-hero { position: relative; min-height: 700px; display: grid; place-items: center; overflow: hidden; padding: 68px 24px 76px; background: linear-gradient(132deg,#02051a 0%,#0a1236 49%,#1b0f30 100%); isolation: isolate; }
.hero-grid { position: absolute; z-index: -4; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px); background-size: 24px 24px; }
.hero-orb { position: absolute; z-index: -3; border-radius: 50%; pointer-events: none; filter: blur(120px); }
.hero-orb-blue { top: -70px; left: 9%; width: 520px; height: 520px; background: rgba(0,84,199,.2); }
.hero-orb-purple { right: 8%; bottom: -210px; width: 620px; height: 620px; background: rgba(139,59,142,.13); }
.particle-field { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom,#000 0,rgba(0,0,0,.9) 25%,rgba(0,0,0,.25) 78%,transparent 100%); mask-image: linear-gradient(to bottom,#000 0,rgba(0,0,0,.9) 25%,rgba(0,0,0,.25) 78%,transparent 100%); }
.falling-icon { --start-y: -72px; position: absolute; top: 0; width: var(--size); height: var(--size); color: rgba(135,166,231,var(--opacity)); filter: blur(var(--blur)); will-change: transform; animation: icon-fall var(--duration) linear infinite; animation-delay: var(--delay); }
@keyframes icon-fall { from { transform: translate3d(0,var(--start-y),0) rotate(var(--rotation)); } to { transform: translate3d(var(--drift),760px,0) rotate(calc(var(--rotation) + 310deg)); } }
.hero-content { position: relative; z-index: 2; width: min(100%,770px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-content h1 { margin: 0 0 14px; color: #fff; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: clamp(42px,5vw,54px); font-weight: 700; line-height: 1.05; letter-spacing: -.055em; text-shadow: 0 4px 22px rgba(0,0,0,.4); }
.hero-content h1 span { color: var(--primary-bright); text-shadow: 0 0 20px rgba(117,158,255,.25); }
.hero-content > p { max-width: 680px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-search { position: relative; width: 100%; height: 68px; margin-top: 70px; margin-bottom: 0; display: flex; align-items: center; padding: 7px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.035); box-shadow: 0 0 45px -12px rgba(87,140,255,.35),0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: margin-bottom .22s ease,border-color .2s,box-shadow .2s; }
.home-page .hero-search.suggestions-open { margin-bottom: var(--suggestions-space,0); }
.hero-search:focus-within { border-color: rgba(117,158,255,.72); box-shadow: 0 0 48px -10px rgba(87,140,255,.5),0 0 0 3px rgba(87,140,255,.11); }
.hero-search > svg { width: 26px; height: 26px; margin: 0 16px; flex: 0 0 auto; color: #93a2c7; }
.hero-search input { width: 100%; min-width: 0; padding: 0 16px 0 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 17px; }
[dir="rtl"] .hero-search input { padding: 0 0 0 16px; }
.hero-search input::placeholder { color: #8491b7; opacity: 1; }
.hero-search button { height: 54px; padding: 0 31px; border: 0; border-radius: 9px; background: var(--primary); color: #fff; box-shadow: 0 0 24px rgba(0,84,199,.38); font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s,transform .2s,box-shadow .2s; }
.hero-search button:hover, .hero-search button:focus-visible { background: var(--primary-soft); box-shadow: 0 0 30px rgba(87,140,255,.42); outline: none; transform: translateY(-1px); }
.search-suggestions { position: absolute; z-index: 50; top: calc(100% + 10px); inset-inline: 0; max-height: min(430px,60vh); overflow: auto; padding: 7px; border: 1px solid rgba(132,160,231,.2); border-radius: 14px; background: rgba(7,12,32,.98); box-shadow: 0 24px 70px rgba(0,0,0,.48),0 0 35px rgba(59,105,221,.1); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); text-align: start; }
.search-suggestions[hidden] { display: none !important; }
.search-suggestion-option { min-height: 72px; display: grid; grid-template-columns: 56px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 8px; border: 1px solid transparent; border-radius: 10px; color: #fff; transition: border-color .16s,background .16s,transform .16s; }
.search-suggestion-option:hover,.search-suggestion-option:focus-visible,.search-suggestion-option.is-active { border-color: rgba(117,158,255,.26); background: rgba(77,116,218,.13); outline: none; transform: translateY(-1px); }
.search-suggestion-image { width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: linear-gradient(145deg,#17203f,#0b1027); color: #9ab4ef; font-size: 20px; font-weight: 800; }
.search-suggestion-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.search-suggestion-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.search-suggestion-copy strong { overflow: hidden; color: #f7f8ff; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-copy small { overflow: hidden; color: #8793b1; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-price { color: #73e0ba; font-size: 12px; white-space: nowrap; }
.search-suggestions-empty { margin: 0; padding: 18px 14px; color: #8994b0; font-size: 13px; text-align: center; }
.hero-stats { width: min(100%,650px); min-height: 96px; margin-top: 68px; display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; align-items: center; padding: 18px 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: 0 7px 28px rgba(0,0,0,.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.stat { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat strong { height: 39px; color: #fff; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 29px; line-height: 39px; letter-spacing: -.04em; }
.stat span { margin-top: 3px; color: var(--primary-bright); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .115em; text-transform: uppercase; white-space: nowrap; }
.stat-divider { width: 1px; height: 54px; background: rgba(255,255,255,.1); }

/* Trending */
.trending-section, .categories-section { padding: 72px 32px; }
.trending-section { width: min(100%,var(--page-width)); margin: 0 auto; }
.section-heading h2 { margin: 0; color: #fff; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 23px; line-height: 1.3; letter-spacing: -.025em; }
.section-heading p { margin: 7px 0 0; color: var(--muted); }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.view-all { display: flex; align-items: center; gap: 5px; color: var(--primary-bright) !important; font-size: 13px; font-weight: 700; letter-spacing: .025em; transition: color .2s; }
.view-all:hover, .view-all:focus-visible { color: #fff !important; }
.view-all svg { width: 17px; height: 17px; }
[dir="rtl"] .view-all svg { transform: scaleX(-1); }
.trend-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.trend-card { position: relative; min-height: 196px; display: grid; grid-template-columns: 132px minmax(0,1fr); align-items: center; gap: 18px; padding: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: 0 4px 30px rgba(0,0,0,.1); transition: border-color .25s,box-shadow .25s,transform .25s; }
.trend-card-featured { border-color: rgba(87,140,255,.42); }
.trend-card:hover, .trend-card:focus-visible { border-color: rgba(117,158,255,.65); box-shadow: 0 0 32px rgba(87,140,255,.14); outline: none; transform: translateY(-3px); }
.product-picture { width: 132px; height: 150px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: linear-gradient(145deg,#171f3d,#0b1027); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.product-picture img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-picture-empty svg { width: 48px; height: 48px; color: rgba(143,164,220,.55); }
.trend-copy { min-width: 0; padding-top: 22px; }
.product-category { display: block; margin-bottom: 4px; color: var(--primary-bright); font-size: 12px; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.trend-copy h3 { margin: 0 0 8px; color: #fff; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 17px; line-height: 1.34; letter-spacing: -.035em; transition: color .2s; }
.trend-card:hover h3, .trend-card:focus-visible h3 { color: var(--primary-bright); }
.price-row { min-height: 28px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.price-row strong { color: #fff; font-size: 20px; line-height: 1; }
.price-row span, .price-row del, .best-store > span { color: var(--muted); font-size: 14px; }
.best-store { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.best-store b { display: flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; background: rgba(255,255,255,.045); color: #fff; font-size: 12px; line-height: 1; }
.best-store svg { width: 13px; height: 13px; color: var(--green); }
.trend-badge { position: absolute; z-index: 2; top: 20px; right: 20px; display: flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; }
[dir="rtl"] .trend-badge { right: auto; left: 20px; }
.trend-badge svg { width: 13px; height: 13px; }
.badge-drop { border-color: rgba(16,185,129,.27); background: rgba(16,185,129,.08); color: var(--green); }
.badge-demand { border-color: rgba(251,81,81,.28); background: rgba(179,27,37,.2); color: var(--red); }
.badge-live { border-color: rgba(93,143,255,.3); background: rgba(93,143,255,.1); color: var(--primary-bright); }
.badge-popular { gap: 6px; padding: 5px 10px 5px 7px; border-color: rgba(255,153,94,.22); border-radius: 9px; background: linear-gradient(115deg,#34202b,#201b2c); color: #ffdac1; font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255,210,172,.06); }
.popular-flame-emoji { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 20px; font-weight: 400; line-height: 1; }
[dir="rtl"] .badge-popular { padding-inline: 7px 10px; }
html[data-theme="light"] .badge-popular { border-color: #f0d3c2; background: linear-gradient(115deg,#fff0e4,#fff7f0); color: #934322; box-shadow: none; }
.trend-empty { grid-column: 1 / -1; min-height: 170px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 30px; border: 1px dashed rgba(117,158,255,.26); border-radius: 14px; background: rgba(93,143,255,.045); }
.trend-empty > svg { width: 38px; height: 38px; color: var(--primary-bright); }
.trend-empty h3 { margin: 0 0 5px; color: #fff; font-size: 18px; }
.trend-empty p { margin: 0; color: var(--muted); }
.trend-empty a { padding: 10px 15px; border: 1px solid rgba(117,158,255,.3); border-radius: 8px; color: var(--primary-bright); font-size: 13px; font-weight: 700; }

/* Categories and footer */
.categories-section { border-top: 1px solid rgba(255,255,255,.055); border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(11,18,56,.36); }
.categories-section > * { width: min(100%,calc(var(--page-width) - 64px)); margin-left: auto; margin-right: auto; }
.centered-heading { margin-bottom: 42px; text-align: center; }
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.category-card { position: relative; height: 188px; display: flex; align-items: flex-end; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: #0b1228; color: #fff; box-shadow: 0 14px 35px rgba(0,0,0,.15); isolation: isolate; transition: border-color .22s,box-shadow .22s,transform .22s; }
.category-card-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .56; filter: saturate(.76) contrast(1.08); transition: opacity .35s ease,filter .35s ease,transform .45s ease; }
.category-card-image-light { display: none; }
.category-card-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(2,6,25,.04) 8%,rgba(3,7,27,.42) 50%,rgba(3,6,23,.96) 100%),linear-gradient(90deg,rgba(19,55,136,.2),transparent 60%); }
.category-card-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 22px; text-align: start; }
.category-card-copy small { color: #8eb1ff; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.category-card-copy strong { color: #fff; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 16px; font-weight: 700; line-height: 1.3; }
.category-card:hover, .category-card:focus-visible { border-color: var(--primary-bright); box-shadow: 0 0 24px rgba(87,140,255,.18); outline: none; transform: translateY(-3px); }
.category-card:hover .category-card-image, .category-card:focus-visible .category-card-image { opacity: .76; filter: saturate(.96) contrast(1.08); transform: scale(1.06); }
.home-footer { width: 100%; max-width:none; min-height: 108px; margin: 0 auto; display: grid; grid-template-columns: 165px 1fr auto; align-items: center; gap: 24px; padding: 32px max(32px,calc((100% - var(--page-width))/2 + 32px)); background: var(--surface); color: #aeb2ce; }
.home-footer nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 25px; }
.home-footer p { margin: 0; font-size: 13px; white-space: nowrap; }

/* Search by photo */
.hero-search .photo-search-button { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; margin-inline-end: 8px; padding: 0; border: 1px solid rgba(122,154,235,.2); border-radius: 10px; background: rgba(75,113,214,.12); color: #a9bfff; box-shadow: none; }
.hero-search .photo-search-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-search .photo-search-button:hover,.hero-search .photo-search-button:focus-visible { border-color: rgba(129,164,255,.66); background: rgba(81,123,236,.24); color: #fff; box-shadow: 0 0 22px rgba(76,128,255,.2); }
body.visual-search-open { overflow: hidden; }
.visual-search-modal { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.visual-search-modal [hidden] { display: none !important; }
.visual-search-modal.is-visible { opacity: 1; pointer-events: auto; }
.visual-search-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(1,4,17,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: default; }
.visual-search-dialog { position: relative; width: min(920px,100%); max-height: min(820px,calc(100vh - 48px)); overflow: auto; border: 1px solid rgba(131,159,231,.25); border-radius: 24px; background: linear-gradient(145deg,rgba(14,22,52,.98),rgba(6,11,31,.99)); box-shadow: 0 35px 110px rgba(0,0,0,.6),0 0 60px rgba(43,92,211,.13); color: #fff; transform: translateY(18px) scale(.98); transition: transform .22s ease; }
.visual-search-modal.is-visible .visual-search-dialog { transform: translateY(0) scale(1); }
.visual-search-header { display: grid; grid-template-columns: 58px 1fr 42px; gap: 18px; align-items: start; padding: 27px 30px 24px; border-bottom: 1px solid rgba(139,164,225,.13); }
.visual-search-mark { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(111,151,255,.35); border-radius: 17px; background: linear-gradient(145deg,rgba(54,103,226,.25),rgba(88,70,194,.2)); color: #83a9ff; box-shadow: inset 0 0 20px rgba(66,116,245,.08),0 0 25px rgba(55,107,230,.12); }
.visual-search-mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.visual-search-kicker { display: block; margin: 2px 0 6px; color: #75a2ff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.visual-search-header h2 { margin: 0; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 27px; letter-spacing: -.035em; }
.visual-search-header p { max-width: 680px; margin: 7px 0 0; color: #97a2c1; font-size: 13px; line-height: 1.55; }
.visual-search-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(139,164,225,.16); border-radius: 11px; background: rgba(255,255,255,.035); color: #9ba7c8; cursor: pointer; }
.visual-search-close:hover,.visual-search-close:focus-visible { border-color: rgba(122,156,245,.55); color: #fff; outline: none; }
.visual-search-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.visual-upload-view,.visual-preview-view,.visual-results-view { padding: 28px 30px 20px; }
.visual-drop-zone { min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px; border: 1px dashed rgba(126,157,237,.38); border-radius: 19px; background: radial-gradient(circle at 50% 15%,rgba(57,102,219,.16),transparent 48%),rgba(255,255,255,.018); text-align: center; cursor: pointer; transition: border-color .2s,background .2s,box-shadow .2s; }
.visual-drop-zone:hover,.visual-drop-zone:focus-visible,.visual-drop-zone.is-dragging { border-color: #6593ff; background: radial-gradient(circle at 50% 15%,rgba(57,102,219,.24),transparent 50%),rgba(48,87,184,.06); box-shadow: inset 0 0 0 3px rgba(84,135,255,.07),0 0 35px rgba(46,93,211,.1); outline: none; }
.visual-upload-icon { width: 82px; height: 82px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 24px; background: linear-gradient(145deg,#183982,#412c88); color: #d7e2ff; box-shadow: 0 18px 40px rgba(14,40,112,.32),inset 0 0 0 1px rgba(255,255,255,.1); }
.visual-upload-icon svg { width: 41px; height: 41px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.visual-drop-zone > strong { font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 21px; }
.visual-drop-zone > span:not(.visual-upload-icon) { margin-top: 8px; color: #8f9ab9; font-size: 13px; }
.visual-drop-zone > small { margin-top: 17px; color: #6f7b9c; font-size: 11px; }
.visual-upload-actions { display: flex; gap: 11px; margin-top: 25px; }
.visual-upload-actions button,.visual-result-actions button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid #2f73e8; border-radius: 10px; background: linear-gradient(135deg,#176fe6,#1358c2); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 25px rgba(24,93,210,.22); }
.visual-upload-actions button.secondary { border-color: rgba(137,162,227,.26); background: rgba(255,255,255,.04); color: #bbc5df; box-shadow: none; }
.visual-upload-actions button:hover,.visual-upload-actions button:focus-visible,.visual-result-actions button:hover,.visual-result-actions button:focus-visible { border-color: #8eb0ff; outline: none; transform: translateY(-1px); }
.visual-upload-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visual-preview-view { min-height: 390px; display: grid; grid-template-columns: minmax(280px,.9fr) minmax(280px,1.1fr); gap: 30px; align-items: center; }
.visual-preview-frame { position: relative; height: 320px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(135,160,226,.2); border-radius: 18px; background: #060b20; }
.visual-preview-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(65,121,255,.06) 1px,transparent 1px),linear-gradient(rgba(65,121,255,.06) 1px,transparent 1px); background-size: 32px 32px; pointer-events: none; }
.visual-preview-frame img { width: 100%; height: 100%; object-fit: contain; }
.visual-scan-line { position: absolute; z-index: 2; left: 8%; right: 8%; height: 2px; top: 15%; background: linear-gradient(90deg,transparent,#6ba0ff,transparent); box-shadow: 0 0 16px #4586ff; animation: visual-scan 2.1s ease-in-out infinite alternate; }
@keyframes visual-scan { to { top: 85%; } }
.visual-preview-copy h3 { margin: 18px 0 8px; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 25px; }
.visual-preview-copy p { margin: 0; color: #939fbe; line-height: 1.6; }
.visual-progress-icon { display: flex; gap: 7px; }
.visual-progress-icon i { width: 10px; height: 10px; border-radius: 50%; background: #5b8fff; box-shadow: 0 0 12px #4f83ff; animation: visual-pulse 1.2s ease-in-out infinite; }
.visual-progress-icon i:nth-child(2) { animation-delay: .18s; }.visual-progress-icon i:nth-child(3) { animation-delay: .36s; }
@keyframes visual-pulse { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.visual-identification { margin-bottom: 22px; padding: 18px 20px; border: 1px solid rgba(118,152,238,.2); border-radius: 15px; background: rgba(56,90,177,.08); }
.visual-identification-kicker { color: #74a0ff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.visual-identification-kicker.is-error { color: #ff7e8d; }
.visual-identification h3 { margin: 7px 0 0; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 22px; }
.visual-identification p { margin: 7px 0 0; color: #9aa5c1; font-size: 13px; line-height: 1.55; }
.visual-match-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.visual-match-card { min-width: 0; display: flex; flex-direction: column; padding: 12px; border: 1px solid rgba(126,154,226,.17); border-radius: 15px; background: rgba(255,255,255,.025); color: #fff; transition: border-color .2s,box-shadow .2s,transform .2s; }
.visual-match-card:first-child { border-color: rgba(90,139,255,.5); box-shadow: 0 0 25px rgba(63,112,229,.1); }
.visual-match-card:hover,.visual-match-card:focus-visible { border-color: #6897ff; box-shadow: 0 16px 35px rgba(22,53,133,.22); outline: none; transform: translateY(-3px); }
.visual-match-image { position: relative; height: 160px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: #eef1f5; color: #7c88a4; }
.visual-match-image img { width: 100%; height: 100%; object-fit: contain; }
.visual-match-badge { position: absolute; top: 9px; left: 9px; padding: 5px 7px; border-radius: 999px; background: #155fce; color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
[dir="rtl"] .visual-match-badge { left: auto; right: 9px; }
.visual-match-copy { min-height: 195px; display: flex; flex-direction: column; padding: 15px 4px 3px; }
.visual-match-meta { color: #729dff; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.visual-match-name { margin-top: 7px; font-family: "Plus Jakarta Sans",Inter,sans-serif; font-size: 15px; line-height: 1.4; }
.visual-match-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 13px; }
.visual-match-price b { font-size: 15px; }.visual-match-price small { color: #8c98b7; font-size: 9px; }
.visual-confidence { margin-top: 12px; }
.visual-confidence i { height: 4px; display: block; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.visual-confidence i::after { content: ""; display: block; width: var(--confidence); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#356fe0,#69a4ff); }
.visual-confidence small { display: block; margin-top: 5px; color: #7985a5; font-size: 8px; text-transform: uppercase; }
.visual-match-action { margin-top: auto; padding-top: 14px; color: #7ea8ff; font-size: 11px; font-weight: 800; }
.visual-camera-view { padding: 20px 30px; text-align: center; }
.visual-camera-view[hidden] { display: none; }
.visual-camera-view video { display: block; width: 100%; max-height: 48vh; object-fit: contain; border-radius: 14px; background: #080d19; }
.visual-camera-view p { margin-top: 14px; color: #aab6d1; line-height: 1.5; }
.visual-camera-view button:disabled { opacity: .5; cursor: wait; }
.visual-camera-view button { min-height: 48px; touch-action: manipulation; }
@media (max-width: 600px) { .visual-camera-view { padding: 16px; } .visual-camera-view .visual-result-actions button { flex: 1 1 130px; } }
.visual-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.visual-privacy-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0 30px 24px; color: #73809f; font-size: 10px; line-height: 1.5; text-align: center; }
.visual-privacy-note svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: #6e91df; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .visual-search-header,[dir="rtl"] .visual-identification,[dir="rtl"] .visual-match-copy { text-align: right; }

@media (max-width:760px) {
  .visual-search-modal { padding: 12px; }
  .visual-search-dialog { max-height: calc(100vh - 24px); border-radius: 19px; }
  .visual-search-header { grid-template-columns: 46px 1fr 38px; gap: 12px; padding: 20px; }
  .visual-search-mark { width: 46px; height: 46px; border-radius: 14px; }.visual-search-mark svg { width: 25px; height: 25px; }
  .visual-search-header h2 { font-size: 21px; }.visual-search-header p { font-size: 11px; }
  .visual-upload-view,.visual-preview-view,.visual-results-view { padding: 20px; }
  .visual-drop-zone { min-height: 330px; padding: 25px 17px; }
  .visual-preview-view { grid-template-columns: 1fr; }.visual-preview-frame { height: 260px; }
  .visual-preview-copy { text-align: center; }.visual-progress-icon { justify-content: center; }
  .visual-match-grid { grid-template-columns: 1fr; }
  .visual-match-card { display: grid; grid-template-columns: 130px minmax(0,1fr); gap: 12px; }
  .visual-match-image { height: 150px; }.visual-match-copy { min-height: 150px; padding: 5px 2px; }
}
@media (max-width:480px) {
  .visual-search-header { grid-template-columns: 1fr 38px; }.visual-search-mark { display: none; }
  .visual-search-header p { display: none; }
  .visual-upload-actions { width: 100%; flex-direction: column; }.visual-upload-actions button { width: 100%; }
  .visual-match-card { grid-template-columns: 105px minmax(0,1fr); }.visual-match-image { height: 130px; }
  .visual-privacy-note { padding-inline: 18px; }
}

@media (max-width:1060px) {
  .primary-links { gap: 18px; }
  .nav-leading { gap: 28px; }
  .nav-search { display: none; }
  .trend-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trend-card { grid-template-columns: 132px minmax(0,1fr); gap: 20px; }
  .product-picture { width: 132px; height: 150px; }
  .trend-copy h3 { font-size: 18px; }
  .home-footer { grid-template-columns: 165px 1fr; }
  .home-footer p { grid-column: 1/-1; text-align: center; }
}
@media (max-width:1180px) and (min-width:861px) {
  .nav-leading { gap: 22px; }
  .primary-links { gap: 16px; }
  .nav-search { width: 240px; }
}
@media (max-width:860px) {
  .home-nav { height: 68px; }
  .nav-inner { padding: 0 20px; }
  .primary-links, .nav-search { display: none; }
  .home-hero { min-height: 650px; padding-top: 64px; }
  .hero-search { margin-top: 52px; }
  .trend-grid { grid-template-columns: 1fr; }
  .trend-card { grid-template-columns: 176px minmax(0,1fr); }
  .product-picture { width: 176px; height: 166px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trend-empty { grid-template-columns: auto 1fr; }
  .trend-empty a { grid-column: 1 / -1; text-align: center; }
  .home-footer { display: flex; flex-direction: column; justify-content: center; padding: 36px 24px; }
}
@media (max-width:600px) {
  .nav-actions { gap: 7px; }
  .nav-actions .icon-button { display: none; }
  .logo-mark, .logo-mark img { width: 40px; height: 40px; }
  .logo-type strong { font-size: 18px; }
  .home-hero { min-height: 620px; padding: 50px 16px 55px; }
  .hero-content h1 { font-size: 40px; }
  .hero-content > p { font-size: 15px; }
  .hero-search { height: 62px; margin-top: 42px; }
  .hero-search > svg { width: 22px; height: 22px; margin: 0 10px; }
  .hero-search input { font-size: 14px; }
  .hero-search button { height: 48px; padding: 0 17px; font-size: 11px; }
  .search-suggestion-option { min-height: 64px; grid-template-columns: 48px minmax(0,1fr); gap: 10px; }
  .search-suggestion-image { width: 48px; height: 48px; }
  .search-suggestion-price { grid-column: 2; margin-top: -2px; }
  .hero-stats { min-height: 84px; margin-top: 50px; padding: 14px 8px; }
  .stat strong { height: 30px; font-size: 22px; line-height: 30px; }
  .stat span { font-size: 8px; letter-spacing: .08em; }
  .stat-divider { height: 45px; }
  .trending-section, .categories-section { padding: 56px 18px; }
  .split-heading { align-items: flex-start; margin-bottom: 30px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading p { font-size: 14px; }
  .view-all span { display: none; }
  .view-all svg { width: 24px; height: 24px; }
  .trend-card { grid-template-columns: 116px minmax(0,1fr); gap: 16px; min-height: 170px; padding: 14px; }
  .product-picture { width: 116px; height: 140px; }
  .trend-copy { padding-top: 24px; }
  .trend-copy h3 { margin-bottom: 5px; font-size: 15px; }
  .product-category, .trend-badge { font-size: 9px; }
  .trend-badge { top: 12px; right: 12px; }
  [dir="rtl"] .trend-badge { right: auto; left: 12px; }
  .price-row { margin-bottom: 10px; }
  .price-row strong { font-size: 17px; }
  .price-row span, .price-row del, .best-store > span { font-size: 11px; }
  .best-store { gap: 6px; }
  .best-store b { padding: 4px 6px; font-size: 10px; }
  .category-grid { gap: 12px; }
  .category-card { height: 150px; }
  .category-card-copy { padding: 17px; }
  .home-footer nav { gap: 15px 20px; font-size: 13px; }
  .home-footer p { white-space: normal; text-align: center; }
}
@media (max-width:480px) {
  .nav-inner { padding: 0 14px; }
  .logo-type { display: none; }
  .home-country summary { padding: 0 8px; }
}
@media (max-width:400px) {
  .trend-card { grid-template-columns: 1fr; }
  .product-picture { width: 100%; height: 170px; }
  .trend-copy { padding-top: 0; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .falling-icon { animation-play-state: paused; }
  .trend-card, .category-card, .hero-search button { transition: none; }
}

/* Keep the category destination readable and easy to tap on small screens. */
.categories-heading .view-all { min-height: 44px; flex-shrink: 0; }
@media (max-width: 600px) {
  .categories-heading { flex-direction: column; gap: 12px; }
  .categories-heading .view-all span { display: inline; }
}


/* A compact, responsive guide shared by both markets. */
.comparison-guide {
  background: radial-gradient(ellipse at 10% 0, rgba(87,140,255,.09), transparent 65%), var(--background);
}
.guide-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.guide-eyebrow { display:block; margin-bottom:12px; color:var(--primary-bright); font-size:11px; font-weight:750; letter-spacing:.13em; text-transform:uppercase; }
.guide-heading h2 { margin:0; color:var(--text); font-size:clamp(23px,2.4vw,32px); line-height:1.3; letter-spacing:-.035em; }
.guide-heading p { margin:12px 0 0; color:var(--muted); font-size:15px; line-height:1.7; }
.home-page .guide-faq { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:12px; min-height:46px; padding:11px 16px; border:1px solid rgba(117,158,255,.25); border-radius:12px; color:var(--primary-bright); font-size:13px; font-weight:650; background:rgba(117,158,255,.06); }
.guide-faq svg { width:18px; height:18px; flex-shrink:0; }
.guide-faq:hover { background:rgba(117,158,255,.14); }
.guide-faq:focus-visible { outline:2px solid var(--primary-bright); outline-offset:4px; }
[dir="rtl"] .guide-faq svg { transform:rotate(180deg); }
.comparison-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:32px; }
.guide-step { min-width:0; padding:28px; border:1px solid rgba(117,158,255,.16); border-radius:20px; background:linear-gradient(145deg,rgba(117,158,255,.07),transparent 75%),var(--surface); }
.guide-step-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.guide-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; color:var(--primary-bright); background:rgba(117,158,255,.10); border:1px solid rgba(117,158,255,.15); }
.guide-icon svg { width:25px; height:25px; }
.guide-number { color:var(--primary-bright); opacity:.55; font-size:28px; font-weight:650; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
.comparison-guide h3 { margin:0 0 12px; font-size:18px; color:var(--text); line-height:1.4; letter-spacing:-.02em; }
.guide-step p { margin:0; color:var(--muted); font-size:14px; line-height:1.8; }
@media(max-width:900px) {
  .guide-heading { align-items:flex-start; flex-direction:column; gap:20px; }
  .guide-step { padding:22px; }
}
@media(max-width:720px) {
  .comparison-guide-grid { grid-template-columns:1fr; gap:14px; margin-top:26px; }
  .guide-step-top { margin-bottom:18px; }
  .guide-heading h2 { max-width:24ch; }
  .guide-eyebrow { font-size:10px; letter-spacing:.1em; }
}
