@font-face {
  font-family: "Hub Sans";
  src: url("/fonts/NotoSansHebrew-Regular.ttf?v=436900d5ad77") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hub Sans";
  src: url("/fonts/NotoSansHebrew-Bold.ttf?v=d3b01343f71e") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Verified Wemanage homepage tokens. Swap only if official assets change. */
  --blue: #3261A9;
  --blue-d: #254A85;
  --blue-t: #EAF0F9;
  --green: #8DC044;
  --green-d: #76A636;
  --ink: #16233A;
  --muted: #3E4C63;
  --line: #E3E8F0;
  --bg: #F4F7FB;
  --card: #ffffff;
  --paper: var(--bg);
  --navy: var(--blue);
  --coral: var(--blue);
  --shadow: 0 8px 24px rgba(22, 35, 58, 0.06);
  --max: 1160px;
  --sans: "Hub Sans", "Heebo", "Noto Sans Hebrew", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; scroll-margin: 96px; }
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus,
.skip:focus-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 8px 12px;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  display: inline-block;
  background: var(--navy);
  color: white;
  z-index: 40;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 15;
}
.topbar-inner, .nav-inner, .wrap, .footer-inner, figcaption, .page-title, .footer p {
  overflow-wrap: anywhere;
}
.topbar-inner, .nav-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  min-width: 0;
  padding-inline: 2px;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-block: 12px;
}
.wordmark {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
  min-width: 0;
  color: var(--ink);
}
.wordmark-tab {
  color: var(--blue);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
  border-bottom: 4px solid var(--green);
  padding-bottom: 2px;
}
.wordmark-by {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
}
.wordmark-en { color: var(--blue); letter-spacing: 0; font-weight: 700; }
.logo-official { height: 28px; width: auto; max-width: 120px; }
@media (max-width: 640px) {
  .wordmark-tab { font-size: 1.35rem; letter-spacing: 0.06em; }
  .wordmark-by { font-size: 0.62rem; }
}
.header-search {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 8px;
  min-width: 0;
}
.header-search input {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  border: 0;
  background: transparent;
  min-height: 44px;
  padding-inline: 12px;
}
.header-search button, .button, button.button {
  background: var(--coral);
  color: white;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.button:hover { background: var(--blue-d); }
.button.secondary:hover { background: var(--blue-t); color: var(--ink); }
.button:disabled, .button[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.logo { height: 40px; width: auto; max-width: 168px; display: block; }
.list-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
  padding-inline: 8px;
}
.list-link bdi {
  background: var(--blue);
  color: white;
  border-radius: 999px;
  min-width: 1.4rem;
  text-align: center;
  font-size: 0.8rem;
  padding: 0 6px;
}
.wordmark { order: 1; }
.top-actions { order: 2; display: flex; align-items: center; gap: 2px; margin-inline-start: auto; flex: 0 0 auto; }
.header-search { order: 3; flex: 1 1 100%; }

.cat-nav { background: white; border-bottom: 1px solid var(--line); }
.nav-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-block: 8px;
  scrollbar-width: thin;
}
.dept-row { flex-wrap: wrap; overflow: visible; }
.type-rail { flex-wrap: nowrap; overflow-x: auto; padding-top: 0; }
.type-rail a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 40px;
  padding-inline: 10px;
  font-size: 0.92rem;
}
.nav-inner a {
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding-inline: 12px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
}
.nav-inner a[aria-current="page"] { background: var(--blue); color: white; }

.demo-note {
  margin: 0;
  background: #fff8eb;
  color: #6d5316;
  font-size: 0.86rem;
  text-align: center;
  padding: 6px 12px;
}

.shop-intro { padding-top: 18px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  margin: 8px 0 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(50, 97, 169, 0.1);
  min-width: 0;
}
.hero-copy {
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 5px solid var(--green);
  min-width: 0;
}
.hero-kicker {
  margin: 0;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}
