/* Shared storefront shell copied from the Shipping & Delivery reference page.
   Scoped to body.ua-shared-shell so existing page content layouts remain untouched. */
body.ua-shared-shell .site-header,
body.ua-shared-shell .site-header *,
body.ua-shared-shell .site-footer,
body.ua-shared-shell .site-footer * { box-sizing: border-box; }
body.ua-shared-shell .site-header,
body.ua-shared-shell .site-footer { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
/* Shared light-mode header */
body.ua-shared-shell .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;
}
body.ua-shared-shell .site-header.is-scrolled { background: rgba(250,252,255,.96) !important; }
body.ua-shared-shell .brand-wordmark { flex: 0 0 auto; gap: 0; text-decoration: none; white-space: nowrap; }
body.ua-shared-shell .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;
}
body.ua-shared-shell .brand-wordmark .brand-electronics {
  color: #14213a !important;
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 790;
  letter-spacing: -.045em;
}
body.ua-shared-shell .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; }
body.ua-shared-shell .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;
}
body.ua-shared-shell .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;
}
body.ua-shared-shell .main-nav a:hover,
body.ua-shared-shell .main-nav a.is-current { color: var(--policy-blue) !important; }
body.ua-shared-shell .main-nav a:hover::after,
body.ua-shared-shell .main-nav a.is-current::after { transform: scaleX(1); }
body.ua-shared-shell .header-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
body.ua-shared-shell .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);
}
body.ua-shared-shell .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; }
body.ua-shared-shell .header-search input::placeholder { color: #6e7d96; }
body.ua-shared-shell .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; }
body.ua-shared-shell .header-search .search-glyph::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 2px; border-radius: 2px; background: #354a68; transform: rotate(48deg); }
body.ua-shared-shell .theme-toggle,
body.ua-shared-shell .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;
}
body.ua-shared-shell .theme-toggle:hover,
body.ua-shared-shell .header-action:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(26,47,79,.10) !important; }
body.ua-shared-shell .theme-toggle-icon { color: #dba72a; font-size: 16px; line-height: 1; }
body.ua-shared-shell .cart-glyph { color: #253a58; font-size: 18px; line-height: 1; }
body.ua-shared-shell .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; }
body.ua-shared-shell .mobile-search { display: none; }


/* Shared footer: dark, illuminated glass in both site themes, matching references. */
body.ua-shared-shell .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);
}
body.ua-shared-shell .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;
}
body.ua-shared-shell .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)); }
body.ua-shared-shell .footer-contact-band > * { position: relative; z-index: 1; }
body.ua-shared-shell .footer-brand-block { color: #edf5ff !important; }
body.ua-shared-shell .footer-wordmark { gap: 7px; color: #f0f5fc !important; font-size: clamp(23px, 2vw, 34px); font-weight: 800; letter-spacing: -.065em; text-decoration: none; }
body.ua-shared-shell .footer-brand-ua { color: #f5f8fe !important; font-size: 1.24em; font-weight: 950; letter-spacing: -.105em; }
body.ua-shared-shell .footer-brand-block p { margin: 6px 0 0; color: #91a6c1 !important; font-size: 8px; font-weight: 740; letter-spacing: .28em; line-height: 1.75; }
body.ua-shared-shell .footer-actions { display: flex; flex-direction: column; gap: 7px; }
body.ua-shared-shell .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; }
body.ua-shared-shell .footer-primary-action { color: #075ed7 !important; background: linear-gradient(135deg,#fff,#e2efff); box-shadow: 0 7px 20px rgba(0,0,0,.13); }
body.ua-shared-shell .footer-secondary-action { color: #e6efff !important; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); }
body.ua-shared-shell .footer-actions a:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.22); }
body.ua-shared-shell .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); }
body.ua-shared-shell .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; }
body.ua-shared-shell .footer-fact:last-child { border-right: 0; }
body.ua-shared-shell .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); }
body.ua-shared-shell .footer-fact strong { color: #edf4ff !important; font-size: 9px; font-weight: 760; }
body.ua-shared-shell .footer-fact small { color: #9eb0c8 !important; font-size: 8px; line-height: 1.5; }
body.ua-shared-shell .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); }
body.ua-shared-shell .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); }
body.ua-shared-shell .footer-help-card h2 { margin: 0 0 3px; color: #f2f7ff !important; font-size: 18px; letter-spacing: -.04em; }
body.ua-shared-shell .footer-help-card p { margin: 0 0 4px; color: #a4b6ce !important; font-size: 10px; line-height: 1.5; }
body.ua-shared-shell .footer-help-card a { color: #9ccaff !important; font-size: 10px; font-weight: 820; text-decoration: none; }
body.ua-shared-shell .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; }
body.ua-shared-shell .footer-copyright { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
body.ua-shared-shell .footer-copyright strong { color: #e7effd !important; font-size: 10px; font-weight: 780; }
body.ua-shared-shell .footer-copyright small { color: #9caec6 !important; font-size: 8px; line-height: 1.5; }
body.ua-shared-shell .footer-copyright .footer-draft-note { color: #c6a66c !important; }
body.ua-shared-shell .footer-bottom-row nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; }
body.ua-shared-shell .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; }
body.ua-shared-shell .footer-bottom-row nav a:last-child { border-right: 0; }
body.ua-shared-shell .footer-bottom-row nav a:hover { color: #78baff !important; }
body.ua-shared-shell .footer-payment-notes { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
body.ua-shared-shell .footer-payment-wordmark { color: #d9e8ff !important; font-size: 14px; font-weight: 950; font-style: italic; }
body.ua-shared-shell .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; }
body.ua-shared-shell .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 header treatment from the reference page; its footer intentionally stays navy in both themes. */
html[data-theme="dark"] body.ua-shared-shell .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"] body.ua-shared-shell .site-header.is-scrolled { background: rgba(4,13,25,.97) !important; }
html[data-theme="dark"] body.ua-shared-shell .brand-wordmark .brand-ua { color: #f2f6ff !important; }
html[data-theme="dark"] body.ua-shared-shell .brand-wordmark .brand-electronics { color: #f2f6ff !important; }
html[data-theme="dark"] body.ua-shared-shell .main-nav a { color: #d2e0f4 !important; }
html[data-theme="dark"] body.ua-shared-shell .main-nav a:hover,
html[data-theme="dark"] body.ua-shared-shell .main-nav a.is-current { color: #86c3ff !important; }
html[data-theme="dark"] body.ua-shared-shell .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"] body.ua-shared-shell .header-search input { color: #edf4ff !important; }
html[data-theme="dark"] body.ua-shared-shell .header-search input::placeholder { color: #a5b6ce; }
html[data-theme="dark"] body.ua-shared-shell .header-search .search-glyph { border-color: #d0def1; }
html[data-theme="dark"] body.ua-shared-shell .header-search .search-glyph::after { background: #d0def1; }
html[data-theme="dark"] body.ua-shared-shell .theme-toggle,
html[data-theme="dark"] body.ua-shared-shell .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"] body.ua-shared-shell .cart-glyph { color: #eaf3ff; }


/* Same responsive breakpoints as the Shipping & Delivery reference shell. */
@media (min-width: 1600px) {
  body.ua-shared-shell .site-header { padding-left: max(50px, calc((100vw - 1510px)/2)); padding-right: max(50px, calc((100vw - 1510px)/2)); }
}
@media (max-width: 1300px) {
  body.ua-shared-shell .site-header { padding-left: 22px; padding-right: 22px; gap: 14px; }
  body.ua-shared-shell .main-nav { gap: 12px; }
  body.ua-shared-shell .header-search { width: 220px; }
  body.ua-shared-shell .footer-contact-band { grid-template-columns: minmax(170px,1fr) minmax(150px,.8fr) minmax(250px,1.35fr); }
  body.ua-shared-shell .footer-help-card { grid-column: 1 / -1; }
  body.ua-shared-shell .footer-bottom-row { grid-template-columns: minmax(230px,1fr) minmax(270px,1.2fr); }
  body.ua-shared-shell .footer-payment-notes { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 980px) {
  body.ua-shared-shell .site-header { flex-wrap: wrap; gap: 7px 14px; }
  body.ua-shared-shell .brand-wordmark { margin-right: auto; }
  body.ua-shared-shell .main-nav { order: 3; flex: 1 0 100%; justify-content: flex-start; overflow-x: auto; padding: 0 0 2px; }
  body.ua-shared-shell .header-tools { margin-left: auto; }
  body.ua-shared-shell .header-search { width: min(31vw,280px); }
  body.ua-shared-shell .footer-contact-band { grid-template-columns: minmax(170px,1fr) minmax(155px,.85fr); }
  body.ua-shared-shell .footer-contact-facts { grid-column: 1 / -1; }
  body.ua-shared-shell .footer-help-card { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body.ua-shared-shell .site-header { min-height: 58px; padding: 9px 13px; gap: 7px 10px; }
  body.ua-shared-shell .brand-wordmark .brand-ua { font-size: 29px; }
  body.ua-shared-shell .brand-wordmark .brand-electronics { font-size: 18px; }
  body.ua-shared-shell .main-nav { display: none; }
  body.ua-shared-shell .header-tools { gap: 6px; }
  body.ua-shared-shell .header-tools .header-search { display: none; }
  body.ua-shared-shell .theme-toggle { min-height: 35px; padding: 7px 9px !important; }
  body.ua-shared-shell .header-action { min-height: 35px; padding: 7px 9px !important; }
  body.ua-shared-shell .cart-action-label { display: none; }
  body.ua-shared-shell .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); }
  body.ua-shared-shell .mobile-search .header-search { display: flex; width: 100%; max-width: none; height: 38px; }
  html[data-theme="dark"] body.ua-shared-shell .mobile-search { background: rgba(4,13,25,.94); border-color: rgba(255,255,255,.08); }
  body.ua-shared-shell .footer-contact-band { grid-template-columns: minmax(0,1fr); padding: 20px 15px; gap: 12px; }
  body.ua-shared-shell .footer-brand-block { padding-bottom: 3px; }
  body.ua-shared-shell .footer-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.ua-shared-shell .footer-actions a { padding: 10px 12px; font-size: 10px; }
  body.ua-shared-shell .footer-contact-facts { grid-column: auto; grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.ua-shared-shell .footer-fact { padding: 8px 4px; }
  body.ua-shared-shell .footer-fact strong { font-size: 8px; }
  body.ua-shared-shell .footer-fact small { font-size: 7px; }
  body.ua-shared-shell .footer-help-card { grid-column: auto; }
  body.ua-shared-shell .footer-bottom-row { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 14px 15px 16px; }
  body.ua-shared-shell .footer-bottom-row nav { justify-content: flex-start; }
  body.ua-shared-shell .footer-payment-notes { grid-column: auto; justify-content: flex-start; }
}
@media (max-width: 420px) {
  body.ua-shared-shell .theme-toggle-label { display: none; }
  body.ua-shared-shell .theme-toggle { width: 36px; min-width: 36px; padding: 0 !important; }
  body.ua-shared-shell .footer-contact-facts { grid-template-columns: minmax(0,1fr); }
  body.ua-shared-shell .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); }
  body.ua-shared-shell .footer-fact:last-child { border-bottom: 0; }
  body.ua-shared-shell .footer-fact > span { flex: 0 0 30px; width: 30px; height: 30px; margin: 0; }
  body.ua-shared-shell .footer-fact small { margin-left: auto; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  body.ua-shared-shell .site-header *, body.ua-shared-shell .site-footer *, body.ua-shared-shell .mobile-search * { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
