:root {
  --bg: #fffbea;
  --surface: #ffffff;
  --ink: #1f2d3d;
  --muted: #5f6b78;
  --line: #ece3c4;
  --yellow: #fff1bf;
  --yellow-soft: #fff7da;
  --blue: #2f5f96;
  --blue-dark: #1f4473;
  --blue-light: #dcebfa;
  --blue-soft: #eef6fe;
  --pink: #e8857a;
  --radius: 14px;
  --font-body: "Assistant", system-ui, sans-serif;
  --font-head: "Rubik", "Assistant", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.section { padding-block: 64px; }
.section-title { font-size: clamp(24px, 4vw, 34px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head a { color: var(--blue); text-decoration: none; font-weight: 600; }
.inf { color: var(--blue); }
.band-yellow { background: var(--yellow-soft); }
.band-blue { background: var(--blue-soft); }

/* header: logo and menu on the right, cart on the left */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 36px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-size: 21px; font-weight: 500; flex-shrink: 0; }
.brand img { border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.main-nav { display: flex; gap: 26px; }
.main-nav a { text-decoration: none; font-weight: 600; padding-block: 6px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--blue); color: var(--blue-dark); }
.cart-btn { position: relative; margin-inline-start: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.cart-btn:hover { background: var(--blue-soft); }
.cart-btn svg { width: 26px; height: 26px; }
.cart-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
@media (max-width: 720px) {
  .header-row { flex-wrap: wrap; gap: 6px 12px; padding-block: 8px; }
  .main-nav { order: 3; width: 100%; gap: 18px; overflow-x: auto; font-size: 15px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; font: inherit; font-weight: 600;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--blue-dark); border-color: var(--blue-dark); }
.btn svg { width: 20px; height: 20px; }
.btn-ghost { background: transparent; color: var(--blue-dark); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn-light { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn-light:hover { background: var(--yellow); border-color: var(--yellow); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / .15); border-color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 15px; }
.btn-lg { padding: 15px 28px; font-size: 18px; width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.link { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: inherit; font-size: 14px; text-decoration: underline; }

/* hero: one wide photo edge to edge, text over the photo at the top right */
.hero { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: min(90vh, 960px); object-fit: cover; object-position: center 55%; animation: hero-zoom 9s ease-out both; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom left, rgb(20 40 70 / .6), rgb(20 40 70 / .15) 40%, transparent 62%);
}
.hero-copy {
  position: absolute; z-index: 1; top: clamp(28px, 8vh, 90px); inset-inline-start: clamp(20px, 5vw, 80px);
  max-width: 540px; color: #fff; text-shadow: 0 1px 18px rgb(0 0 0 / .25);
}
.hero-copy > * { animation: rise .9s ease-out both; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .45s; }
.hero-copy h1 { font-size: clamp(40px, 6.5vw, 76px); margin-bottom: 8px; letter-spacing: -.5px; }
.hero-copy h1 .inf { color: #ffe58f; }
.hero-copy .tag { font-size: clamp(18px, 2vw, 22px); margin-bottom: 4px; font-weight: 600; }
.hero-copy .sub { font-size: 17px; opacity: .95; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .hero-media img { height: 84vh; object-position: center; }
  .hero::after { background: linear-gradient(to bottom, rgb(20 40 70 / .65), rgb(20 40 70 / .15) 42%, transparent 60%); }
  .hero-copy { top: 24px; inset-inline-end: 20px; }
}

/* scroll reveal, like the MUA theme */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img, .hero-copy > * { animation: none; }
}

/* product grid + cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.grid-lg { grid-template-columns: repeat(3, 1fr); gap: 44px 24px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid, .grid-lg { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }
.card-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--yellow); aspect-ratio: 4 / 5; transition: transform .35s ease, box-shadow .35s ease; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .9s ease; }
.card-media img.alt { opacity: 0; }
.card-media:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgb(47 95 150 / .18); }
.card-media:hover img { transform: scale(1.04); }
.card-media:hover img.alt { opacity: 1; }
.card-body { padding-top: 12px; }
.card-body h3 { font-size: 17px; margin-bottom: 2px; }
.card-body h3 a { text-decoration: none; }
.price { font-weight: 600; margin-bottom: 10px; }
.sample { font-weight: 400; font-size: 12px; color: var(--muted); background: var(--yellow); border-radius: 6px; padding: 1px 6px; margin-inline-start: 4px; white-space: nowrap; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface); }
.badge.sold { background: var(--pink); color: #fff; }
.badge.avail { color: var(--blue-dark); }
.is-sold .card-media img { filter: grayscale(.45); }
.product-info .badge { position: static; display: inline-block; margin-bottom: 10px; border: 1px solid var(--line); }

/* collections */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.collection { position: relative; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 3 / 4; }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease; }
.collection:hover img { transform: scale(1.05); }
.collection span { position: absolute; bottom: 0; inset-inline: 0; padding: 60px 28px 26px; font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); background: linear-gradient(transparent, rgb(20 40 70 / .6)); }
.collection span small { display: block; font-family: var(--font-body); font-size: 15px; opacity: .95; margin-top: 2px; }
@media (max-width: 720px) { .collections { grid-template-columns: 1fr; } .collection { aspect-ratio: 4 / 5; } }

/* lookbook: big photos edge to edge */
.lookbook { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.lookbook figure { margin: 0; position: relative; overflow: hidden; }
.lookbook img { width: 100%; height: min(95vh, 980px); object-fit: cover; transition: transform 1.2s ease; }
.lookbook figure:hover img { transform: scale(1.04); }
.lookbook figcaption { position: absolute; bottom: 26px; inset-inline-start: 26px; color: #fff; font-family: var(--font-head); font-size: clamp(22px, 3vw, 34px); text-shadow: 0 2px 16px rgb(0 0 0 / .45); }
.lookbook figcaption a { color: #fff; font-family: var(--font-body); font-size: 16px; display: block; margin-top: 4px; }
@media (max-width: 720px) { .lookbook { grid-template-columns: 1fr; } .lookbook img { height: 80vh; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark); font-family: var(--font-head); margin-bottom: 12px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* memorial */
.memorial { background: var(--blue-light); }
.memorial-inner { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; max-width: 820px; margin-inline: auto; }
.memorial img { border-radius: 50%; background: #fff; }
.memorial h2 { font-size: 26px; }
.memorial blockquote { margin: 0 0 14px; font-size: 19px; }
.placeholder { background: #fff6d6; border: 1px dashed #c9a43a; border-radius: 6px; padding: 1px 6px; font-size: 15px; }
@media (max-width: 720px) { .memorial-inner { grid-template-columns: 1fr; text-align: center; } .memorial img { width: 120px; margin-inline: auto; } }

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; max-height: 760px; object-fit: cover; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; gap: 20px; } }

/* page head */
.page-head { padding-block: 40px 16px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); }
.note { background: var(--yellow); border: 1px dashed #d4b44a; border-radius: 10px; padding: 10px 14px; font-size: 15px; margin-bottom: 20px; }

/* shop chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { font: inherit; font-size: 15px; border: 1px solid var(--line); background: var(--surface); padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.shop-meta { margin-bottom: 20px; font-size: 15px; }

/* product page */
.crumbs { padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--blue); }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-block: 20px 40px; }
.gallery-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; width: 84px; cursor: pointer; background: none; }
.thumbs button[aria-current="true"] { border-color: var(--blue); }
.product-info h1 { font-size: clamp(28px, 4vw, 38px); }
.price-lg { font-size: 24px; }
.lead { font-size: 19px; }
.one-of-a-kind { color: var(--blue); font-weight: 600; }
.sold-note { background: #fde9e6; border-radius: 10px; padding: 10px 14px; }
.buy-row { margin-top: 8px; }
.secure { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.secure svg { width: 16px; height: 16px; flex-shrink: 0; }
.specs { margin: 28px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; gap: 24px; } }

/* checkout */
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; padding-bottom: 60px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.panel h2 { font-size: 20px; margin-bottom: 14px; }
.field { display: grid; gap: 4px; margin-bottom: 12px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #d9d2b8; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field input[dir="ltr"] { text-align: left; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.option input { accent-color: var(--blue); width: 18px; height: 18px; }
.option b { display: block; }
.option .muted { font-size: 14px; }
.option .end { margin-inline-start: auto; font-weight: 600; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pay-tabs .option { justify-content: center; font-weight: 600; }
.card-logos { display: flex; gap: 6px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.card-logos span { border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; background: #fff; }
.bit-box { text-align: center; padding: 18px; border-radius: 12px; background: var(--blue-soft); }
.bit-logo { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 26px; color: #fff; background: #1aa3a3; border-radius: 10px; padding: 2px 14px; margin-bottom: 8px; }
.demo-note { background: var(--yellow); border: 1px dashed #d4b44a; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }
.summary { position: sticky; top: 90px; }
.summary ul { list-style: none; margin: 0 0 14px; padding: 0; }
.summary li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary li img { border-radius: 8px; width: 64px; height: 80px; object-fit: cover; }
.summary li b { display: block; font-weight: 600; font-size: 15px; }
.summary li .link { grid-column: 2; justify-self: start; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-total { font-size: 20px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.free-hint { font-size: 14px; color: var(--blue); }
.empty-cart { display: none; }
.is-empty .empty-cart { display: block; }
.is-empty .checkout-grid { display: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

/* order confirmation */
.order-box { max-width: 640px; margin: 40px auto 80px; text-align: center; }
.order-check { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark); display: grid; place-items: center; font-size: 36px; margin: 0 auto 16px; }
.order-box ul { list-style: none; padding: 0; margin: 20px 0; text-align: start; }
.order-box li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-box li img { border-radius: 8px; width: 64px; height: 80px; object-fit: cover; }
.order-facts { text-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.order-facts p { margin: 4px 0; }
.notify { display: flex; gap: 10px; align-items: center; justify-content: center; background: var(--yellow); border-radius: 12px; padding: 10px 14px; margin: 18px 0; font-size: 15px; }

/* story */
.story-text { font-size: 20px; line-height: 1.8; max-width: 680px; }
.story-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.story-photos img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 720px) { .story-photos { grid-template-columns: 1fr 1fr; } .story-photos img:last-child { display: none; } }

/* footer */
.site-footer { background: var(--blue-light); color: var(--ink); margin-top: 40px; padding-top: 48px; }
.site-footer a { text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { text-decoration: underline; color: var(--blue-dark); }
.site-footer h3 { font-size: 16px; margin-bottom: 10px; color: var(--blue-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .brand-foot { display: flex; margin-bottom: 12px; }
.with-icon { display: flex !important; align-items: center; gap: 8px; }
.with-icon svg { width: 18px; height: 18px; }
.soon::after { content: " · בקרוב"; color: var(--muted); font-size: 13px; }
.legal { border-top: 1px solid #bcd4ee; margin-top: 32px; padding-block: 16px 28px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* toast */
.toast { position: fixed; bottom: 22px; inset-inline-start: 50%; transform: translate(50%, 30px); opacity: 0; pointer-events: none; z-index: 40;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; transition: opacity .3s ease, transform .3s ease; box-shadow: 0 10px 30px rgb(0 0 0 / .2); }
.toast a { color: #ffe58f; font-weight: 600; }
.toast.show { opacity: 1; transform: translate(50%, 0); pointer-events: auto; }