.hero h1 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; }
.hero-copy p { margin: 0; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.hero-stage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: var(--blue);
  min-height: 340px;
  min-width: 0;
}
.hero-stage a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.hero-stage a:first-child { grid-row: 1 / span 2; }
.hero-stage img { width: 100%; height: 100%; object-fit: contain; background: white; }
@media (max-width: 719px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 22px 16px 18px; }
  .hero-actions .button { min-height: 48px; }
  .hero-stage { min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 132px; }
  .hero-stage a:first-child { grid-row: auto; }
}
.shop-intro h1, .page-title h1, .section-head h2 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.shop-intro h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.lede { color: var(--muted); margin: 6px 0 0; }

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 8px;
}
.tiles a {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-height: 148px;
  height: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  padding: 10px;
  font-weight: 700;
}
.cat-tile-media {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--blue-t);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cat-tile-media img { width: 100%; height: 100%; object-fit: contain; }
.cat-tile-copy { display: flex; flex-direction: column; gap: 2px; min-height: 2.8em; }
.cat-tile-copy span { color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.tile-icon.sand { background: var(--sand); }
.tile-icon.sky { background: var(--sky); }
.tile-icon.mint { background: var(--mint); }
.tile-icon.lilac { background: var(--lilac); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
}
.section-head a { color: var(--navy); font-weight: 700; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 12px 0 8px;
  align-items: stretch;
}
.grid.products .card { height: 100%; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-media {
  aspect-ratio: 1 / 1;
  background: #f7f8fb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-media img.card-photo, .card-media > img:not(.card-store-logo) { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.no-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 12px;
  text-align: center;
}
.card-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 210px; overflow: hidden; flex: 1; }
.tax-note { margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.35; min-height: 2.7em; }
.eyebrow { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.35; min-height: 2.7em; max-height: 2.7em; overflow: hidden; }
.card h2, .card h3 { font-size: 1rem; line-height: 1.35; margin: 0; font-weight: 700; min-height: 2.7em; max-height: 2.7em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card h2 a, .card h3 a { text-decoration: none; }
.price { font-size: 1.35rem; font-weight: 700; margin: 4px 0 0; letter-spacing: -0.02em; }
.price-hero { font-size: clamp(1.7rem, 4vw, 2.15rem); margin: 8px 0 0; }
.brand-name { margin: 0; color: var(--blue); font-weight: 700; font-size: 0.92rem; }
.card .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price span { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 400; }
.stock { margin: 0; font-size: 0.86rem; font-weight: 700; }
.stock.is-in { color: #627D47; }
.stock.is-out { color: #a12626; }
.stock.is-unknown { color: var(--muted); font-weight: 500; }
.price { min-height: 3.1em; }
.seller-line {
  margin: auto 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.35;
  min-height: 2.7em;
  max-height: 2.7em;
  overflow: hidden;
}
.biz { display: block; color: var(--muted); }
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 6px;
  background: #fff4e8;
  color: #8a5a12;
  font-size: 0.75rem;
  font-weight: 700;
}

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 14px 0 8px; color: var(--muted); font-size: 0.9rem; }
.crumbs a { color: var(--navy); }
.product-photo {
  margin: 0 0 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.product-photo img { width: 100%; max-height: 440px; object-fit: contain; background: #f7f8fb; }
.layout { display: grid; gap: 16px; }
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.panel + .panel { margin-top: 12px; }
.buybox { box-shadow: var(--shadow); }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: start; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 500; }
.notice { background: var(--blue-t); border-radius: 12px; padding: 10px 12px; }
.notice[role="alert"] { background: #fdecec; color: #6d1b1b; }
.empty-state { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.buy-actions, .line-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.buy-actions .button, .line-actions .button { min-height: 44px; }
.line-actions form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.status-chip { font-size: 0.82rem; font-weight: 700; color: var(--blue-d); }
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.field { display: grid; gap: 4px; min-width: 0; }
.field label { font-size: 0.82rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 44px;
  padding: 8px 10px;
}
.field textarea { min-height: 110px; }
.error { color: #a12626; margin: 0; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pager { display: flex; gap: 12px; align-items: center; margin: 8px 0 28px; }

.browse { display: grid; gap: 16px; }
.filter-drawer { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 12px; }
.filter-drawer summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.facets { display: grid; gap: 10px; }
.facets fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.facets legend { font-weight: 700; padding: 0; }
.check { display: flex; gap: 8px; align-items: center; min-height: 36px; }
.check span { color: var(--muted); }
.reset { color: var(--blue); font-weight: 700; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.active-chips a { display: inline-flex; gap: 6px; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--blue-t); color: var(--ink); text-decoration: none; font-weight: 700; }
.dept { margin-top: 28px; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.subcats a { background: white; border: 1px solid var(--line); border-radius: 999px; min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; }
.compare { width: 100%; border-collapse: collapse; background: white; }
.compare th, .compare td { text-align: start; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare caption { text-align: start; font-weight: 700; padding-bottom: 8px; }
.suggest { position: absolute; z-index: 20; background: white; border: 1px solid var(--line); border-radius: 12px; margin-top: 48px; width: min(420px, 100%); box-shadow: var(--shadow); }
.header-search { position: relative; }
.suggest a, .suggest button { display: block; width: 100%; text-align: start; background: white; border: 0; padding: 10px 12px; text-decoration: none; min-height: 44px; }
.suggest a[aria-selected="true"], .suggest button[aria-selected="true"] { background: var(--blue-t); }
.cat-mark { color: var(--blue); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.footer { background: white; border-top: 1px solid var(--line); margin-top: 36px; padding-block: 28px 40px; color: var(--muted); }
.footer-grid { display: grid; gap: 16px; }
.footer h2 { color: var(--ink); font-size: 0.95rem; margin: 0 0 6px; }
.footer a { color: var(--navy); }
.footer .quiet { font-size: 0.92rem; }

.consent {
  position: static;
  z-index: 1;
  width: min(720px, calc(100% - 24px));
  margin: 16px auto 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
}
.consent p { margin: 0 0 8px; font-size: 0.88rem; }
.consent form { display: flex; gap: 8px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: white; }
table.data th, table.data td { text-align: start; padding: 10px; border-bottom: 1px solid var(--line); }
.admin-main { padding-block: 12px 40px; }

@media (min-width: 768px) {
  .browse { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .browse > .filter-drawer { order: 2; }
  .filter-drawer summary { display: none; }
  .facets { max-height: calc(100vh - 160px); overflow: auto; }
}
@media (max-width: 767px) {
  .filter-drawer:not([open]) .facets { display: none; }
}
@media (min-width: 720px) {
  .header-search { flex: 1 1 100%; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); align-items: start; }
  .filters { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1040px) {
  .grid.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-width: 0; }
.cart-photo { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 12px; overflow: hidden; background: var(--blue-t); display: flex; align-items: center; justify-content: center; }
.cart-photo img { width: 100%; height: 100%; object-fit: contain; }
.cart-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 160px; }
.qty { width: 4.5rem; min-height: 44px; }
.stepper { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stepper li { display: flex; flex-direction: column; gap: 4px; min-width: min(100%, 220px); border: 1px solid var(--line); border-radius: 14px; background: white; padding: 10px 12px; }
.stepper li[aria-current="step"] { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-t); }
.stepper form, .buy-actions form { margin: 0; }
.pay-status {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  background: var(--blue);
  color: white;
  font-weight: 700;
}
.pay-status.is-visible { display: flex; }
.pay-status .spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: white;
  border-radius: 50%;
  flex: 0 0 auto;
}
.handoff-wait { display: flex; align-items: center; gap: 12px; }
.handoff-wait .spinner {
  width: 1.4rem;
  height: 1.4rem;
  border: 3px solid var(--blue-t);
  border-top-color: var(--blue);
  border-radius: 50%;
  flex: 0 0 auto;
}
@media (prefers-reduced-motion: no-preference) {
  .spinner { animation: tab-spin 0.8s linear infinite; }
}
@keyframes tab-spin { to { transform: rotate(360deg); } }
.sticky-buy { display: none; }
@media (max-width: 719px) {
  .buy-actions, .buy-actions .button, .panel > form .button { width: 100%; }
  body:has(.sticky-buy) { padding-bottom: 76px; }
  .sticky-buy {
    display: flex;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 16;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    background: white;
    border-top: 1px solid var(--line);
  }
  .sticky-buy .price { margin: 0; }
  .sticky-buy form { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* TAB logo4: robust header logo + active chips in brand green */
.topbar {
  background: var(--blue);
  border-bottom: 1px solid var(--blue-d);
  position: sticky;
  top: 0;
  z-index: 15;
  overflow: visible;
}
.topbar-inner {
  overflow: visible;
}
.topbar .wordmark {
  color: white;
  overflow: visible;
  flex-direction: row;
  align-items: center;
  line-height: 0;
  min-height: 0;
  padding-block: 2px;
}
.logo {
  height: 36px;
  width: auto;
  max-width: none;
  max-height: none;
  display: block;
  overflow: visible;
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
  vertical-align: top;
}
@media (max-width: 640px) {
  .logo { height: 32px; }
}
.top-actions { order: 2; display: flex; align-items: center; gap: 4px; margin-inline-start: auto; flex: 0 0 auto; }
.icon-link {
  position: relative;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  padding: 6px;
  border-radius: 10px;
}
.icon-link:hover { background: rgba(255,255,255,0.12); }
.icon-link:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.header-icon { display: block; width: 28px; height: 28px; }
.icon-badge {
  position: absolute;
  top: 2px;
  inset-inline-end: 0;
  background: var(--green);
  color: white;
  border-radius: 999px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 5px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
  box-shadow: 0 0 0 2px var(--blue);
}
.icon-badge bdi { background: transparent; color: inherit; border-radius: 0; min-width: 0; padding: 0; font-size: inherit; }
.list-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
  padding-inline: 8px;
  color: white;
}
.list-link bdi {
  background: var(--green);
  color: white;
  border-radius: 999px;
  min-width: 1.4rem;
  text-align: center;
  font-size: 0.8rem;
  padding: 0 6px;
  font-weight: 700;
}
.header-search {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 4px 4px 8px;
  min-width: 0;
  order: 3;
}
.header-search input {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  border: 0;
  background: transparent;
  min-height: 44px;
  padding-inline: 12px;
  color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  background: var(--green);
  color: white;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}
.header-search button:hover { background: var(--green-d); }

/* Category chips under header */
.cat-nav { background: #f7faf4; border-bottom: 1px solid var(--line); }
.nav-inner.dept-row {
  display: flex;
  gap: 10px;
  padding-block: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.dept-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(22, 35, 58, 0.03);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.dept-chip:hover {
  border-color: color-mix(in srgb, var(--blue) 35%, var(--line));
  box-shadow: 0 6px 16px rgba(50, 97, 169, 0.10);
}
/* Active department = brand green (beat .nav-inner a[aria-current]) */
.nav-inner a.dept-chip[aria-current="page"],
.dept-chip[aria-current="page"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: none;
}
.dept-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--blue-t);
  color: var(--blue);
  flex: 0 0 auto;
}
.nav-inner a.dept-chip[aria-current="page"] .dept-chip-icon,
.dept-chip[aria-current="page"] .dept-chip-icon {
  background: rgba(255,255,255,0.22);
  color: white;
}
.dept-chip[data-code="deals"] .dept-chip-icon {
  background: color-mix(in srgb, var(--green) 22%, white);
  color: var(--green-d);
}
.dept-chip[data-code="deals"][aria-current="page"] .dept-chip-icon {
  background: rgba(255,255,255,0.22);
  color: white;
}
.cat-glyph { width: 20px; height: 20px; display: block; }
.dept-chip-label { white-space: nowrap; font-size: 0.95rem; line-height: 1.1; }

.type-rail {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-top: 0;
  padding-bottom: 12px;
}
.type-rail a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 40px;
  padding-inline: 12px;
  font-size: 0.92rem;
}
.type-rail a[aria-current="page"] { background: var(--green); border-color: var(--green); color: white; }

/* Homepage department tiles — keep real images, freshen chrome */
.tiles a {
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(22, 35, 58, 0.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
}
.tiles a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(50, 97, 169, 0.12);
  border-color: color-mix(in srgb, var(--blue) 30%, var(--line));
}
.cat-tile-media {
  position: relative;
  background: linear-gradient(180deg, #eef4fb 0%, #f7faf4 100%);
}
.cat-tile-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(22, 35, 58, 0.12);
  z-index: 1;
}
.cat-tile-badge .cat-glyph { width: 18px; height: 18px; }
.cat-tile-copy strong { font-size: 1.02rem; }

/* Subcategory chips — active = brand green */
.subcats a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.subcats a:hover {
  background: var(--blue-t);
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  color: var(--blue-d);
}
.subcats a[aria-current="page"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

@media (min-width: 900px) {
  .nav-inner.dept-row { flex-wrap: wrap; overflow: visible; }
}

/* Force-override legacy blue active link inside cat nav */
.cat-nav .nav-inner a[aria-current="page"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.cat-nav .nav-inner a.dept-chip[aria-current="page"] .dept-chip-icon {
  background: rgba(255,255,255,0.22);
  color: white;
}

/* === TAB cards+logo deploy: wemanage-cards === */
.logo {
  height: 36px;
  width: auto;
  max-width: none;
}
@media (max-width: 640px) {
  .logo { height: 32px; }
}

/* Product cards — mockup: equal height, blue info, green price, store badge */
.grid.products .card,
.grid .card {
  height: 100%;
  box-shadow: 0 8px 22px rgba(22, 35, 58, 0.10);
  border: 1px solid color-mix(in srgb, var(--line) 70%, white);
  border-radius: 14px;
  background: #fff;
}
.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  width: 100%;
  background: #eef1f5;
  display: block;
  overflow: hidden;
}
.card-media > img:not(.card-store-logo) {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}
.card-media .no-photo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.card-store-logo {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(22, 35, 58, 0.12);
  z-index: 1;
}
.card-body {
  background: var(--blue);
  color: #fff;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.card .brand-name,
.card .seller-line {
  margin: 0;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 0;
  padding: 0;
  min-height: 0;
  max-height: none;
}
.card h2,
.card h3 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  min-height: 2.6em;
  max-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card h2 a,
.card h3 a {
  color: #fff;
  text-decoration: none;
}
.card .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  min-height: 0;
  max-height: none;
  font-size: 0.75rem;
}
.card .chip {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.card .price {
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 800;
  margin: auto 0 0;
  padding-top: 4px;
  min-height: 0;
  letter-spacing: 0.01em;
}
.card .price span {
  color: rgba(255, 255, 255, 0.85);
}
.card .tax-note {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  min-height: 0;
  margin: 0;
  line-height: 1.3;
}

/* Homepage department tiles — 5 across desktop, mockup chrome */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 16px 0 8px;
}
.tiles > li {
  min-width: 0;
  display: flex;
}
.tiles a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-height: 0;
  padding: 0;
  gap: 0;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--line) 70%, white);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(22, 35, 58, 0.10);
  font-weight: 700;
}
.tiles a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(50, 97, 169, 0.14);
  border-color: color-mix(in srgb, var(--blue) 30%, var(--line));
}
.cat-tile-media {
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  width: 100%;
  border-radius: 0;
  background: #eef1f5;
  position: relative;
  display: block;
  overflow: hidden;
}
.cat-tile-media > img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  object-position: center;
}
.cat-tile-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(22, 35, 58, 0.12);
  z-index: 1;
}
.cat-tile-copy {
  background: var(--blue);
  color: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 4.8em;
}
.cat-tile-copy strong {
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-tile-copy span {
  color: #fff;
  opacity: 0.9;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1040px) {
  .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .grid.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .card-store-logo { width: 30px; height: 30px; }
  .card-body { padding: 10px; }
  .cat-tile-copy { padding: 10px; }
}


/* === badge-fix: stop .card-media img from blowing up store badge === */
.card-media img.card-store-logo,
.card-media > img.card-store-logo,
img.card-store-logo {
  position: absolute !important;
  top: 8px !important;
  inset-inline-start: 8px !important;
  inset-inline-end: auto !important;
  bottom: auto !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  margin: 0 !important;
  padding: 3px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(22, 35, 58, 0.12) !important;
  z-index: 2 !important;
  display: block !important;
}
.card-media img.card-photo,
.card-media > img.card-photo {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  z-index: 0;
}
/* Legacy catch-all must not size the badge */
.card-media img:not(.card-store-logo) {
  /* keep product photos contained; badge excluded */
}

/* === polish: larger header logo + larger store badges === */
.topbar {
  overflow: visible;
}
.topbar-inner {
  overflow: visible;
  padding-block: 10px;
  min-height: 64px;
  align-items: center;
}
.topbar .wordmark {
  overflow: visible;
  line-height: 0;
  padding-block: 0;
}
.logo {
  height: 52px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  overflow: visible;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 640px) {
  .topbar-inner {
    padding-block: 8px;
    min-height: 56px;
  }
  .logo {
    height: 42px !important;
  }
}

/* Store badges — much more prominent */
.card-media img.card-store-logo,
.card-media > img.card-store-logo,
img.card-store-logo {
  position: absolute !important;
  top: 10px !important;
  inset-inline-start: 10px !important;
  inset-inline-end: auto !important;
  bottom: auto !important;
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  margin: 0 !important;
  padding: 6px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(22, 35, 58, 0.18) !important;
  z-index: 2 !important;
  display: block !important;
}
@media (max-width: 640px) {
  .card-media img.card-store-logo,
  .card-media > img.card-store-logo,
  img.card-store-logo {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 5px !important;
    border-radius: 10px !important;
    top: 8px !important;
    inset-inline-start: 8px !important;
  }
}

/* === polish2: larger header logo (tight SVG) + prominent store badges === */
.topbar { overflow: visible; }
.topbar-inner {
  overflow: visible;
  padding-block: 12px;
  min-height: 76px;
  align-items: center;
}
.topbar .wordmark {
  overflow: visible;
  line-height: 0;
  padding-block: 0;
}
.logo {
  height: 64px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  overflow: visible;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 640px) {
  .topbar-inner { padding-block: 10px; min-height: 64px; }
  .logo { height: 50px !important; }
}

.card-media img.card-store-logo,
.card-media > img.card-store-logo,
img.card-store-logo {
  position: absolute !important;
  top: 10px !important;
  inset-inline-start: 10px !important;
  inset-inline-end: auto !important;
  bottom: auto !important;
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  margin: 0 !important;
  padding: 7px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 14px !important;
  box-shadow: 0 5px 16px rgba(22, 35, 58, 0.20) !important;
  z-index: 2 !important;
  display: block !important;
}
@media (max-width: 640px) {
  .card-media img.card-store-logo,
  .card-media > img.card-store-logo,
  img.card-store-logo {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 5px !important;
    border-radius: 10px !important;
  }
}

/* === glow+footer: wemanage-glow — dark footer + cube hover glow === */
.footer {
  background: linear-gradient(165deg, #1E3F75 0%, #183560 48%, #142B52 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin-top: 36px;
  padding-block: 32px 44px;
  color: rgba(255, 255, 255, 0.90);
}
.footer-inner,
.footer p,
.footer .quiet {
  color: rgba(255, 255, 255, 0.88);
}
.footer .quiet { font-size: 0.95rem; }
.footer h2 {
  color: #ffffff;
  font-size: 0.98rem;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.footer a {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.footer a:hover,
.footer a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
  outline: none;
}
.footer .logo-tab-footer {
  height: 40px;
  width: auto;
  max-width: 220px;
  display: block;
  margin: 0 0 12px;
  object-fit: contain;
}
.footer .logo-official {
  height: 28px;
  width: auto;
  max-width: 120px;
  margin-top: 10px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Product cards + department tiles — special glow on hover/focus */
.grid .card,
.grid.products .card,
.tiles a {
  position: relative;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}
.grid .card:hover,
.grid.products .card:hover,
.grid .card:focus-within,
.tiles a:hover,
.tiles a:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, #ffffff 70%, var(--line));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 24px 4px rgba(255, 255, 255, 0.85),
    0 0 36px 8px rgba(220, 232, 250, 0.9),
    0 12px 28px rgba(20, 43, 82, 0.18);
  z-index: 2;
}
.tiles a:focus-visible,
.grid .card:focus-within a:focus-visible {
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .grid .card,
  .grid.products .card,
  .tiles a {
    transition: box-shadow .2s ease, border-color .2s ease;
  }
  .grid .card:hover,
  .grid.products .card:hover,
  .grid .card:focus-within,
  .tiles a:hover,
  .tiles a:focus-visible {
    transform: none;
  }
}

/* === white-glow: replace green cube glow with soft white/light halo === */
.grid .card:hover,
.grid.products .card:hover,
.grid .card:focus-within,
.tiles a:hover,
.tiles a:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, #ffffff 70%, var(--line));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 24px 4px rgba(255, 255, 255, 0.85),
    0 0 36px 8px rgba(220, 232, 250, 0.9),
    0 12px 28px rgba(20, 43, 82, 0.18);
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .grid .card:hover,
  .grid.products .card:hover,
  .grid .card:focus-within,
  .tiles a:hover,
  .tiles a:focus-visible {
    transform: none;
  }
}

/* === store-logos: החנויות as logo tiles + white hover glow === */
.store-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 4px;
  align-items: stretch;
}
.store-logo-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  padding: 14px 20px;
  min-height: 76px;
  min-width: 128px;
  position: relative;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}
.store-logo-tile.has-logo img {
  height: 56px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.store-logo-tile.is-text {
  padding-inline: 16px;
}
.store-logo-tile:hover,
.store-logo-tile:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, #ffffff 70%, var(--line));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 24px 4px rgba(255, 255, 255, 0.85),
    0 0 36px 8px rgba(220, 232, 250, 0.9),
    0 12px 28px rgba(20, 43, 82, 0.18);
  z-index: 2;
  outline: none;
}
@media (max-width: 640px) {
  .store-logos { gap: 10px; }
  .store-logo-tile {
    min-height: 64px;
    min-width: 104px;
    padding: 10px 14px;
    border-radius: 14px;
  }
  .store-logo-tile.has-logo img {
    height: 44px;
    max-width: 120px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .store-logo-tile {
    transition: box-shadow .2s ease, border-color .2s ease;
  }
  .store-logo-tile:hover,
  .store-logo-tile:focus-visible {
    transform: none;
  }
}

/* === marketly redesign (wemanage-market): Heebo, 3D gallery, filter bar, white cards === */
@font-face { font-family: "Heebo TAB"; src: url("/fonts/Heebo-Regular.woff2?v=bb37e036572e") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Heebo TAB"; src: url("/fonts/Heebo-SemiBold.woff2?v=25d17a1bc846") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Heebo TAB"; src: url("/fonts/Heebo-ExtraBold.woff2?v=f67e777f03e1") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
:root {
  --sans: "Heebo TAB", "Hub Sans", "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mk-navy: #16233A;
  --mk-well: #eef1f5;
  --mk-line: #e3e8ef;
  --mk-grad: linear-gradient(90deg, #3261A9 0%, #8DC044 100%);
}
body { font-family: var(--sans); }

/* Hero */
.mk-hero { text-align: center; padding: 34px 0 6px; }
.mk-hero-copy { max-width: 760px; margin: 0 auto; }
.mk-kicker {
  display: inline-block; margin: 0 0 10px; padding: 5px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--blue) 35%, white); color: var(--blue);
  font-weight: 700; font-size: .85rem; letter-spacing: .08em; background: #fff;
}
.mk-hero h1 {
  margin: 0; color: var(--blue); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 4.2vw, 3.1rem); line-height: 1.12;
}
.mk-hero h1 span { color: var(--green); }
.mk-hero-copy p { margin: 12px auto 0; color: #4a5872; font-size: clamp(.95rem, 1.4vw, 1.08rem); max-width: 620px; }

/* 3D curved gallery */
.mk-gallery {
  width: 100vw; margin-inline: calc(50% - 50vw); overflow: hidden;
  padding: 26px 0 40px; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 22%, #fff 78%, rgba(255,255,255,0) 100%);
}
.mk-track {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; justify-content: center; align-items: center; gap: 18px;
  perspective: 1100px; perspective-origin: 50% 50%; transform-style: preserve-3d;
  min-height: 330px;
}
.mk-panel { flex: 0 0 auto; width: 150px; transform-style: preserve-3d; transition: transform .5s ease; }
.mk-panel a {
  display: block; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--mk-well);
  box-shadow: 0 12px 22px rgba(20, 43, 82, .13), 0 2px 6px rgba(20, 43, 82, .07);
  animation: mk-drift 7s ease-in-out infinite;
}
.mk-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; background: #fff; }
.mk-o0  { transform: none; }
.mk-om1 { transform: translateZ(18px)  rotateY(9deg); }
.mk-op1 { transform: translateZ(18px)  rotateY(-9deg); }
.mk-om2 { transform: translateZ(60px)  rotateY(18deg); width: 158px; }
.mk-op2 { transform: translateZ(60px)  rotateY(-18deg); width: 158px; }
.mk-om3 { transform: translateZ(130px) rotateY(27deg); width: 168px; }
.mk-op3 { transform: translateZ(130px) rotateY(-27deg); width: 168px; }
.mk-om4 { transform: translateZ(230px) rotateY(36deg); width: 180px; }
.mk-op4 { transform: translateZ(230px) rotateY(-36deg); width: 180px; }
.mk-panel:nth-child(2n) a { animation-delay: -2.3s; }
.mk-panel:nth-child(3n) a { animation-delay: -4.6s; }
.mk-panel a:hover, .mk-panel a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 0 24px 4px rgba(255,255,255,.85), 0 0 36px 8px rgba(220,232,250,.9), 0 18px 36px rgba(20,43,82,.2);
}
@keyframes mk-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1100px) {
  .mk-track { gap: 12px; min-height: 280px; }
  .mk-panel { width: 118px; }
  .mk-om2, .mk-op2 { width: 124px; } .mk-om3, .mk-op3 { width: 132px; } .mk-om4, .mk-op4 { width: 140px; }
}
@media (max-width: 760px) {
  .mk-om4, .mk-op4, .mk-om3, .mk-op3 { display: none; }
  .mk-track { gap: 3vw; min-height: 0; perspective: 700px; }
  .mk-panel, .mk-om2, .mk-op2 { width: 18vw; }
  .mk-om1 { transform: translateZ(14px) rotateY(10deg); } .mk-op1 { transform: translateZ(14px) rotateY(-10deg); }
  .mk-om2 { transform: translateZ(50px) rotateY(22deg); width: 20vw; } .mk-op2 { transform: translateZ(50px) rotateY(-22deg); width: 20vw; }
  .mk-gallery { padding: 18px 0 26px; }
  .mk-hero { padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-panel a { animation: none; }
  .mk-panel { transition: none; }
}

/* Filter bar */
.mk-filter { margin: 8px 0 22px; display: grid; gap: 18px; justify-items: center; }
.mk-tabs {
  display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff;
  border: 1px solid var(--mk-line); box-shadow: 0 6px 18px rgba(20, 43, 82, .06); max-width: 100%; overflow-x: auto;
}
.mk-tabs a {
  min-height: 40px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center;
  color: #34445f; text-decoration: none; font-weight: 600; white-space: nowrap; transition: background .2s ease, color .2s ease;
}
.mk-tabs a:hover { background: var(--blue-t); color: var(--blue); }
.mk-tabs a.is-active { background: var(--mk-grad); color: #fff; box-shadow: 0 6px 16px rgba(50, 97, 169, .28); }
.mk-tabs a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mk-controls { width: 100%; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .mk-controls { grid-template-columns: 1.15fr 1fr 1fr; } }
.mk-control {
  position: relative; background: #fff; border: 1px solid var(--mk-line); border-radius: 14px;
  min-height: 52px; display: flex; align-items: center; color: #34445f;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mk-control:hover, .mk-control:focus-within { border-color: color-mix(in srgb, var(--blue) 40%, var(--mk-line)); box-shadow: 0 4px 14px rgba(50, 97, 169, .08); }
.mk-ico { flex: 0 0 auto; color: var(--blue); }
.mk-search { padding-inline: 14px; gap: 10px; }
.mk-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; min-height: 50px; font-weight: 500; color: var(--mk-navy); }
.mk-search input::placeholder { color: #7a879b; }
.mk-drop { display: block; }
.mk-drop > summary {
  list-style: none; cursor: pointer; min-height: 50px; padding-inline: 14px; display: flex; align-items: center; gap: 10px; font-weight: 600;
}
.mk-drop > summary::-webkit-details-marker { display: none; }
.mk-drop-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-chev { color: #6b778c; transition: transform .2s ease; }
.mk-drop[open] .mk-chev { transform: rotate(180deg); }
.mk-drop > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 14px; }
.mk-drop-panel {
  position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline: 0; background: #fff; border: 1px solid var(--mk-line);
  border-radius: 14px; box-shadow: 0 18px 40px rgba(20, 43, 82, .14); padding: 6px; max-height: 340px; overflow-y: auto; display: grid;
}
.mk-drop-panel a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--mk-navy); font-weight: 500; }
.mk-drop-panel a:hover, .mk-drop-panel a:focus-visible, .mk-drop-panel a[aria-current] { background: var(--blue-t); color: var(--blue); outline: none; }
.mk-drop-panel .mk-drop-dept { font-weight: 700; color: var(--blue); margin-top: 4px; }
.mk-drop-panel .mk-drop-child { padding-inline-start: 26px; font-size: .92rem; color: #4a5872; }

/* Category listing: advanced filters full width above grid */
.browse.mk-browse { grid-template-columns: minmax(0, 1fr) !important; }
.browse.mk-browse > .filter-drawer { order: 0 !important; border-radius: 14px; border-color: var(--mk-line); }
.browse.mk-browse > .filter-drawer summary { display: flex !important; color: var(--blue); gap: 8px; }
.browse.mk-browse > .filter-drawer[open] .facets { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; }

/* Product cards — white, thin border, image well, meta row */
.grid.products { gap: 18px; }
.grid.products .card.pcard, .grid .card.pcard, .card.pcard {
  background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; padding: 10px;
  box-shadow: none; display: flex; flex-direction: column; height: 100%; overflow: visible;
}
.card.pcard .card-media.pcard-media {
  position: relative; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--mk-well); overflow: hidden; display: block;
}
.card.pcard .card-media > img.card-photo {
  position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; mix-blend-mode: multiply;
}
.card.pcard .card-body.pcard-body {
  background: transparent; color: var(--mk-navy); padding: 12px 4px 4px; gap: 6px; min-height: 0; overflow: visible; display: flex; flex-direction: column; flex: 1 1 auto;
}
.card.pcard .pcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.card.pcard .brand-name {
  color: var(--blue); opacity: 1; font-weight: 600; font-size: .9rem; margin: 0; min-width: 0; flex: 1 1 auto;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card.pcard .price.pcard-price {
  flex: 0 0 auto; margin: 0; padding: 2px 10px; border: 1px solid var(--mk-line); border-radius: 999px; background: #fff;
  color: var(--green-d, #76A636); font-weight: 600; font-size: .9rem; line-height: 1.5; letter-spacing: 0;
}
.card.pcard h2, .card.pcard h3 {
  color: var(--mk-navy); font-size: .95rem; font-weight: 500; line-height: 1.35; margin: 0;
  min-height: 2.7em; max-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card.pcard h2 a, .card.pcard h3 a { color: var(--mk-navy); text-decoration: none; }
.card.pcard h2 a:hover { color: var(--blue); }
.card.pcard .tax-note { color: #7a879b; font-size: .72rem; margin: auto 0 0; line-height: 1.3; min-height: 0; }
.card.pcard .eyebrow { color: #7a879b; min-height: 0; max-height: none; }
.card.pcard .chip { background: var(--blue-t); color: var(--blue); }
.card.pcard .card-media img.card-store-logo { top: 8px !important; inset-inline-start: 8px !important; }

/* Department tiles — same white card language */
.tiles a { padding: 10px !important; border-radius: 16px !important; border: 1px solid var(--mk-line) !important; box-shadow: none; background: #fff; gap: 0 !important; overflow: visible !important; }
.tiles .cat-tile-media { border-radius: 12px; background: var(--mk-well); overflow: hidden; }
.tiles .cat-tile-media > img { mix-blend-mode: multiply; }
.tiles .cat-tile-copy { background: transparent !important; color: var(--mk-navy) !important; padding: 12px 4px 4px !important; min-height: 0 !important; }
.tiles .cat-tile-copy strong { color: var(--blue) !important; font-weight: 700; font-size: 1.02rem; min-height: 0 !important; }
.tiles .cat-tile-copy span { color: #5b6880 !important; opacity: 1 !important; min-height: 2.7em; }

/* Section heads */
.section-head h2 { color: var(--blue); font-weight: 800; }
.section-head a { color: var(--green-d, #76A636); font-weight: 600; }
.page-title h1 { color: var(--blue); font-weight: 800; }

/* keep white soft hover glow (incl. focus) for new cards */
.card.pcard:hover, .card.pcard:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, #ffffff 70%, var(--mk-line));
  box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 0 24px 4px rgba(255,255,255,.85), 0 0 36px 8px rgba(220,232,250,.9), 0 12px 28px rgba(20,43,82,.18);
}
@media (max-width: 640px) {
  .grid.products { gap: 10px; }
  .card.pcard { padding: 8px; border-radius: 14px; }
  .card.pcard .card-media.pcard-media { border-radius: 10px; }
  .card.pcard .pcard-meta { flex-wrap: wrap; row-gap: 4px; }
  .card.pcard .brand-name { font-size: .8rem; flex-basis: 100%; }
  .card.pcard .price.pcard-price { font-size: .82rem; padding: 1px 8px; }
  .card.pcard h2 { font-size: .86rem; }
  .mk-tabs a { padding: 0 16px; min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .card.pcard:hover, .card.pcard:focus-within { transform: none; }
}

/* === gallery-fix: white panels, contain, spares hidden until promoted === */
.mk-panel.mk-spare { display: none; }
.mk-op0 { transform: none; }
.mk-panel a { aspect-ratio: 4 / 5; background: #fff; border-radius: 10px; border: 1px solid #edf0f5; }
.mk-panel img { object-fit: contain; object-position: center; background: #fff; padding: 6px; box-sizing: border-box; }
.mk-panel.mk-fill img { object-fit: cover; padding: 0; }

/* === gallery-live: continuous curved carousel (JS-driven; static fallback without JS) === */
.mk-track.mk-live {
  display: block; position: relative; width: 100%; min-height: 0; gap: 0;
  perspective: 1100px; perspective-origin: 50% 50%; transform-style: preserve-3d;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.mk-track.mk-live.mk-dragging { cursor: grabbing; }
.mk-track.mk-live .mk-panel {
  position: absolute; left: 50%; top: 50%; transition: none; display: block !important;
  will-change: transform; backface-visibility: hidden;
}
.mk-track.mk-live .mk-panel a { animation: none; -webkit-user-drag: none; }
.mk-track.mk-live .mk-panel img { pointer-events: none; -webkit-user-drag: none; }
@media (max-width: 760px) { .mk-track.mk-live { perspective: 700px; } }

/* Department icons next to headings / title / dropdown */
.section-head h2 { display: inline-flex; align-items: center; gap: 10px; }
.dept-head-icon {
  width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue-t) 0%, color-mix(in srgb, var(--green) 18%, white) 100%);
  color: var(--blue); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 14%, white);
}
.dept-head-icon .cat-glyph { width: 26px; height: 26px; display: block; }
.dept-head-icon[data-code="deals"] { color: var(--green-d, #76A636); }
.page-title h1 { display: inline-flex; align-items: center; gap: 12px; }
.page-title h1 .dept-head-icon { width: 44px; height: 44px; }
.mk-drop-panel .mk-drop-dept { display: flex; align-items: center; gap: 8px; }
.mk-drop-panel .mk-drop-dept .cat-glyph { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; }
@media (max-width: 640px) {
  .dept-head-icon { width: 32px; height: 32px; border-radius: 10px; }
  .dept-head-icon .cat-glyph { width: 22px; height: 22px; }
}

/* === mega-menu: dept pills open a subcategory panel (hover / focus / tap) === */
.cat-nav { position: relative; z-index: 14; }
.nav-inner.dept-row.mega-row { position: relative; flex-wrap: wrap !important; overflow: visible !important; row-gap: 8px; }
.mega-item { position: static; display: flex; }
.mega-chev { flex: 0 0 auto; opacity: .6; transition: transform .2s ease; margin-inline-start: -2px; }
.mega-item.is-open .mega-chev { transform: rotate(180deg); }
.mega-item.is-open > .dept-chip:not([aria-current="page"]) { border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); background: #fff; }
.mega-panel {
  position: absolute; top: calc(100% - 4px); inset-inline: 0; margin-inline: auto; z-index: 60;
  width: min(880px, 100%); background: #fff; border: 1px solid var(--mk-line, #e3e8ef); border-radius: 16px;
  box-shadow: 0 22px 48px rgba(20, 43, 82, .16), 0 4px 12px rgba(20, 43, 82, .06);
  padding: 16px 18px 18px; visibility: hidden; opacity: 0; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; pointer-events: none;
}
.mega-panel::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }
.mega-item.is-open > .mega-panel,
.mega-item:focus-within > .mega-panel {
  visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.mega-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--mk-line, #e3e8ef); }
.mega-head strong { color: var(--blue); font-size: 1.12rem; font-weight: 800; flex: 1; }
.mega-head .dept-head-icon { width: 34px; height: 34px; }
.mega-head .dept-head-icon .cat-glyph { width: 22px; height: 22px; }
.cat-nav .mega-panel a { background: none; border: 0; min-height: 0; padding: 0; color: inherit; }
.cat-nav .mega-head .mega-all { color: var(--green-d, #76A636); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-grid.mega-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-grid.mega-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-nav .mega-grid a {
  display: block; padding: 8px 10px !important; border-radius: 10px; color: #26364f; font-weight: 500; text-decoration: none;
}
.cat-nav .mega-grid a:hover, .cat-nav .mega-grid a:focus-visible { background: var(--blue-t) !important; color: var(--blue); outline: none; }
.cat-nav .mega-grid a.is-current { color: var(--green-d, #76A636); font-weight: 700; }
/* JS-dismissed (Esc) beats :focus-within */
.mega-item.is-dismissed > .mega-panel { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.mega-item.is-dismissed .mega-chev { transform: none; }
@media (max-width: 760px) {
  .nav-inner.dept-row.mega-row { gap: 6px; padding-block: 10px; }
  .mega-row .dept-chip { min-height: 38px; padding-inline: 4px 10px; gap: 6px; }
  .mega-row .dept-chip-icon { width: 28px; height: 28px; }
  .mega-row .dept-chip-label { font-size: .86rem; }
  .mega-panel { width: 100%; padding: 12px 12px 14px; top: 100%; }
  .mega-grid, .mega-grid.mega-cols-3, .mega-grid.mega-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-head strong { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .mega-panel { transition: none; transform: none; } }

/* === wm-credit: crisp white WeManage logo in footer brand column === */
.footer .wm-credit { margin: 14px 0 0; }
.footer .wm-credit a {
  display: inline-flex; align-items: center; gap: 10px; border-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.78); font-size: 0.85rem; text-decoration: none;
}
.footer .wm-credit img { height: 30px; width: auto; max-width: none; opacity: 1; filter: none; display: block; }
.footer .wm-credit a:hover span, .footer .wm-credit a:focus-visible span { color: var(--green); }
.footer .wm-credit a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 6px; }

/* === wm-chip: original full-color WeManage logo on a white chip (no filters) === */
.footer .wm-credit img.wm-chip {
  height: 32px !important; width: auto !important; max-width: none !important; aspect-ratio: 296 / 92;
  object-fit: contain; filter: none !important; opacity: 1 !important;
  background: #fff; padding: 5px 8px; border-radius: 10px; box-sizing: content-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

/* === store marquee: "החנויות שלנו" === */
.sm-stores { margin: 26px 0 18px; text-align: center; }
.sm-title { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #16233A; letter-spacing: -0.01em; }
.sm-title span { background: linear-gradient(90deg, #3261A9 0%, #8DC044 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sm-marquee {
  overflow: hidden; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.sm-track { display: flex; width: max-content; animation: sm-scroll 32s linear infinite; }
.sm-marquee:hover .sm-track, .sm-marquee:focus-within .sm-track { animation-play-state: paused; }
.sm-set { display: flex; align-items: center; gap: 64px; list-style: none; margin: 0; padding: 0 32px; }
.sm-set a { display: flex; align-items: center; height: 48px; text-decoration: none; color: #16233A; font-weight: 700; opacity: .9; transition: opacity .2s ease, transform .2s ease; }
.sm-set a:hover, .sm-set a:focus-visible { opacity: 1; transform: translateY(-2px); outline: none; }
.sm-set img { height: 44px; width: auto; max-width: 180px; object-fit: contain; display: block; }
@keyframes sm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .sm-set { gap: 40px; padding: 0 20px; }
  .sm-set img { height: 36px; max-width: 140px; }
  .sm-track { animation-duration: 24s; }
}
@media (prefers-reduced-motion: reduce) {
  .sm-track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .sm-set[aria-hidden="true"] { display: none; }
  .sm-set { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  .sm-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* === header bg: variant B (WEmanage pattern, approved) === */


/* === header bg: variant B v2 — static SVG pattern (CSP img-src has no data:) === */

/* === store logos (wemanage-storelogos): uniform marquee slots + automatic wordmark for new stores === */
.sm-set { gap: 56px; }
.sm-set li { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.sm-set a { height: 64px; min-width: 120px; justify-content: center; opacity: 1; }
.sm-set img.sm-logo { display: block; width: auto; object-fit: contain; object-position: center; }
.sm-set img.sm-logo--wide { height: 40px; max-width: 190px; }
.sm-set img.sm-logo--mid { height: 50px; max-width: 170px; }
.sm-set img.sm-logo--tall { height: 62px; max-width: 110px; }
.sm-set img.sm-logo--xwide { height: 32px; max-width: 210px; }
.sm-auto { display: inline-flex; align-items: center; gap: 10px; height: 48px; font-family: "Heebo TAB", "Heebo", var(--sans); }
.sm-auto-mark {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 24px; line-height: 1;
  background: linear-gradient(135deg, #3261A9 0%, #2A5594 100%); box-shadow: 0 3px 10px rgba(50, 97, 169, .25);
}
.sm-auto--green .sm-auto-mark { background: linear-gradient(135deg, #8DC044 0%, #6FA62E 100%); box-shadow: 0 3px 10px rgba(141, 192, 68, .3); }
.sm-auto-name {
  font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: #16233A; line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; unicode-bidi: plaintext;
}
.sm-auto--blue .sm-auto-name { color: #2A5594; }
.sm-auto--green .sm-auto-name { color: #4E7F1E; }
.sm-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
@media (max-width: 640px) {
  .sm-set { gap: 36px; }
  .sm-set a { height: 52px; min-width: 90px; }
  .sm-set img.sm-logo--wide { height: 30px; max-width: 140px; }
  .sm-set img.sm-logo--mid { height: 38px; max-width: 128px; }
  .sm-set img.sm-logo--tall { height: 48px; max-width: 84px; }
  .sm-set img.sm-logo--xwide { height: 24px; max-width: 160px; }
  .sm-auto { height: 40px; gap: 8px; }
  .sm-auto-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 20px; }
  .sm-auto-name { font-size: 18px; max-width: 130px; }
}
@media (prefers-reduced-motion: reduce) { .sm-marquee { -webkit-mask-image: none; mask-image: none; } }

/* ===== TAB product page v2 (variant B, 2026-11-11) ===== */
/* TAB product page redesign mockup — shared */
.pp { --r: 22px; --sh: 0 10px 30px rgba(22,35,58,.07); --sh2: 0 18px 44px rgba(50,97,169,.14); color: var(--ink); }
.pp .ic { width: 20px; height: 20px; flex: 0 0 auto; }
.pp-crumbs { margin: 18px 0 14px; font-size: .88rem; }
.pp-crumbs li + li::before { content: "›"; margin-inline-end: 6px; color: #9aa6b8; }
.pp-crumbs a { color: var(--blue); text-decoration: none; }
.pp-cat { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; background: var(--blue-t); color: var(--blue); font-weight: 600; font-size: .88rem; }
.pp-cat .ic { width: 16px; height: 16px; color: var(--green-d); }
.pp-cat a { color: var(--blue); text-decoration: none; }
.pp-cat span { color: #8aa0c4; }
.pp-title { margin: 0 0 14px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; font-weight: 800; color: var(--mk-navy, #16233A); letter-spacing: -.01em; }
.pp-seller-chip { display: inline-flex; align-items: center; gap: 12px; padding: 7px 8px 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 4px 14px rgba(22,35,58,.06); transition: box-shadow .2s, border-color .2s; }
.pp-seller-chip:hover { border-color: color-mix(in srgb, var(--blue) 40%, white); box-shadow: var(--sh2); }
.pp-seller-chip img { width: 84px; height: 46px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 5px 8px; }
.pp-seller-chip span { display: flex; flex-direction: column; line-height: 1.15; }
.pp-seller-chip small { color: var(--muted); font-size: .76rem; }
.pp-seller-chip b { font-size: 1rem; color: var(--blue); }
.pp-chip-arrow { width: 16px !important; height: 16px !important; color: var(--green-d); }
.pp-price { margin: 0; font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--blue); line-height: 1; }
.pp-tax { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.pp-tax .ic { color: var(--green-d); width: 18px; height: 18px; }
.pp-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--blue-t); color: var(--blue); flex: 0 0 auto; }
.pp-ico .ic { width: 19px; height: 19px; }
.pp-rows { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.pp-row { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.pp-row.is-muted { color: var(--muted); }
.pp-row.is-muted .pp-ico { background: #f1f4f8; color: #6b7a92; }
.pp-actions { display: grid; gap: 10px; margin-top: 6px; }
.pp-actions form { margin: 0; }
.pp-actions-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; border-radius: 14px !important; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; }
.pp-btn .ic { width: 19px; height: 19px; }
.pp-btn-cart { min-height: 56px; font-size: 1.08rem; background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(50,97,169,.28); border: 0; }
.pp-btn-cart:hover { background: var(--blue-d); transform: translateY(-1px); }
.pp-btn-out, .pp-btn-list { background: #fff; color: var(--blue); border: 1.5px solid color-mix(in srgb, var(--blue) 28%, white) !important; }
.pp-btn-out:hover, .pp-btn-list:hover { background: var(--blue-t); }
.pp-btn-list .ic { color: #d6455d; }
.pp-cartnote, .pp-coupon { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #f6f9fd; border: 1px dashed #cfdbec; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.pp-cartnote .ic, .pp-coupon .ic { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.pp-gallery { margin: 0; }
.pp-stage { position: relative; border-radius: var(--r); background: #fff; box-shadow: var(--sh); overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center; border: 1px solid var(--line); }
.pp-hero { width: 94%; height: 94%; object-fit: contain; transition: transform .5s ease; }
.pp-stage:hover .pp-hero { transform: scale(1.04); }
.pp-store-badge { position: absolute; top: 16px; inset-inline-start: 16px; width: 64px; height: 64px; padding: 7px; object-fit: contain; background: rgba(255,255,255,.97); border-radius: 14px; box-shadow: 0 5px 16px rgba(22,35,58,.2); }
.pp-imgnote { display: flex; gap: 8px; align-items: flex-start; margin: 10px 4px 0; color: #6b7a92; font-size: .8rem; line-height: 1.5; }
.pp-imgnote .ic { width: 15px; height: 15px; margin-top: 2px; color: #8aa0c4; }
.pp-dims { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.pp-dim { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.pp-dim .pp-ico { margin-bottom: 4px; }
.pp-dim:nth-child(even) .pp-ico { background: color-mix(in srgb, var(--green) 16%, white); color: var(--green-d); }
.pp-dim small { color: var(--muted); font-size: .8rem; }
.pp-dim b { font-size: 1.05rem; color: var(--ink); }
.pp-ticks { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; }
.pp-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.pp-ticks .ic { width: 20px; height: 20px; color: var(--green-d); margin-top: 2px; }
.pp-discl { margin: 12px 0 0; color: #6b7a92; font-size: .82rem; }
.pp-related { margin: 44px 0 30px; }
.pp-sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pp-sec-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.45rem; color: var(--mk-navy, #16233A); }
.pp-sec-head h2 .ic { color: var(--green-d); width: 24px; height: 24px; }
.pp-sec-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; text-decoration: none; }
.pp-sec-head a .ic { width: 16px; height: 16px; }
.pp-sticky { display: none; }
@media (max-width: 719px) {
  .pp-sticky { display: flex; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(22,35,58,.10); border-top: 0; }
  .pp-sticky-price .price { font-size: 1.35rem; font-weight: 800; color: var(--blue); }
  .pp-sticky-price span { display: block; font-size: .72rem; color: var(--muted); }
  .pp-sticky form { flex: 0 0 52%; }
  .pp-sticky .pp-btn-cart { min-height: 48px; box-shadow: none; }
  .pp-dims { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pp-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .pp-store-badge { width: 48px; height: 48px; padding: 5px; border-radius: 11px; top: 12px; inset-inline-start: 12px; }
  .pp-sec-head h2 { font-size: 1.2rem; }
}

/* B — title band + sticky buy box + accordions */
.pp-b-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 26px 30px; border-radius: 24px; background: linear-gradient(110deg, #fff 0%, #eef4fc 100%); border: 1px solid var(--line); box-shadow: var(--sh); margin-bottom: 24px; }
.pp-b-head .pp-title { margin: 0; }
.pp-b-grid { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 28px; align-items: start; }
.pp-buybox { position: sticky; top: 172px; background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--sh2); overflow: hidden; padding: 0 22px 22px; }
.pp-buybox-top { margin: 0 -22px 6px; padding: 22px; background: linear-gradient(135deg, #3261A9 0%, #2a5594 70%, #4f8a3a 140%); color: #fff; }
.pp-buybox-top .pp-price { color: #fff; font-size: 2.6rem; }
.pp-label { margin: 0 0 6px; font-size: .85rem; opacity: .85; }
.pp-buybox .pp-row b { color: var(--blue); }
.pp-acc { margin-top: 22px; display: grid; gap: 12px; }
.pp-acc details { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 14px rgba(22,35,58,.04); padding: 0 18px; }
.pp-acc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 0; font-weight: 800; font-size: 1.08rem; cursor: pointer; color: var(--mk-navy, #16233A); }
.pp-acc summary::-webkit-details-marker { display: none; }
.pp-chev { margin-inline-start: auto; color: var(--blue); transition: transform .2s; }
.pp-acc details[open] .pp-chev { transform: rotate(180deg); }
.pp-acc details > :not(summary) { margin-bottom: 16px; }
.pp-acc details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.pp-acc p { line-height: 1.75; }
@media (max-width: 719px) {
  .pp-b-head { flex-direction: column; align-items: flex-start; padding: 18px; }
  .pp-b-grid { grid-template-columns: 1fr; }
  .pp-buybox { position: static; order: -1; }
  .pp-b-main { display: contents; }
  .pp-b-grid > .pp-b-main > .pp-gallery { order: -2; }
  .pp-acc { order: 1; margin-top: 0; }
}

/* production additions */
.pp-b-head-text { min-width: 0; }
.pp-cat .chip { margin: 0; }
.pp-seller-initial { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 1.3rem; flex: 0 0 auto; }
.pp-seller-initial--blue { background: var(--blue); }
.pp-seller-initial--green { background: var(--green); }
.pp-seller-chip { flex: 0 0 auto; max-width: 100%; }
.pp-seller-text { min-width: 0; }
.pp-seller-text b { overflow-wrap: anywhere; }
.pp-no-photo { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); margin: 0; }
.pp-no-photo .ic { width: 44px; height: 44px; color: #9fb0c8; }
.pp-stage .pp-no-photo { background: none; border: 0; min-height: 0; width: auto; padding: 0; align-self: center; justify-self: center; }
.pp-stage--empty { aspect-ratio: 16 / 9; background: #f6f9fd; }
.pp-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pp-thumbs a { display: block; width: 76px; height: 76px; border-radius: 14px; border: 2px solid var(--line); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pp-thumbs a:hover { border-color: color-mix(in srgb, var(--blue) 45%, white); }
.pp-thumbs a[aria-current="true"] { border-color: var(--blue); box-shadow: 0 6px 16px rgba(50,97,169,.22); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-subhead { margin: 14px 0 4px; font-size: 1rem; color: var(--blue); }
.pp-desc { white-space: pre-line; overflow-wrap: anywhere; }
.pp-specs { width: 100%; border-collapse: collapse; }
.pp-specs th, .pp-specs td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pp-specs th { color: var(--muted); font-weight: 600; width: 38%; }
.pp-link { color: var(--blue); font-weight: 700; }
.pp-price-missing { margin: 0; font-size: 1.3rem; font-weight: 700; }
.pp-buybox .pp-row .tax-note { margin: 0; }
.pp-ico-green { background: color-mix(in srgb, var(--green) 18%, white) !important; color: var(--green-d) !important; }
.pp-row-coupon bdi { font-weight: 800; color: var(--blue); letter-spacing: .04em; }
.pp-coupon-note { margin: 0 0 10px; font-size: .84rem; }
.pp-btn-copy { margin-bottom: 8px; min-height: 44px; }
.pp-buybox .pp-actions .button { margin: 0; }
.pp-related .card-media img.card-photo { background: #fff; }
.pp-acc details > p:last-child { margin-bottom: 16px; }
@media (max-width: 719px) {
  .pp-thumbs a { width: 64px; height: 64px; }
  .pp-b-head .pp-seller-chip { align-self: stretch; }
  .pp-buybox-top .pp-price { font-size: 2.2rem; }
  .pp-sticky-price { min-width: 0; }
}

/* ===== TAB product page v2.1: specs, checkout readiness, cart per store (2026-11-11) ===== */
.pp-specs-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)) !important; }
.pp-specs-grid .pp-dim b { font-size: .98rem; line-height: 1.3; overflow-wrap: anywhere; }
.pp-specs-grid .pp-dim:nth-child(3n+2) .pp-ico { background: color-mix(in srgb, var(--green) 16%, white); color: var(--green-d); }
.pp-specs-grid .pp-dim:nth-child(3n) .pp-ico, .pp-specs-grid .pp-dim:nth-child(3n+1) .pp-ico { background: var(--blue-t); color: var(--blue); }
.pp-ico-warn { background: #fff4e0 !important; color: #b86e00 !important; }
.pp-row-held { color: #6b4a12; font-size: .9rem; }
.pp-row-ready { color: #3d5b16; font-size: .9rem; }
.pp-btn-cart2 { background: #fff; color: var(--blue); border: 1.5px solid color-mix(in srgb, var(--blue) 28%, white) !important; }
.pp-btn-cart2:hover { background: var(--blue-t); }
.pp-btn-out-primary { color: #fff !important; }
.pp-sticky .pp-sticky-out { flex: 0 0 52%; min-height: 48px; box-shadow: none; }
.cart-store { border-radius: 20px; box-shadow: 0 8px 24px rgba(22,35,58,.06); }
.cart-store-head { display: flex; align-items: center; gap: 12px; }
.cart-store-head h2 { margin: 0; }
.cart-store-logo { width: 84px; height: 46px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 5px 8px; }
.cart-store-status { margin: 10px 0 12px; padding: 10px 14px; border-radius: 12px; font-size: .9rem; }
.cart-store-status.is-ready { background: color-mix(in srgb, var(--green) 14%, white); color: #3d5b16; }
.cart-store-status.is-held { background: #fff4e0; color: #6b4a12; }
.cart-out { margin-top: 6px; align-self: flex-start; min-height: 38px; }
.cart-copy { display: flex; flex-direction: column; gap: 2px; }
.checkout-fallback ul { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; gap: 8px; }
/* header: plain brand gradient, no text pattern */
.topbar{background:linear-gradient(100deg,#3261A9 0%,#2E5CA0 50%,#2A5594 100%)!important}

/* ---- v2.2: buyer details, copy panel, floating accessibility & privacy (self-hosted) ---- */
.details-panel { max-width: 860px; }
.details-grid { display: grid; gap: 14px 18px; grid-template-columns: 1fr 1fr; }
.details-field { display: flex; flex-direction: column; gap: 6px; }
.details-field label { font-weight: 700; color: var(--ink); }
.details-field .req { color: #B42318; }
.details-field .opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
.details-field input, .details-field textarea { border: 1.5px solid #B9C4D6; border-radius: 10px; padding: 10px 12px; background: white; min-height: 46px; }
.details-field input:focus-visible, .details-field textarea:focus-visible { border-color: var(--blue); outline: 3px solid rgba(50,97,169,.35); outline-offset: 1px; }
.details-field [aria-invalid="true"] { border-color: #B42318; }
.details-notes, .details-address { grid-column: 1 / -1; }
.field-error { margin: 0; color: #B42318; font-size: .9rem; font-weight: 700; }
.notice-error { border-color: #F2B8B5; background: #FEF3F2; color: #7A271A; }
.privacy-note { margin: 18px 0 10px; padding: 12px 14px; border-radius: 12px; background: var(--blue-t); }
.privacy-note h2 { margin: 0 0 6px; font-size: 1rem; }
.privacy-note ul { margin: 0; padding-inline-start: 18px; font-size: .92rem; }
.consent-check { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: start; margin: 12px 0 16px; }
.consent-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); }
.consent-check .field-error { grid-column: 2; }
.details-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.details-forget { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 719px) { .details-grid { grid-template-columns: 1fr; } }

.bd-cta { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; margin: 12px 0; padding: 12px 14px; border: 1px dashed #9FB3D6; border-radius: 12px; background: #F7FAFF; font-size: .92rem; }
.bd-cta.is-saved { border-style: solid; border-color: #B7DB8A; background: #F4FAEC; }
.bd-cta p { margin: 0; }
.bd-cta-icon { grid-row: 1 / span 2; color: var(--blue); display: inline-flex; }
.bd-cta-icon svg { width: 22px; height: 22px; }
.bd-cta-link { font-weight: 700; color: var(--blue); }
.bd-copy { margin: 16px 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #F7FAFF; }
.bd-copy h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.02rem; }
.bd-copy h3 svg { width: 20px; height: 20px; color: var(--blue); }
.bd-copy-list { margin: 10px 0 0; display: grid; gap: 6px; }
.bd-copy-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px; align-items: center; padding: 6px 10px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.bd-copy-row dt { font-weight: 700; color: var(--muted); font-size: .88rem; }
.bd-copy-row dd { margin: 0; overflow-wrap: anywhere; }
.bd-copy-btn .button { min-height: 36px; padding: 4px 14px; font-size: .88rem; }
[data-copy].is-copied { background: #ECF7E1; border-color: #8DC044; color: #2F5A10; }
.bd-copy-foot { margin: 10px 0 0; font-size: .9rem; }
@media (max-width: 520px) { .bd-copy-row { grid-template-columns: 1fr auto; } .bd-copy-row dt { grid-column: 1 / -1; } }

/* Floating cookie card (replaces the inline bottom block) */
.consent.consent-float { position: fixed; z-index: 60; bottom: 16px; inset-inline-start: 16px; width: min(380px, calc(100% - 32px)); margin: 0; padding: 14px 16px; border-radius: 16px; box-shadow: 0 14px 40px rgba(22,35,58,.22); border: 1px solid #D5DEEB; }
.consent-float h2 { margin: 0 0 6px; font-size: 1rem; }
.consent-float .consent-more { margin: 8px 0 0; font-size: .86rem; }
.consent-float .consent-more a { color: var(--blue); }

/* Floating dock: accessibility + privacy, on the left edge in RTL */
.float-dock { position: fixed; z-index: 55; inset-inline-end: 14px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; border: 2px solid white; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(22,35,58,.28); }
.float-a11y { background: var(--blue); color: white; }
.float-privacy { background: white; color: var(--blue); border-color: #D5DEEB; width: 44px; height: 44px; align-self: center; }
.float-btn:hover { filter: brightness(1.08); }
.float-btn:focus-visible { outline: 3px solid #F5B400; outline-offset: 3px; }
.float-btn.is-active::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid white; transform: translate(-17px, -17px); }
.float-panel { position: fixed; z-index: 70; inset-inline-end: 76px; bottom: 16px; width: min(340px, calc(100% - 24px)); max-height: min(78vh, 620px); overflow: auto; background: white; color: var(--ink); border: 1px solid #D5DEEB; border-radius: 16px; box-shadow: 0 18px 50px rgba(22,35,58,.25); padding: 14px 16px 12px; }
.float-panel[hidden] { display: none; }
.float-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.float-head h2 { margin: 0; font-size: 1.1rem; }
.float-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: white; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.a11y-size { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.a11y-size > span { flex: 1; font-weight: 700; }
.a11y-size output { min-width: 56px; text-align: center; font-weight: 700; direction: ltr; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-btn { min-height: 44px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid #C9D4E5; background: #F7FAFF; color: var(--ink); font-weight: 700; cursor: pointer; text-align: center; }
.a11y-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: white; }
.a11y-btn[aria-pressed="true"]::before { content: "✓ "; }
.a11y-reset { width: 100%; margin-top: 10px; background: white; }
.float-foot { margin: 10px 0 0; text-align: center; font-size: .9rem; }
.float-foot a, .privacy-links a { color: var(--blue); font-weight: 700; }
.privacy-panel p { margin: 0 0 8px; font-size: .92rem; }
.privacy-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.privacy-links { margin: 0; padding-inline-start: 18px; display: grid; gap: 4px; }
.float-noscript { position: fixed; bottom: 6px; inset-inline-end: 8px; margin: 0; font-size: .8rem; background: white; padding: 4px 8px; border-radius: 8px; }
@media (max-width: 719px) {
  .float-dock { bottom: auto; top: 58%; transform: translateY(-50%); inset-inline-end: 8px; }
  .float-btn { width: 46px; height: 46px; }
  .float-privacy { width: 40px; height: 40px; }
  .float-panel { inset-inline: 10px; bottom: 10px; width: auto; max-height: 72vh; }
  body:has(.sticky-buy) .float-panel { bottom: 86px; }
  .consent.consent-float { inset-inline: 10px; bottom: 10px; width: auto; }
  body:has(.sticky-buy) .consent.consent-float { bottom: 86px; }
}

/* Accessibility switches (classes set on <html> by a11y-boot.js / a11y.js) */
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }
html.a11y-fs-3 { font-size: 137.5%; }
html.a11y-fs-4 { font-size: 150%; }
html.a11y-links a:not(.button):not(.float-btn) { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html.a11y-links a:not(.float-btn) { outline: 1px dashed currentColor; outline-offset: 1px; }
html.a11y-font body, html.a11y-font button, html.a11y-font input, html.a11y-font select, html.a11y-font textarea { font-family: Arial, "Helvetica Neue", "Noto Sans Hebrew", sans-serif !important; letter-spacing: .01em; word-spacing: .08em; }
html.a11y-font body { line-height: 1.7; }
html.a11y-gray { filter: grayscale(1); }
html.a11y-cursor, html.a11y-cursor * { cursor: url("/brand/cursor-big.svg") 6 3, auto !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-contrast { --ink: #000; --muted: #111; --line: #000; --bg: #fff; --paper: #fff; --blue: #0B3D91; --navy: #0B3D91; --blue-t: #fff; }
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast a:not(.button):not(.float-btn) { color: #0033AA !important; text-decoration: underline; }
html.a11y-contrast .panel, html.a11y-contrast .card, html.a11y-contrast .pp-buybox, html.a11y-contrast .product-card, html.a11y-contrast .offer-card { border: 2px solid #000 !important; box-shadow: none !important; background: #fff !important; }
html.a11y-contrast .button:not(.secondary) { background: #000 !important; color: #fff !important; border: 2px solid #000 !important; }
html.a11y-contrast .button.secondary { background: #fff !important; color: #000 !important; border: 2px solid #000 !important; }
html.a11y-contrast .topbar { background: #000 !important; }
html.a11y-contrast .muted, html.a11y-contrast .quiet, html.a11y-contrast .tax-note { color: #111 !important; }
html.a11y-contrast :focus-visible { outline: 4px solid #F5B400 !important; outline-offset: 2px; }
html.a11y-contrast img { filter: none; }

/* Motion preference from the OS, everywhere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
/* "Our stores" logo marquee: pure CSS, always running (no pause on hover/focus/idle, unaffected by JS errors).
   Two identical halves + translateX(-50%) = seamless loop. Under OS reduced-motion it keeps moving slowly;
   only the explicit accessibility switch "עצירת אנימציות" (html.a11y-still) stops it. */
.sm-stores .sm-track { display: flex !important; flex-wrap: nowrap !important; width: max-content !important; justify-content: flex-start !important; animation: sm-loop 70s linear infinite !important; animation-play-state: running !important; will-change: transform; }
.sm-stores .sm-set { flex-wrap: nowrap !important; flex: 0 0 auto; }
.sm-stores .sm-set[aria-hidden="true"] { display: flex !important; }
.sm-stores .sm-marquee:hover .sm-track, .sm-stores .sm-marquee:focus-within .sm-track { animation-play-state: running !important; }
@keyframes sm-loop { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 719px) { .sm-stores .sm-track { animation-duration: 50s !important; } }
@media (prefers-reduced-motion: reduce) {
  .sm-stores .sm-track { animation-duration: 160s !important; animation-iteration-count: infinite !important; }
  .sm-stores .sm-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
}
html.a11y-still .sm-stores .sm-track { animation: none !important; }
/* Stronger, consistent keyboard focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(255,255,255,.9); }
.topbar a:focus-visible, .topbar button:focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px rgba(22,35,58,.6); }
