/* UA Electronics policy & information pages — design-only layer.
   Loaded only by the eight policy/information pages. No workflow or API rules. */
:root {
  --policy-ink: #0b1933;
  --policy-muted: #596b87;
  --policy-blue: #0878f9;
  --policy-line: rgba(160, 184, 215, .34);
  --policy-glass: rgba(255, 255, 255, .76);
  --policy-glass-strong: rgba(255, 255, 255, .91);
  --policy-shadow: 0 14px 40px rgba(26, 51, 88, .075), inset 0 1px 0 rgba(255,255,255,.92);
}

html { scroll-behavior: smooth; }
body.legal-page {
  min-height: 100vh;
  color: var(--policy-ink);
  background:
    radial-gradient(ellipse at 18% 24%, rgba(219, 235, 255, .45), transparent 42%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fd 48%, #f8fbff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  overflow-x: clip;
}

/* Shared light-mode header */
.legal-page .site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 64px;
  margin: 0;
  padding: 8px clamp(18px, 4vw, 66px);
  gap: clamp(13px, 2vw, 30px);
  border: 0;
  border-bottom: 1px solid rgba(162, 184, 214, .33);
  border-radius: 0;
  background: rgba(250, 252, 255, .86) !important;
  box-shadow: 0 8px 26px rgba(16, 37, 70, .065) !important;
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  transition: background .25s ease, box-shadow .25s ease;
}
.legal-page .site-header.is-scrolled { background: rgba(250,252,255,.96) !important; }
.legal-page .brand-wordmark { flex: 0 0 auto; gap: 0; text-decoration: none; white-space: nowrap; }
.legal-page .brand-wordmark .brand-ua {
  color: #0b1933 !important;
  font-size: clamp(25px, 2.15vw, 34px);
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: 1;
  width: auto;
  height: auto;
  margin-right: 5px;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
}
.legal-page .brand-wordmark .brand-electronics {
  color: #14213a !important;
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 790;
  letter-spacing: -.045em;
}
.legal-page .main-nav { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.45vw, 24px); white-space: nowrap; }
.legal-page .main-nav a {
  position: relative;
  padding: 11px 0;
  color: #263650 !important;
  font-size: clamp(10px, .84vw, 13px) !important;
  font-weight: 630 !important;
  text-decoration: none;
  transition: color .2s ease;
}
.legal-page .main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, #0878f9, #8cc7ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.legal-page .main-nav a:hover,
.legal-page .main-nav a.is-current { color: var(--policy-blue) !important; }
.legal-page .main-nav a:hover::after,
.legal-page .main-nav a.is-current::after { transform: scaleX(1); }
.legal-page .header-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.legal-page .header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: clamp(180px, 22vw, 340px);
  min-width: 150px;
  height: 40px;
  padding: 0 39px 0 14px !important;
  border: 1px solid rgba(157, 180, 210, .42) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.91) !important;
  box-shadow: inset 0 1px 0 #fff, 0 5px 18px rgba(24, 46, 80, .055) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.legal-page .header-search input { width: 100%; min-width: 0; padding: 0 !important; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; color: #253753 !important; font-size: 11px !important; }
