@font-face {
  font-family: "MainFont";
  src: url("../assets/fonts/Rubik-Bold.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NoyaEnglish";
  src: url("../assets/fonts/BebasNeue-Regular.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HebrewFont";
  src: url("../assets/fonts/StamSefaradCLM.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #071b34;
  --navy-2: #102944;
  --gold: #102944;
  --gold-soft: #ead7b5;
  --cream: #fbf8f3;
  --paper: #fff;
  --ink: #101b2c;
  --muted: #7d8490;
  --line: #e8e1d8;
  --danger: #b94141;
  --shadow: 0 18px 45px rgba(24, 31, 44, 0.09);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: linear-gradient(180deg, #fdfbf8, #f7f2eb);
  color: var(--ink);
  font-family: "MainFont", sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  color: inherit;
}
.app-shell {
  width: min(100%, 760px);
  margin: auto;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.08);
  padding-bottom: 110px;
}
.topbar {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: #17373e;
  color: #f1e3c5;
  border-bottom: 2px solid #c99747;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 52px;
  height: 58px;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 28px 28px 4px 4px;
  position: relative;
  display: grid;
  place-items: center;
}
.brand-mark:after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 70%;
  height: 2px;
  background: var(--gold);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-copy strong {
  font-family: "NoyaEnglish", serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  color: #f1e3c5;
}
.brand-copy small {
  font-family: "HebrewFont", sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: #d7aa61;
  line-height: 1.2;
  margin-top: 6px;
  letter-spacing: 0.5px;
  text-shadow: none;
}
.icon-button {
  border: 0;
  background: transparent;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}
.icon-button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.badge {
  position: absolute;
  transform: translate(-17px, -18px);
  background: var(--gold);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.cart-trigger {
  position: relative;
}
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: relative;
  flex: 0 0 auto;
}
.icon:before,
.icon:after {
  content: "";
  position: absolute;
}
.icon-menu:before {
  width: 28px;
  height: 18px;
  border-top: 2px solid;
  border-bottom: 2px solid;
  right: -2px;
  top: 3px;
}
.icon-menu:after {
  width: 18px;
  border-top: 2px solid;
  right: -2px;
  top: 11px;
}
.icon-cart:before {
  width: 18px;
  height: 13px;
  border: 2px solid;
  border-top: 0;
  transform: skew(-8deg);
  top: 4px;
  right: 2px;
}
.icon-cart:after {
  width: 4px;
  height: 4px;
  border: 2px solid;
  border-radius: 50%;
  box-shadow:
    12px 0 0 -2px #fff,
    12px 0 0 0 currentColor;
  bottom: 0;
  right: 3px;
}
.icon-search:before {
  width: 14px;
  height: 14px;
  border: 2px solid;
  border-radius: 50%;
  top: 1px;
  right: 2px;
}
.icon-search:after {
  width: 9px;
  border-top: 2px solid;
  transform: rotate(45deg);
  right: -2px;
  bottom: 4px;
}
.icon-arrow-left:before {
  width: 12px;
  border-top: 2px solid;
  top: 11px;
  right: 4px;
}
.icon-arrow-left:after {
  width: 8px;
  height: 8px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
  left: 2px;
  top: 7px;
}
.icon-arrow-right:before {
  width: 12px;
  border-top: 2px solid;
  top: 11px;
  left: 4px;
}
.icon-arrow-right:after {
  width: 8px;
  height: 8px;
  border-right: 2px solid;
  border-top: 2px solid;
  transform: rotate(45deg);
  right: 2px;
  top: 7px;
}
.icon-close:before,
.icon-close:after {
  width: 22px;
  border-top: 2px solid;
  top: 11px;
  right: 1px;
}
.icon-close:before {
  transform: rotate(45deg);
}
.icon-close:after {
  transform: rotate(-45deg);
}
.icon-heart:before {
  width: 16px;
  height: 16px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg);
  top: 4px;
  right: 4px;
  border-radius: 0 0 0 3px;
}
.icon-heart:after {
  width: 9px;
  height: 9px;
  border: 2px solid;
  border-bottom: 0;
  border-left: 0;
  border-radius: 50% 50% 0 0;
  top: 2px;
  right: 2px;
  box-shadow:
    -8px -1px 0 -2px #fff,
    -8px -1px 0 0 currentColor;
}
.favorite-button.active .icon-heart:before {
  background: var(--gold);
  border-color: var(--gold);
}
.favorite-button.active .icon-heart:after {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow:
    -8px -1px 0 -2px #fff,
    -8px -1px 0 0 var(--gold);
}
.icon-home:before {
  width: 17px;
  height: 15px;
  border: 2px solid;
  border-top: 0;
  bottom: 1px;
  right: 3px;
}
.icon-home:after {
  width: 15px;
  height: 15px;
  border-left: 2px solid;
  border-top: 2px solid;
  transform: rotate(45deg);
  top: 1px;
  right: 4px;
}
.icon-grid:before {
  width: 7px;
  height: 7px;
  border: 2px solid;
  border-radius: 2px;
  box-shadow:
    12px 0 0 -2px #fff,
    12px 0 0 0 currentColor,
    0 12px 0 -2px #fff,
    0 12px 0 0 currentColor,
    12px 12px 0 -2px #fff,
    12px 12px 0 0 currentColor;
  top: 1px;
  right: 1px;
}
.icon-user:before {
  width: 9px;
  height: 9px;
  border: 2px solid;
  border-radius: 50%;
  right: 6px;
}
.icon-user:after {
  width: 20px;
  height: 10px;
  border: 2px solid;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  right: 1px;
  bottom: 1px;
}
.icon-book:before {
  width: 19px;
  height: 16px;
  border: 2px solid;
  border-radius: 3px;
  right: 2px;
  top: 4px;
}
.icon-book:after {
  height: 16px;
  border-left: 2px solid;
  right: 11px;
  top: 4px;
}
.icon-gift:before {
  width: 20px;
  height: 16px;
  border: 2px solid;
  right: 1px;
  bottom: 1px;
}
.icon-gift:after {
  width: 24px;
  border-top: 2px solid;
  right: -1px;
  top: 8px;
  box-shadow: 10px -5px 0 -8px transparent;
}
.icon-star:before {
  content: "✡";
  font-size: 24px;
  line-height: 24px;
}
.icon-shield:before {
  width: 17px;
  height: 20px;
  border: 2px solid;
  border-radius: 3px 3px 9px 9px;
  right: 3px;
}
.icon-truck:before {
  width: 15px;
  height: 12px;
  border: 2px solid;
  right: 7px;
  top: 4px;
}
.icon-truck:after {
  width: 5px;
  height: 5px;
  border: 2px solid;
  border-radius: 50%;
  bottom: 1px;
  right: 2px;
  box-shadow:
    -13px 0 0 -2px #fff,
    -13px 0 0 0 currentColor;
}
.icon-headset:before {
  width: 20px;
  height: 17px;
  border: 2px solid;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  right: 1px;
  top: 2px;
}
.icon-headset:after {
  width: 4px;
  height: 9px;
  border: 2px solid;
  border-radius: 3px;
  right: 0;
  bottom: 1px;
  box-shadow:
    -18px 0 0 -2px #fff,
    -18px 0 0 0 currentColor;
}
.icon-badge:before {
  width: 17px;
  height: 17px;
  border: 2px solid;
  border-radius: 50%;
  right: 3px;
}
.icon-badge:after {
  content: "✓";
  font-size: 14px;
  font-weight: 800;
  right: 7px;
  top: 1px;
}
.icon-arch:before {
  width: 22px;
  height: 29px;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  right: 1px;
  top: -1px;
}
.icon-arch:after {
  width: 10px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  right: 7px;
  bottom: 1px;
}
.icon-box:before {
  width: 19px;
  height: 17px;
  border: 2px solid;
  right: 2px;
  top: 4px;
}
.icon-edit:before {
  width: 16px;
  border-top: 3px solid;
  transform: rotate(-45deg);
  top: 11px;
  right: 3px;
}
.icon-edit:after {
  width: 5px;
  height: 5px;
  border: 2px solid;
  right: 0;
  top: 3px;
  transform: rotate(-45deg);
}
.icon-trash:before {
  width: 14px;
  height: 17px;
  border: 2px solid;
  border-top: 0;
  right: 5px;
  top: 6px;
}
.icon-trash:after {
  width: 18px;
  border-top: 2px solid;
  right: 3px;
  top: 4px;
  box-shadow: -7px -3px 0 -6px transparent;
}
.icon-receipt:before {
  width: 17px;
  height: 21px;
  border: 2px solid;
  border-radius: 2px;
  right: 3px;
}
.icon-receipt:after {
  width: 9px;
  border-top: 2px solid;
  box-shadow:
    0 5px 0 currentColor,
    0 10px 0 currentColor;
  right: 7px;
  top: 6px;
}
.icon-logout:before {
  width: 13px;
  height: 18px;
  border: 2px solid;
  border-left: 0;
  right: 1px;
  top: 2px;
}
.icon-logout:after {
  width: 15px;
  border-top: 2px solid;
  top: 11px;
  right: 8px;
}
.icon-tallit:before {
  width: 16px;
  height: 20px;
  border: 2px solid;
  border-radius: 3px;
  right: 4px;
  top: 1px;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 5px,
    var(--gold) 5px 7px
  );
}
.icon-mezuzah:before {
  width: 8px;
  height: 21px;
  border: 2px solid;
  border-radius: 6px;
  transform: rotate(20deg);
  right: 8px;
  top: 0;
}
.icon-tefillin:before {
  width: 10px;
  height: 10px;
  border: 2px solid;
  right: 3px;
  top: 7px;
  box-shadow:
    -10px 0 0 -2px #fff,
    -10px 0 0 0 currentColor;
}
.search-wrap {
  padding: 0 28px 22px;
}
.search-field {
  height: 58px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.search-field input {
  border: 0;
  outline: 0;
  flex: 1;
  background: transparent;
  font-size: 16px;
}
.hero {
  margin: 0 28px;
  height: 430px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, rgba(7, 27, 52, 0.15), rgba(7, 27, 52, 0.82)),
    url("../assets/images/hero-banner.jpg") center / cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 27, 52, 0.15),
    rgba(7, 27, 52, 0.65)
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 56%;
  padding: 55px 0 0 36px;
  margin-right: auto;
}
.hero-kicker,
.section-eyebrow {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.8px;
}
.hero h1 {
  font-family: "MainFont", sans-serif;
  font-size: 42px;
  line-height: 1.12;
  margin: 10px 0 16px;
}
.hero p {
  font-size: 16px;
  line-height: 1.7;
  color: #ece7df;
  margin: 0 0 26px;
}
.primary-button,
.ghost-button,
.google-button {
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}
.primary-button {
  background: linear-gradient(135deg, #d7aa61, #bd8737);
  color: #fff;
  box-shadow: 0 10px 22px rgba(189, 135, 55, 0.25);
}
.primary-button.wide {
  width: 100%;
}
.ghost-button {
  background: #f2eee8;
  color: var(--ink);
}

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 20px;
  left: 50%;
  display: flex;
  gap: 12px;
}
.hero-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.75;
}
.hero-dots .active {
  width: 24px;
  border-radius: 8px;
  background: var(--gold);
  opacity: 1;
}
.categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  padding: 32px 28px 26px;
  overflow-x: auto;
}
.categories button {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 78px;
  cursor: pointer;
}
.category-icon {
  width: 72px;
  height: 72px;
  border: 1px solid #eee7df;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.05);
  color: var(--gold);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 18px 28px;
}
.section-head h2,
.about-card h2,
.admin-card h2 {
  font-family: "MainFont", sans-serif;
  font-size: 31px;
  margin: 4px 0 0;
}
.text-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  cursor: pointer;
}
.text-button.centered {
  margin: 18px auto 0;
  display: flex;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 28px 30px;
}
.product-card {
  background: #fff;
  border: 1px solid #ede7df;
  border-radius: 20px;
  padding: 12px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}
