:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #62707d;
  --line: #dfe6eb;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --blue: #1768ac;
  --blue-dark: #0f4777;
  --carmel: #b97135;
  --olive: #667348;
  --coral: #d66556;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Noto Sans Hebrew", "Segoe UI", sans-serif;
  text-align: right;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 230, 235, 0.85);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 175px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.section-kicker,
.product-meta,
.cart-item small {
  color: var(--muted);
}

.search {
  position: relative;
}

.search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  direction: rtl;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--blue);
}

.cart-button,
.primary-action,
.secondary-action,
.category-button,
.add-button,
.checkout,
.quantity button,
.cart-head button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
}

.cart-button strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 0.82rem;
}

.hero {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(44px, 8vw, 96px) clamp(18px, 4vw, 56px) 42px;
  background:
    linear-gradient(270deg, rgba(23, 32, 42, 0.8), rgba(23, 32, 42, 0.32)),
    url("https://images.unsplash.com/photo-1544971587-b842c27f8e14?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: white;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 760;
}

.primary-action {
  background: white;
  color: var(--ink);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: white;
}

.hero-panel {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-panel span,
.hero-panel small {
  color: rgba(255, 255, 255, 0.76);
}

.hero-panel strong {
  font-size: 1.5rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-strip div {
  display: grid;
  gap: 4px;
  padding: 22px clamp(18px, 4vw, 56px);
  border-left: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-left: 0;
}

.trust-strip span {
  color: var(--muted);
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  padding: 52px clamp(18px, 4vw, 56px);
}

.filters {
  position: sticky;
  top: 94px;
  align-self: start;
}

.filters h2,
.section-head h2,
.maker-band h2,
.cart-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  line-height: 1.1;
}

.category-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.category-button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-align: right;
}

.category-button.active {
  border-color: var(--blue);
  background: #eef6fc;
  color: var(--blue-dark);
  font-weight: 800;
}

.section-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-head select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.06);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9eef2;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-title {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.product-title h3 {
  margin: 0;
  font-size: 1.05rem;
}

.price {
  white-space: nowrap;
  color: var(--blue-dark);
  font-weight: 850;
}

.product-meta {
  margin: 0;
  min-height: 42px;
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  border-radius: 999px;
  padding: 5px 9px;
  background: #f0f2ec;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 760;
}

.add-button,
.checkout {
  min-height: 44px;
  background: var(--blue);
  color: white;
  font-weight: 820;
}

.add-button:hover,
.checkout:hover {
  background: var(--blue-dark);
}

.maker-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: start;
  margin: 0 clamp(18px, 4vw, 56px) 56px;
  padding: 36px;
  border-right: 8px solid var(--carmel);
  background: var(--surface);
}

.maker-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.cart-scrim {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 42, 0.36);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-drawer.open .cart-scrim {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: min(440px, 100%);
  height: 100%;
  grid-template-rows: auto 1fr auto;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(-100%);
  transition: transform 220ms ease;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-head,
.cart-summary {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.cart-head button {
  width: 40px;
  height: 40px;
  background: #f1f4f6;
  font-size: 1.45rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  padding: 18px 22px;
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
}

.cart-item img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.cart-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.quantity {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity button {
  width: 32px;
  height: 30px;
  background: white;
}

.quantity span {
  display: grid;
  min-width: 32px;
  place-items: center;
}

.cart-summary {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
}

.cart-summary .total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

.empty {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .search,
  .nav-links {
    grid-column: 1 / -1;
  }

  .hero,
  .shop-layout,
  .maker-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .filters {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 12px;
  }

  .nav-links {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .trust-strip,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .maker-band {
    padding: 24px;
  }
}