.legal-page .header-search input::placeholder { color: #6e7d96; }
.legal-page .header-search .search-glyph { position: absolute; top: 50%; right: 14px; width: 13px; height: 13px; border: 2px solid #354a68; border-radius: 50%; transform: translateY(-58%); pointer-events: none; }
.legal-page .header-search .search-glyph::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 2px; border-radius: 2px; background: #354a68; transform: rotate(48deg); }
.legal-page .theme-toggle,
.legal-page .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 8px 12px !important;
  border: 1px solid rgba(160, 183, 213, .42) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.77) !important;
  color: #152541 !important;
  font-size: 10px !important;
  font-weight: 760 !important;
  text-decoration: none;
  box-shadow: 0 5px 17px rgba(26,47,79,.045), inset 0 1px 0 #fff !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.legal-page .theme-toggle:hover,
.legal-page .header-action:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(26,47,79,.10) !important; }
.legal-page .theme-toggle-icon { color: #dba72a; font-size: 16px; line-height: 1; }
.legal-page .cart-glyph { color: #253a58; font-size: 18px; line-height: 1; }
.legal-page .cart-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 50%; background: #0878f9 !important; color: #fff !important; font-size: 10px !important; font-weight: 850; }
.legal-page .mobile-search { display: none; }

/* Appliance-image policy title banner */
.legal-page .legal-wrap {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.65vw, 42px) 42px;
}
.legal-page .policy-hero-banner {
  position: relative;
  display: flex;
  min-height: 100px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  margin: 9px 0 16px;
  padding: 19px clamp(20px, 3.2vw, 46px);
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(90deg, rgba(2,12,26,.97) 0%, rgba(3,15,31,.82) 38%, rgba(5,19,35,.28) 76%, rgba(8,22,34,.18) 100%), url('/images/ui/hero-scene-appliances.webp') center 48% / cover no-repeat;
  box-shadow: 0 12px 32px rgba(19, 44, 78, .15);
  isolation: isolate;
}
.legal-page .policy-hero-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(125deg, transparent 42%, rgba(255,255,255,.11) 58%, transparent 73%); opacity: .7; }
.legal-page .policy-hero-banner::after {
  content: "⌂  Smart Living\A     Modern Appliances     →";
  position: absolute;
  top: 50%;
  right: clamp(16px, 3vw, 42px);
  display: flex;
  align-items: center;
  min-width: 188px;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px;
  color: #fff;
  background: rgba(244,248,253,.22);
  box-shadow: 0 10px 30px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  white-space: pre;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  transform: translateY(-50%);
}
.legal-page .legal-hero .eyebrow { display: none; }
.legal-page .legal-hero h1 { max-width: min(72%, 780px); margin: 0 0 5px; color: #fff; font-size: clamp(24px, 2vw, 31px); font-weight: 820; line-height: 1.12; letter-spacing: -.035em; }
.legal-page .legal-hero > p:last-child { max-width: min(72%, 780px); margin: 0; color: rgba(245,249,255,.84); font-size: 11px; line-height: 1.55; }

/* Three-column, glassmorphism policy layout */
.legal-page .policy-layout {
  display: grid;
  grid-template-columns: minmax(205px, .78fr) minmax(0, 2.1fr) minmax(235px, .78fr);
  align-items: start;
  gap: clamp(12px, 1.25vw, 19px);
}
.legal-page .policy-sidebar,
.legal-page .policy-aside { position: sticky; top: 79px; display: flex; min-width: 0; flex-direction: column; gap: 11px; }
.legal-page .policy-sidebar {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 17px;
  background: rgba(255,255,255,.67);
  box-shadow: var(--policy-shadow);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.legal-page .policy-side-title { padding: 12px 14px; border-radius: 11px; background: linear-gradient(120deg,#071a34,#143b6b); color: #f5f9ff; font-size: 12px; font-weight: 820; }
.legal-page .policy-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.legal-page .policy-nav-link {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  padding: 10px 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #263b59;
  font-size: 10px;
  line-height: 1.35;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.legal-page .policy-nav-link > span { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 8px; background: rgba(229,239,252,.82); color: #18385f; font-size: 17px; }
.legal-page .policy-nav-link strong { min-width: 0; font-size: 10px; font-weight: 760; }
.legal-page .policy-nav-link:hover,
.legal-page .policy-nav-link.is-current { border-color: rgba(102,164,244,.38); background: linear-gradient(100deg, rgba(223,239,255,.98), rgba(239,247,255,.82)); color: #075ecb; }
.legal-page .policy-nav-link:hover { transform: translateX(2px); }
.legal-page .policy-nav-link.is-current > span { background: #d9eaff; color: #0878f9; }
.legal-page .policy-help-mini { padding: 13px; border: 1px solid rgba(201,222,248,.9); border-radius: 13px; background: linear-gradient(135deg,rgba(231,242,255,.95),rgba(255,255,255,.84)); color: #183454; }
.legal-page .policy-help-mini > span { float: left; margin: 0 8px 0 0; color: #0878f9; font-size: 22px; }
.legal-page .policy-help-mini strong { font-size: 11px; }
.legal-page .policy-help-mini p { clear: both; margin: 7px 0; color: #61728d; font-size: 10px; line-height: 1.55; }
.legal-page .policy-help-mini a { color: #0878f9; font-size: 10px; font-weight: 820; text-decoration: none; }

.legal-page .legal-content {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 19px;
  background: rgba(255,255,255,.74);
  box-shadow: var(--policy-shadow);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  counter-reset: policy-card;
}
.legal-page .policy-section {
  position: relative;
  margin: 0 0 10px;
  padding: 15px 16px;
  border: 1px solid rgba(186,207,233,.34);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,250,255,.82));
  box-shadow: 0 5px 18px rgba(24,48,82,.035);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: policy-rise .42s both;
}
.legal-page .policy-section:nth-of-type(2) { animation-delay: .03s; }
.legal-page .policy-section:nth-of-type(3) { animation-delay: .06s; }
.legal-page .policy-section:nth-of-type(4) { animation-delay: .09s; }
.legal-page .policy-section:nth-of-type(5) { animation-delay: .12s; }
.legal-page .policy-section:hover { transform: translateY(-1px); border-color: rgba(126,178,243,.5); box-shadow: 0 11px 27px rgba(24,48,82,.075); }
.legal-page .policy-section:last-child { margin-bottom: 0; }
.legal-page .legal-content h2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 7px !important;
  color: #102647;
  font-size: 14px !important;
  font-weight: 820;
  letter-spacing: -.018em;
  line-height: 1.38 !important;
}
.legal-page .legal-content .policy-section > h2::before {
  counter-increment: policy-card;
  content: counter(policy-card);
  display: inline-grid;
  place-items: center;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  margin-top: -3px;
  border-radius: 50%;
  background: linear-gradient(145deg,#123b70,#0878f9);
  box-shadow: 0 4px 10px rgba(8,120,249,.16);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.legal-page .legal-content p,
.legal-page .legal-content li { color: #4b5c76; font-size: 11px; line-height: 1.75; }
.legal-page .legal-content p { margin: 6px 0 9px; }
.legal-page .legal-content p:last-child { margin-bottom: 0; }
.legal-page .legal-content ul { padding-left: 20px; }
.legal-page .legal-content a { color: #0878f9; text-underline-offset: 3px; }
.legal-page .legal-content small { font-size: 10px; }
.legal-page .review-notice {
  margin: 0 0 13px !important;
  padding: 12px 15px !important;
  border: 1px solid #f0d58f !important;
  border-radius: 12px !important;
  background: linear-gradient(105deg,#fff5dc,#fffaf0) !important;
  box-shadow: none !important;
  color: #664b12 !important;
  font-size: 11px;
  line-height: 1.7;
}
.legal-page .contact-card { padding: 18px; border: 1px solid rgba(180,204,232,.45); border-radius: 15px; background: linear-gradient(135deg,rgba(235,244,255,.92),rgba(255,255,255,.88)); box-shadow: 0 7px 22px rgba(24,48,82,.04); }
.legal-page .contact-card h2::before { display: none !important; content: none !important; }

/* Right-side quick information and support cards */
.legal-page .policy-aside { gap: 11px; }
.legal-page .policy-quick-card {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 15px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--policy-shadow);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}
.legal-page .policy-quick-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 11px; color: #142b4c; font-size: 12px; font-weight: 830; }
.legal-page .policy-quick-card h2 > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; background: #e5f0ff; color: #0878f9; font-size: 17px; }
.legal-page .policy-quick-card ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.legal-page .policy-quick-card li { display: flex; flex-direction: column; gap: 2px; }
.legal-page .policy-quick-card li strong { color: #273e5f; font-size: 10px; }
.legal-page .policy-quick-card li span,
.legal-page .policy-quick-card p { color: #667994; font-size: 10px; line-height: 1.6; }
.legal-page .policy-quick-card p { margin: 0 0 8px; }
.legal-page .policy-contact-button { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 10px; padding: 10px 13px; border-radius: 9px; background: linear-gradient(120deg,#153d70,#0878f9); color: #fff !important; font-size: 10px; font-weight: 820; text-decoration: none; box-shadow: 0 6px 15px rgba(8,120,249,.14); transition: transform .2s ease, box-shadow .2s ease; }
.legal-page .policy-contact-button:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(8,120,249,.2); }
.legal-page .policy-quick-card .small-note { margin-top: 9px; font-size: 9px; }
.legal-page .policy-confidence p { display: flex; align-items: flex-start; gap: 7px; margin: 8px 0; }
.legal-page .policy-confidence p span { color: #15985c; font-weight: 900; }

/* About and contact adapt to the available verified content without inventing facts. */
.legal-page--about .legal-content .policy-section:first-of-type { background: linear-gradient(120deg,rgba(232,243,255,.92),rgba(255,255,255,.86)); }
.legal-page--about .policy-aside .policy-quick-card:first-child { background: linear-gradient(145deg,rgba(232,243,255,.9),rgba(255,255,255,.84)); }
.legal-page--contact .contact-card { margin-bottom: 11px; }
.legal-page--contact .contact-card p { padding-bottom: 7px; border-bottom: 1px solid rgba(154,181,214,.25); }
.legal-page--contact .contact-card p:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-page--faq .policy-section h2::after { content: "⌄"; margin-left: auto; padding-left: 8px; color: #647995; font-size: 17px; font-weight: 600; }

/* Shared footer: dark, illuminated glass in both site themes, matching references. */
.legal-page .site-footer {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #e8f1ff !important;
  background: #061321 !important;
  box-shadow: 0 -10px 34px rgba(12,31,55,.11);
}
.legal-page .footer-contact-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(185px,.9fr) minmax(160px,.66fr) minmax(290px,1.25fr) minmax(285px,1.2fr);
  align-items: center;
  gap: 15px;
  padding: 16px clamp(18px, 3.8vw, 58px);
  border-bottom: 1px solid rgba(187,211,242,.13);
  background: linear-gradient(100deg,rgba(4,15,29,.96),rgba(7,24,42,.94) 45%,rgba(4,16,30,.97)), url('/images/ui/hero-scene-appliances.webp') center 62% / cover no-repeat !important;
}
.legal-page .footer-contact-band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 100% 0%,rgba(95,155,222,.16),transparent 48%),linear-gradient(120deg,transparent,rgba(255,255,255,.025)); }
.legal-page .footer-contact-band > * { position: relative; z-index: 1; }
.legal-page .footer-brand-block { color: #edf5ff !important; }
.legal-page .footer-wordmark { gap: 7px; color: #f0f5fc !important; font-size: clamp(23px, 2vw, 34px); font-weight: 800; letter-spacing: -.065em; text-decoration: none; }
.legal-page .footer-brand-ua { color: #f5f8fe !important; font-size: 1.24em; font-weight: 950; letter-spacing: -.105em; }
.legal-page .footer-brand-block p { margin: 6px 0 0; color: #91a6c1 !important; font-size: 8px; font-weight: 740; letter-spacing: .28em; line-height: 1.75; }
.legal-page .footer-actions { display: flex; flex-direction: column; gap: 7px; }
.legal-page .footer-actions a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 999px; font-size: 11px; font-weight: 820; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.legal-page .footer-primary-action { color: #075ed7 !important; background: linear-gradient(135deg,#fff,#e2efff); box-shadow: 0 7px 20px rgba(0,0,0,.13); }
.legal-page .footer-secondary-action { color: #e6efff !important; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); }
.legal-page .footer-actions a:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.22); }
.legal-page .footer-contact-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid rgba(255,255,255,.06); border-radius: 18px; background: rgba(255,255,255,.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.legal-page .footer-fact { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; padding: 10px 7px; border-right: 1px solid rgba(172,199,231,.12); text-align: center; }
.legal-page .footer-fact:last-child { border-right: 0; }
.legal-page .footer-fact > span { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 5px; border-radius: 50%; color: #e8f2ff; background: rgba(255,255,255,.075); font-size: 19px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.legal-page .footer-fact strong { color: #edf4ff !important; font-size: 9px; font-weight: 760; }
.legal-page .footer-fact small { color: #9eb0c8 !important; font-size: 8px; line-height: 1.5; }
.legal-page .footer-help-card { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.085); border-radius: 18px; color: #edf5ff !important; background: linear-gradient(120deg,rgba(255,255,255,.055),rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.legal-page .footer-headset { display: grid; place-items: center; flex: 0 0 57px; width: 57px; height: 57px; border-radius: 50%; color: #eaf4ff; background: rgba(255,255,255,.07); font-size: 32px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.legal-page .footer-help-card h2 { margin: 0 0 3px; color: #f2f7ff !important; font-size: 18px; letter-spacing: -.04em; }
.legal-page .footer-help-card p { margin: 0 0 4px; color: #a4b6ce !important; font-size: 10px; line-height: 1.5; }
.legal-page .footer-help-card a { color: #9ccaff !important; font-size: 10px; font-weight: 820; text-decoration: none; }
.legal-page .footer-bottom-row { display: grid; grid-template-columns: minmax(245px,1.1fr) minmax(300px,1.3fr) auto; align-items: center; gap: 15px; padding: 12px clamp(18px,3.8vw,58px) 14px; background: rgba(3,12,23,.97) !important; color: #e4edfb !important; }
.legal-page .footer-copyright { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.legal-page .footer-copyright strong { color: #e7effd !important; font-size: 10px; font-weight: 780; }
.legal-page .footer-copyright small { color: #9caec6 !important; font-size: 8px; line-height: 1.5; }
.legal-page .footer-copyright .footer-draft-note { color: #c6a66c !important; }
.legal-page .footer-bottom-row nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; }
.legal-page .footer-bottom-row nav a { padding: 4px 7px; border-right: 1px solid rgba(197,215,239,.28); color: #c4d2e5 !important; font-size: 9px; line-height: 1.35; text-decoration: none; }
.legal-page .footer-bottom-row nav a:last-child { border-right: 0; }
.legal-page .footer-bottom-row nav a:hover { color: #78baff !important; }
.legal-page .footer-payment-notes { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.legal-page .footer-payment-wordmark { color: #d9e8ff !important; font-size: 14px; font-weight: 950; font-style: italic; }
.legal-page .footer-security-wordmark { padding: 5px 7px; border: 1px solid rgba(208,224,245,.20); border-radius: 5px; color: #dce8fa !important; background: rgba(255,255,255,.07) !important; font-size: 8px; font-weight: 850; white-space: nowrap; }
.legal-page .footer-test-pill { padding: 5px 7px; border-radius: 999px; color: #ffe0a0 !important; background: rgba(136,90,9,.28) !important; font-size: 8px; font-weight: 900; white-space: nowrap; }

/* Dark mode remains legible and coherent across the same shell. */
html[data-theme="dark"] body.legal-page {
  color: #eaf2ff;
  background: radial-gradient(ellipse at 18% 15%,rgba(20,61,103,.23),transparent 42%),linear-gradient(180deg,#07111f 0%,#0b1929 50%,#071321 100%);
}
html[data-theme="dark"] .legal-page .site-header { background: rgba(4,13,25,.9) !important; border-bottom-color: rgba(255,255,255,.10); box-shadow: 0 10px 32px rgba(0,0,0,.24) !important; }
html[data-theme="dark"] .legal-page .site-header.is-scrolled { background: rgba(4,13,25,.97) !important; }
html[data-theme="dark"] .legal-page .brand-wordmark .brand-ua { color: #f2f6ff !important; }
html[data-theme="dark"] .legal-page .brand-wordmark .brand-electronics { color: #f2f6ff !important; }
html[data-theme="dark"] .legal-page .main-nav a { color: #d2e0f4 !important; }
html[data-theme="dark"] .legal-page .main-nav a:hover,
html[data-theme="dark"] .legal-page .main-nav a.is-current { color: #86c3ff !important; }
html[data-theme="dark"] .legal-page .header-search { background: rgba(255,255,255,.065) !important; border-color: rgba(255,255,255,.14) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important; }
html[data-theme="dark"] .legal-page .header-search input { color: #edf4ff !important; }
html[data-theme="dark"] .legal-page .header-search input::placeholder { color: #a5b6ce; }
html[data-theme="dark"] .legal-page .header-search .search-glyph { border-color: #d0def1; }
html[data-theme="dark"] .legal-page .header-search .search-glyph::after { background: #d0def1; }
html[data-theme="dark"] .legal-page .theme-toggle,
html[data-theme="dark"] .legal-page .header-action { color: #edf4ff !important; background: rgba(255,255,255,.065) !important; border-color: rgba(255,255,255,.14) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important; }
html[data-theme="dark"] .legal-page .cart-glyph { color: #eaf3ff; }
html[data-theme="dark"] .legal-page .policy-sidebar,
html[data-theme="dark"] .legal-page .legal-content,
html[data-theme="dark"] .legal-page .policy-quick-card { background: rgba(13,27,45,.82); border-color: rgba(255,255,255,.10); box-shadow: 0 15px 40px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035); }
html[data-theme="dark"] .legal-page .policy-side-title { background: linear-gradient(120deg,#030b17,#102d4f); }
html[data-theme="dark"] .legal-page .policy-nav-link { color: #c5d5ec; }
html[data-theme="dark"] .legal-page .policy-nav-link > span { color: #c7dcf8; background: rgba(255,255,255,.07); }
html[data-theme="dark"] .legal-page .policy-nav-link:hover,
html[data-theme="dark"] .legal-page .policy-nav-link.is-current { color: #9dccff; background: rgba(8,120,249,.16); border-color: rgba(104,174,255,.22); }
html[data-theme="dark"] .legal-page .policy-section { background: linear-gradient(135deg,rgba(24,41,64,.94),rgba(13,27,45,.9)); border-color: rgba(255,255,255,.08); box-shadow: 0 6px 19px rgba(0,0,0,.1); }
html[data-theme="dark"] .legal-page .legal-content h2,
html[data-theme="dark"] .legal-page .policy-quick-card h2,
html[data-theme="dark"] .legal-page .policy-quick-card li strong { color: #edf4ff; }
html[data-theme="dark"] .legal-page .legal-content p,
html[data-theme="dark"] .legal-page .legal-content li,
html[data-theme="dark"] .legal-page .policy-quick-card li span,
html[data-theme="dark"] .legal-page .policy-quick-card p { color: #a9bad1; }
html[data-theme="dark"] .legal-page .policy-help-mini { color: #e9f2ff; background: rgba(8,120,249,.1); border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .legal-page .policy-help-mini p { color: #afc1d9; }
html[data-theme="dark"] .legal-page .contact-card { color: #edf4ff; background: linear-gradient(135deg,rgba(17,39,65,.95),rgba(13,27,45,.91)); border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .legal-page .contact-card strong { color: #eaf2ff; }
html[data-theme="dark"] .legal-page .review-notice { color: #ffe3a0 !important; background: linear-gradient(105deg,rgba(95,63,9,.42),rgba(54,40,15,.42)) !important; border-color: rgba(247,192,73,.25) !important; }

@keyframes policy-rise { from { opacity: .01; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) {
  .legal-page .site-header { padding-left: max(50px, calc((100vw - 1510px)/2)); padding-right: max(50px, calc((100vw - 1510px)/2)); }
}
@media (max-width: 1250px) {
  .legal-page .site-header { padding-left: 20px; padding-right: 20px; gap: 13px; }
  .legal-page .main-nav { gap: 11px; }
  .legal-page .header-search { width: 205px; }
  .legal-page .policy-layout { grid-template-columns: minmax(180px,.72fr) minmax(0,1.7fr) minmax(210px,.7fr); }
  .legal-page .footer-contact-band { grid-template-columns: minmax(170px,1fr) minmax(150px,.8fr) minmax(250px,1.35fr); }
  .legal-page .footer-help-card { grid-column: 1 / -1; }
  .legal-page .footer-bottom-row { grid-template-columns: minmax(230px,1fr) minmax(270px,1.2fr); }
  .legal-page .footer-payment-notes { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 980px) {
  .legal-page .site-header { flex-wrap: wrap; gap: 7px 14px; }
  .legal-page .brand-wordmark { margin-right: auto; }
  .legal-page .main-nav { order: 3; flex: 1 0 100%; justify-content: flex-start; overflow-x: auto; padding: 0 0 2px; }
  .legal-page .header-tools { margin-left: auto; }
  .legal-page .header-search { width: min(31vw,280px); }
  .legal-page .policy-layout { grid-template-columns: 205px minmax(0,1fr); }
  .legal-page .policy-aside { position: static; grid-column: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .legal-page .policy-confidence { grid-column: 1 / -1; }
  .legal-page .footer-contact-band { grid-template-columns: minmax(170px,1fr) minmax(155px,.85fr); }
  .legal-page .footer-contact-facts { grid-column: 1 / -1; }
  .legal-page .footer-help-card { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .legal-page .site-header { min-height: 58px; padding: 9px 13px; gap: 7px 10px; }
  .legal-page .brand-wordmark .brand-ua { font-size: 29px; }
  .legal-page .brand-wordmark .brand-electronics { font-size: 18px; }
  .legal-page .main-nav { display: none; }
  .legal-page .header-tools { gap: 6px; }
  .legal-page .header-tools .header-search { display: none; }
  .legal-page .theme-toggle { min-height: 35px; padding: 7px 9px !important; }
  .legal-page .header-action { min-height: 35px; padding: 7px 9px !important; }
  .legal-page .cart-action-label { display: none; }
  .legal-page .mobile-search { display: block; padding: 8px 13px 10px; border-bottom: 1px solid rgba(162,184,214,.25); background: rgba(248,251,255,.85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .legal-page .mobile-search .header-search { display: flex; width: 100%; max-width: none; height: 38px; }
  html[data-theme="dark"] .legal-page .mobile-search { background: rgba(4,13,25,.94); border-color: rgba(255,255,255,.08); }
  .legal-page .legal-wrap { padding: 0 11px 25px; }
  .legal-page .policy-hero-banner { min-height: 105px; margin: 8px 0 12px; padding: 18px 18px; border-radius: 15px; background-position: center; }
  .legal-page .policy-hero-banner::after { right: 12px; min-width: 0; padding: 8px 10px; font-size: 8px; opacity: .95; }
  .legal-page .legal-hero h1 { max-width: 74%; font-size: clamp(21px, 5.5vw, 28px); }
  .legal-page .legal-hero > p:last-child { max-width: 74%; font-size: 10px; }
  .legal-page .policy-layout { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .legal-page .policy-sidebar { position: static; padding: 8px; }
  .legal-page .policy-sidebar nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .legal-page .policy-nav-link { padding: 8px 7px; gap: 6px; }
  .legal-page .policy-nav-link > span { flex-basis: 24px; width: 24px; height: 24px; font-size: 15px; }
  .legal-page .policy-nav-link strong { font-size: 9px; }
  .legal-page .policy-help-mini { padding: 10px; }
  .legal-page .legal-content { padding: 9px; border-radius: 15px; }
  .legal-page .policy-section { margin-bottom: 8px; padding: 13px 12px; }
  .legal-page .legal-content h2 { font-size: 13px !important; }
  .legal-page .legal-content p, .legal-page .legal-content li { font-size: 10px; }
  .legal-page .policy-aside { grid-column: auto; display: grid; grid-template-columns: minmax(0,1fr); }
  .legal-page .policy-confidence { grid-column: auto; }
  .legal-page .footer-contact-band { grid-template-columns: minmax(0,1fr); padding: 20px 15px; gap: 12px; }
  .legal-page .footer-brand-block { padding-bottom: 3px; }
  .legal-page .footer-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .legal-page .footer-actions a { padding: 10px 12px; font-size: 10px; }
  .legal-page .footer-contact-facts { grid-column: auto; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .legal-page .footer-fact { padding: 8px 4px; }
  .legal-page .footer-fact strong { font-size: 8px; }
  .legal-page .footer-fact small { font-size: 7px; }
  .legal-page .footer-help-card { grid-column: auto; }
  .legal-page .footer-bottom-row { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 14px 15px 16px; }
  .legal-page .footer-bottom-row nav { justify-content: flex-start; }
  .legal-page .footer-payment-notes { grid-column: auto; justify-content: flex-start; }
}
@media (max-width: 420px) {
  .legal-page .theme-toggle-label { display: none; }
  .legal-page .theme-toggle { width: 36px; min-width: 36px; padding: 0 !important; }
  .legal-page .policy-sidebar nav { grid-template-columns: minmax(0,1fr); }
  .legal-page .policy-hero-banner::after { display: none; }
  .legal-page .legal-hero h1, .legal-page .legal-hero > p:last-child { max-width: 100%; }
  .legal-page .footer-contact-facts { grid-template-columns: minmax(0,1fr); }
  .legal-page .footer-fact { flex-direction: row; justify-content: flex-start; gap: 9px; text-align: left; border-right: 0; border-bottom: 1px solid rgba(172,199,231,.12); }
  .legal-page .footer-fact:last-child { border-bottom: 0; }
  .legal-page .footer-fact > span { flex: 0 0 30px; width: 30px; height: 30px; margin: 0; }
  .legal-page .footer-fact small { margin-left: auto; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .legal-page *, .legal-page *::before, .legal-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
html[data-theme="dark"] { color-scheme: dark; }
html:not([data-theme="dark"]) { color-scheme: light; }