.favorite-button {
  position: absolute;
  top: 13px;
  right: 13px;
  border: 0;
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}
.product-image {
  height: 210px;
  border-radius: 15px;
  background: linear-gradient(145deg, #faf8f4, #f1ece5);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-image img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}
.product-info {
  padding: 12px 5px 8px;
}
.product-category {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}
.product-info h3 {
  font-size: 18px;
  margin: 3px 0;
}
.product-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  min-height: 39px;
}
.product-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 4px 3px;
}
.price {
  display: flex;
  flex-direction: column;
}
.price strong {
  font-size: 22px;
}
.price del {
  font-size: 12px;
  color: #9d9d9d;
}
.add-button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d7aa61, #bd8737);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.about-card {
  margin: 10px 28px 30px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, #f8f1e7);
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid #eee4d6;
}
.about-card p {
  line-height: 1.9;
  color: #555f6b;
  margin-bottom: 0;
}
.about-photo {
  width: 150px;
  flex: 0 0 150px;
  background: #fff;
  border: 1px solid var(--gold);
  padding: 7px;
  box-shadow: 6px 6px 0 rgba(201, 151, 71, 0.14);
  align-self: flex-start;
}

.about-photo img {
  width: 100%;
  height: 185px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.about-photo span {
  display: block;
  padding: 10px 5px 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}
.benefits {
  margin: 0 28px 25px;
  background: #f8f4ee;
  border-radius: 24px;
  padding: 22px 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.benefits article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border-left: 1px solid #e5ddd2;
}
.benefits article:last-child {
  border-left: 0;
}
.benefits .icon {
  color: var(--navy);
}
.benefits strong {
  font-size: 14px;
  display: block;
}
.benefits small {
  font-size: 11px;
  color: var(--muted);
}

.bottom-nav span {
  display: block;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}
.bottom-nav .active img {
  filter: sepia(1) saturate(3.5) hue-rotate(350deg) brightness(0.8);
}

.bottom-nav .active img {
  filter: none;
}

.bottom-nav a:not(.active) img,
.bottom-nav button img {
  opacity: 0.85;
}
.side-panel,
.cart-panel {
  position: fixed;
  z-index: 41;
  top: 0;
  bottom: 0;
  width: min(88vw, 420px);
  background: #fff;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease;
}
.side-panel {
  right: 0;
  transform: translateX(105%);
}
.cart-panel {
  left: 0;
  transform: translateX(-105%);
  display: flex;
  flex-direction: column;
}
.side-panel.open,
.cart-panel.open {
  transform: none;
}
.panel-head {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}
.panel-links {
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.panel-links a {
  padding: 17px 14px;
  text-decoration: none;
  border-bottom: 1px solid #f0ece6;
}
.overlay {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(2, 13, 25, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.panel-open {
  overflow: hidden;
}
.cart-items {
  padding: 18px;
  overflow: auto;
  flex: 1;
}
.cart-row {
  display: grid;
  grid-template-columns: 76px 1fr 34px;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: #f7f2eb;
  border-radius: 12px;
}
.cart-row small {
  display: block;
  color: var(--gold);
  font-weight: 700;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.quantity button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
}
.remove-button {
  border: 0;
  background: transparent;
}
.cart-summary {
  padding: 22px;
  border-top: 1px solid var(--line);
}
.cart-summary > div {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  margin-bottom: 18px;
}
.cart-empty,
.empty-products,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  color: var(--muted);
  padding: 60px 25px;
}
.cart-empty .icon,
.empty-products .icon,
.empty-state .icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
}
.empty-products {
  grid-column: 1/-1;
}
.toast-stack {
  position: fixed;
  z-index: 100;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(92vw, 420px);
}
.toast {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-15px);
  transition: 0.25s;
}
.toast.show {
  opacity: 1;
  transform: none;
}
.toast-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.toast.error .toast-icon {
  background: var(--danger);
}
.toast.info .toast-icon {
  background: var(--navy);
}
.auth-page,
.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 25px;
  background:
    radial-gradient(circle at 80% 10%, #f1e4cf, transparent 35%),
    linear-gradient(135deg, #faf6ef, #fff);
}
.auth-shell {
  width: min(100%, 520px);
}
.auth-brand {
  justify-content: center;
  margin-bottom: 24px;
}
.auth-card,
.not-found-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.auth-card h1,
.not-found-card h1 {
  font-family: "MainFont", sans-serif;
  font-size: 38px;
  margin: 5px 0 8px;
}
.auth-card > p,
.not-found-card p {
  color: var(--muted);
  line-height: 1.7;
}
.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-card label,
.content-form label,
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 600;
}
.auth-card input,
.content-form input,
.content-form textarea,
.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  padding: 14px 15px;
  outline: 0;
}
.auth-card input:focus,
.content-form input:focus,
.content-form textarea:focus,
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 151, 71, 0.12);
}
.google-button {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  margin: 16px 0;
}
.google-mark {
  font-size: 20px;
  color: #4285f4;
  font-weight: 800;
}
.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin: 8px 0 18px;
}
.auth-separator:before,
.auth-separator:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  margin-top: 22px;
  color: var(--muted);
}
.not-found-card {
  width: min(100%, 620px);
  text-align: center;
}
.not-found-card .brand {
  justify-content: center;
}
.not-found-number {
  font-family: "MainFont", sans-serif;
  font-size: 120px;
  line-height: 1;
  color: var(--gold);
  margin: 30px 0 0;
  text-shadow: 0 10px 30px rgba(201, 151, 71, 0.18);
}
.admin-page {
  background: #f5f2ed;
}
.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
}
.admin-sidebar {
  background: var(--navy);
  color: #fff;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar .brand-copy small {
  color: #d8b77f;
}
.admin-sidebar .brand-mark {
  width: 44px;
  height: 49px;
}
.admin-sidebar .brand-copy strong {
  font-size: 24px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 55px;
}
.admin-sidebar nav button,
.admin-logout {
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  text-align: right;
  cursor: pointer;
}
.admin-sidebar nav button.active,
.admin-sidebar nav button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}
.admin-logout {
  margin-top: auto;
}
.admin-main {
  padding: 30px 34px;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.admin-topbar h1 {
  font-family: "MainFont", sans-serif;
  font-size: 38px;
  margin: 2px 0;
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  padding: 9px 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.admin-user small {
  display: block;
  color: var(--muted);
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.admin-section {
  display: none;
}
.admin-section.active {
  display: block;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.stats-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.stats-grid .icon {
  color: var(--gold);
  width: 32px;
  height: 32px;
}
.stats-grid small {
  color: var(--muted);
  display: block;
}
.stats-grid strong {
  font-size: 30px;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.03);
}
.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.activity-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.activity-list small {
  display: block;
  color: var(--muted);
}
.admin-product-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.admin-product-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f7f3ed;
  border-radius: 12px;
}
.admin-product-info small {
  display: block;
  color: var(--muted);
}
.admin-row-actions {
  display: flex;
  gap: 7px;
}
.admin-row-actions button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.content-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-dialog {
  border: 0;
  border-radius: 24px;
  width: min(92vw, 720px);
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.product-dialog::backdrop {
  background: rgba(3, 16, 29, 0.62);
}
.product-dialog form {
  padding: 26px;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.dialog-head h2 {
  font-family: "MainFont", sans-serif;
  font-size: 30px;
  margin: 3px 0 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
@media (max-width: 760px) {
  .app-shell {
    width: 100%;
    box-shadow: none;
  }
  .topbar {
    height: 92px;
    padding: 13px 18px;
  }
  .topbar .icon-button {
    color: #f1e3c5;
  }
  .brand-copy strong {
    font-size: 25px;
  }
  .brand-mark {
    width: 44px;
    height: 49px;
  }
  .search-wrap {
    padding: 0 16px 18px;
  }
  .hero {
    margin: 0 16px;
    height: 405px;
  }
  .hero-content {
    width: 60%;
    padding: 38px 0 0 24px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-cloth {
    width: 180px;
  }
  .categories {
    padding: 26px 16px 20px;
  }
  .section-head {
    padding: 16px;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .products-grid {
    padding: 0 16px 25px;
    gap: 11px;
  }
  .product-image {
    height: 165px;
  }
  .product-info h3 {
    font-size: 16px;
  }
  .product-info p {
    font-size: 12px;
  }
  .benefits {
    margin: 0 16px;
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits article {
    border-left: 0;
    border-bottom: 1px solid #e5ddd2;
    padding: 10px;
  }
  .about-card {
    margin: 8px 16px 24px;
    padding: 24px;
    flex-direction: column;
  }
  .about-photo {
    width: 100%;
    flex: none;
  }

  .about-photo img {
    height: 260px;
    object-fit: contain;
    background: #f7f2eb;
  }
  .admin-layout {
    display: block;
  }
  .admin-sidebar {
    height: auto;
    position: relative;
    padding: 15px;
  }
  .admin-sidebar nav {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .admin-sidebar nav button {
    font-size: 0;
    justify-content: center;
  }
  .admin-logout {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 0;
  }
  .admin-main {
    padding: 20px 14px;
  }
  .admin-topbar {
    align-items: flex-start;
  }
  .admin-user {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stats-grid article {
    padding: 15px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
}
@media (max-width: 470px) {
  .hero {
    height: 380px;
  }
  .hero-content {
    width: 66%;
    padding: 33px 0 0 18px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero p {
    font-size: 13px;
    line-height: 1.55;
  }
  .hero-art {
    opacity: 0.82;
  }
  .categories {
    gap: 7px;
  }
  .category-icon {
    width: 62px;
    height: 62px;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-card {
    padding: 8px;
  }
  .product-image {
    height: 135px;
  }
  .product-info h3 {
    font-size: 14px;
  }
  .product-bottom .price strong {
    font-size: 18px;
  }
  .add-button {
    width: 41px;
    height: 41px;
  }
  .auth-card,
  .not-found-card {
    padding: 27px;
  }
  .not-found-number {
    font-size: 92px;
  }
  .stats-grid article {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-product-row {
    grid-template-columns: 58px 1fr auto;
  }
  .admin-product-row img {
    width: 58px;
    height: 58px;
  }
}

:root {
  --radius: 2px;
}
.app-shell,
.topbar,
.search-field,
.hero,
.primary-button,
.category-icon,
.product-card,
.product-image,
.add-button,
.about-card,
.benefits,
.bottom-nav,
.side-panel,
.cart-panel,
.cart-row img,
.quantity,
.quantity button,
.toast,
.auth-card,
.google-button,
input,
textarea,
select,
.not-found-card,
.admin-card,
.stats-grid article,
.admin-product-row img,
.admin-row-actions button,
.product-dialog {
  border-radius: 2px !important;
}
.hero {
  clip-path: polygon(0 0, 100% 0, 100% 93%, 94% 100%, 0 100%);
}
.product-card {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%
  );
}
.primary-button,
.add-button {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%
  );
}
.brand-mark {
  display: none !important;
}
.brand-logo {
  width: 72px;
  height: 62px;
  object-fit: contain;
  display: block;
}
.ui-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.icon-menu,
.icon-arrow-left,
.icon-arrow-right,
.icon-close {
  display: inline-block !important;
  width: 24px;
  height: 24px;
  position: relative;
  flex: 0 0 auto;
}

.icon-menu::before,
.icon-menu::after,
.icon-arrow-left::before,
.icon-arrow-left::after,
.icon-arrow-right::before,
.icon-arrow-right::after,
.icon-close::before,
.icon-close::after {
  display: block !important;
}
.badge {
  border-radius: 2px !important;
}
.hero-dots span,
.activity-dot,
.avatar {
  border-radius: 2px !important;
}
.search-field {
  border: 1px solid #d9d1c6;
  background: #fff;
}
.product-card,
.about-card,
.benefits,
.auth-card,
.not-found-card,
.admin-card,
.stats-grid article {
  box-shadow: 6px 6px 0 rgba(7, 27, 52, 0.06);
}

.hero-art {
  display: none !important;
}

.hero-content {
  width: 100% !important;
  max-width: 520px;
  padding: 55px 36px 0 !important;
  margin: 0 !important;
}

.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: relative;
  flex: 0 0 auto;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  display: block;
}

.icon-menu::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  top: 3px;
  right: -2px;
  box-shadow:
    0 8px 0 currentColor,
    0 16px 0 currentColor;
}

.icon-menu::after {
  display: none;
}

.icon-arrow-left::before {
  width: 18px;
  height: 2px;
  background: currentColor;
  top: 11px;
  left: 3px;
}

.icon-arrow-left::after {
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  top: 6px;
  left: 3px;
}

.icon-arrow-right::before {
  width: 18px;
  height: 2px;
  background: currentColor;
  top: 11px;
  right: 3px;
}

.icon-arrow-right::after {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  top: 6px;
  right: 3px;
}

.icon-close::before,
.icon-close::after {
  width: 24px;
  height: 2px;
  background: currentColor;
  top: 11px;
  right: 0;
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.ui-icon,
.brand-logo {
  image-rendering: auto;
}

.ui-icon {
  flex: 0 0 auto;
}

.google-button .ui-icon {
  width: 22px;
  height: 22px;
}

.about-badge .ui-icon,
.benefits .ui-icon {
  object-fit: contain;
}

.bottom-nav span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  text-align: center;
}

.bottom-nav {
  display: none !important;
}

.app-shell {
  padding-bottom: 40px;
}
.catalog-section {
  padding-top: 15px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 28px 30px;
}

.category-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(7, 27, 52, 0.05);
}

.category-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.72;
  overflow: hidden;
  background: #f7f3ed;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.category-card strong {
  display: block;
  padding: 14px 8px;
  font-size: 15px;
}

.category-card.active {
  border-color: var(--gold);
  box-shadow: 5px 5px 0 rgba(201, 151, 71, 0.2);
}

.product-card {
  cursor: pointer;
}

.view-product {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.product-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.product-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-card {
  position: relative;
  z-index: 61;
  width: min(92vw, 620px);
  max-height: 90vh;
  overflow-y: auto;
  background: #fffaf4;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.product-modal-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}
.product-modal-image {
  width: 100%;
  height: 500px;
  display: grid;
  place-items: center;
  background: #f4efe8;
  overflow: hidden;
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-modal-content {
  position: relative;
  padding: 28px 34px 34px;
  background: #fffaf4;
}

.product-modal-content h2 {
  margin: 8px 0 12px;
  font-size: 30px;
  line-height: 1.35;
  color: var(--ink);
}

.product-modal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.product-modal-price {
  display: block;
  margin-top: 22px;
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}

@media (max-width: 760px) {
  .categories-grid {
    padding: 0 16px 25px;
  }
}

@media (max-width: 520px) {
  .product-modal {
    padding: 10px;
  }

  .product-modal-card {
    width: 100%;
    max-height: 92vh;
  }

  .product-modal-image {
    height: 360px;
  }

  .product-modal-content {
    padding: 22px 20px 28px;
  }

  .product-modal-content h2 {
    font-size: 24px;
  }

  .product-modal-price {
    font-size: 27px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-modal-image {
    height: 280px;
  }

  .product-modal-content {
    padding: 22px;
  }
}
.topbar-space {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}
.button-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-slider {
  position: relative;
  margin: 0 28px;
  height: 430px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 93%, 94% 100%, 0 100%);
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 27, 52, 0.18),
    rgba(7, 27, 52, 0.82)
  );
}

.hero-slider .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  padding: 55px 36px 0;
  color: #fff;
}

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(7, 27, 52, 0.58);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(7, 27, 52, 0.85);
}

.hero-arrow-prev {
  right: 16px;
}

.hero-arrow-next {
  left: 16px;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 0;
}

.hero-dot.active {
  width: 24px;
  background: var(--gold);
}

@media (max-width: 760px) {
  .hero-slider {
    margin: 0 16px;
    height: 405px;
  }

  .hero-slider .hero-content {
    padding: 38px 24px 0;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 470px) {
  .hero-slider {
    height: 380px;
  }

  .hero-slider .hero-content {
    padding: 33px 18px 0;
  }

  .hero-arrow {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .hero-arrow-prev {
    right: 16px;
  }

  .hero-arrow-next {
    left: 16px;
  }
}

.hero-slider {
  touch-action: pan-y;
  overscroll-behavior: contain;
  user-select: none;
}

.rabbi-name {
  color: var(--gold);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  border-radius: 50%;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.28);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .whatsapp-float {
    left: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}

.site-footer {
  width: 100%;
  margin-top: 50px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.footer-bottom {
  width: 100%;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #123c69;
  color: rgba(255, 255, 255, 0.8);

  font-size: 11px;
  font-weight: 400;
  direction: ltr;
}

.footer-bottom a {
  margin-left: 4px;
  color: #d8b46a;
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom a:hover {
  opacity: 0.75;
}
body {
  margin-bottom: 0;
  padding-bottom: 0;
}

.site-footer {
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-bottom {
  margin-bottom: 0;
}