/* catalog, card and how-it-works pages.
   Same motion language as home, quieter: staggered rises, hover depth, a settle-in preview. */

/* ---------- shared: 4 steps strip ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; counter-reset: s; }
.steps4 li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-size: var(--t-14); color: var(--muted); line-height: 1.5; }
.steps4 li b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font-family: var(--f-display); font-weight: 500; font-size: 1rem; }
.steps4 li strong { color: var(--ink); }
.h-s em { font-style: italic; color: var(--gold-deep); }
@media (max-width: 900px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; gap: 8px; } .steps4 li { padding: 14px 16px; } }

/* =========================================================
   CATALOG
   ========================================================= */
.cat-hero { position: relative; overflow: hidden; padding: clamp(28px, 3vw, 52px) 0 clamp(18px, 2vw, 30px); }
.cat-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.cat-copy .h-l { margin-top: 14px; max-width: 20ch; }
.cat-copy .lede { margin-top: 14px; }
.cat-mark { position: relative; align-self: center; }
.cat-mark .he { display: block; font-family: var(--f-he); font-weight: 700; font-size: clamp(4.5rem, 3rem + 6vw, 10rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(201,160,78,.7); white-space: nowrap; animation: markIn 1.1s var(--ease-out) both; }
@keyframes markIn { from { opacity: 0; transform: translateY(20px) rotateX(30deg); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .cat-mark { display: none; } .cat-hero-in { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cat-copy .lede { font-size: .95rem; } .cat-copy .h-l { font-size: 2.1rem; } }

.filters { position: sticky; top: var(--header-h); z-index: 30; background: rgba(251,248,242,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.filters-in { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.simcha-chips { flex: 1 1 auto; min-width: 0; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 30px; }
.simcha-chips .chip { min-height: 38px; padding: 0 14px; }
.chip-group { border-style: dashed; }
.chip-sep { flex: none; width: 1px; align-self: stretch; margin: 6px 4px; background: var(--line-strong); }
.tools { flex: none; display: flex; gap: 10px; }
.chips-wrap { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.chips-wrap .simcha-chips { flex: 1 1 auto; }
.chip-arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; display: none; place-items: center; font-size: 15px; font-weight: 700; color: var(--ink); transition: background-color var(--d-fast), color var(--d-fast), opacity var(--d-fast); }
.chip-arrow:hover { background: var(--ink); color: var(--paper); }
.chip-arrow[disabled] { opacity: .3; pointer-events: none; }
.chip-arrow.prev { margin-right: 8px; } .chip-arrow.next { margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .chips-wrap.scrollable .chip-arrow { display: grid; } }
.page-card .header-cta { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.page-catalog .menu-btn { margin-inline-start: auto; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input { width: 270px; height: 42px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: #fff; padding: 0 16px 0 40px; font-size: 14px; font-weight: 600; transition: border-color var(--d-fast), box-shadow var(--d-fast), width var(--d-mid) var(--ease-out); }
.search input::placeholder { color: #9A8E7E; font-weight: 500; }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,160,78,.22); width: 300px; }
.sort { position: relative; display: flex; align-items: center; }
.sort select { appearance: none; -webkit-appearance: none; height: 42px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: #fff; padding: 0 38px 0 16px; font-size: 14px; font-weight: 700; cursor: pointer; }
.sort select:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; }
.sort svg { position: absolute; right: 14px; pointer-events: none; color: var(--muted); }
@media (max-width: 1100px) {
  .filters-in { flex-wrap: wrap; gap: 10px; }
  .chips-wrap { flex-basis: 100%; }
  .tools { flex: 1 1 100%; }
  .search { flex: 1; } .search input, .search input:focus { width: 100%; }
}
@media (max-width: 720px) {
  .filters-in { padding-block: 10px; }
  .chips-wrap { margin-inline: calc(var(--gutter) * -1); flex-basis: calc(100% + var(--gutter) * 2); }
  .simcha-chips { padding-inline: var(--gutter) 30px; }
  .simcha-chips .chip { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .search input { height: 40px; font-size: 16px; }
  .sort select { height: 40px; padding: 0 32px 0 12px; font-size: 13px; }
  .sort svg { right: 10px; }
}

.results { padding-top: 22px; padding-bottom: 72px; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; color: var(--muted); font-size: 14px; font-weight: 600; min-height: 28px; }
.results-meta strong { color: var(--ink); font-size: 1.05rem; }
.clear-link { border: 0; background: none; font-weight: 700; color: var(--gold-deep); cursor: pointer; padding: 4px 0; border-bottom: 1.5px solid currentColor; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
@media (max-width: 1180px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .tile-stage { border-radius: 14px; }
  .tile-meta { padding-top: 10px; gap: 2px 8px; grid-template-columns: 1fr auto; grid-template-areas: "name price" "code code"; align-items: start; }
  .tile-simcha { grid-area: name; font-size: 13px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
  .tile-simcha .he { display: inline; font-family: var(--f-he); font-weight: 500; font-size: 14px; color: var(--ink-3); }
  .tile-price { grid-area: price; }
  .tile-code { grid-area: code; font-size: 12px; }
  .nm[dir="rtl"] { font-size: 14px; }
  .tile-price { font-size: 1rem; }
  .tile-code { font-size: 12px; }
}

.more-sentinel { display: flex; justify-content: center; padding: 40px 0 8px; }
.empty { text-align: center; padding: 40px 0 30px; display: grid; justify-items: center; gap: 14px; }
.empty-art { position: relative; width: 150px; height: 140px; margin-bottom: 8px; }
.empty-art span { position: absolute; left: 50%; top: 10px; width: 86px; height: 112px; margin-left: -43px; border-radius: 8px; background: #fff; border: 1.5px dashed var(--sand-2); box-shadow: var(--shadow-card); }
.empty-art span:nth-child(1) { transform: rotate(-12deg) translateX(-30px); }
.empty-art span:nth-child(3) { transform: rotate(12deg) translateX(30px); }
.empty-art span:nth-child(2) { z-index: 2; border-style: solid; border-color: var(--gold); background: linear-gradient(#fff, #FBF6EC); }
.empty p { color: var(--muted); max-width: 44ch; }
.empty-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 8px; }

.cat-how { background: var(--cream); padding: 56px 0 64px; }
.cat-how .steps4 li { background: rgba(255,255,255,.75); }

/* =========================================================
   CARD (one design)
   ========================================================= */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 18px 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--ink-3); border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: currentColor; }
.crumbs [aria-current] { color: var(--ink); }
.pd { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; padding-top: 14px; padding-bottom: 72px; }
.pd-stage {
  position: sticky; top: calc(var(--header-h) + 16px);
  height: min(calc(100svh - var(--header-h) - 80px), 760px); min-height: 460px; border-radius: var(--r-xl);
  background: radial-gradient(90% 70% at 50% 30%, #FFFBF2 0%, #F2E9D8 55%, #E5D7BF 100%);
  display: grid; place-items: center; perspective: 1400px; overflow: hidden; isolation: isolate; container-type: size;
}
.pd-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 50% 20%, rgba(255,255,255,.8), transparent 70%); pointer-events: none; }
.pd-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; z-index: 2; width: min(80cqw, calc(84cqh * var(--r, .773))); border-radius: 6px; overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  box-shadow: 0 2px 3px rgba(21,17,12,.12), 0 34px 50px -22px rgba(21,17,12,.5), 0 70px 100px -40px rgba(21,17,12,.35);
  transition: transform 260ms var(--ease-out);
  animation: settle 1.2s var(--ease-out) both;
}
.pd-card img { position: relative; width: 100%; height: 100%; object-fit: cover; }
@keyframes settle {
  from { opacity: 0; translate: 0 40px; rotate: y 26deg; scale: .9; }
  55% { opacity: 1; }
  to { opacity: 1; translate: 0 0; rotate: y 0deg; scale: 1; }
}
.pd-floor { position: absolute; z-index: 1; left: 22%; right: 22%; bottom: 4.5%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(21,17,12,.32), transparent); }
.pd-lens { position: absolute; z-index: 3; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; pointer-events: none; background-color: #fff; overflow: hidden; border: 3px solid rgba(255,255,255,.95); box-shadow: 0 16px 30px -10px rgba(21,17,12,.55), inset 0 0 0 1px rgba(21,17,12,.12); opacity: 0; transform: scale(.6); transition: opacity 200ms, transform 260ms var(--ease-spring); }
.lens-img, .lens-wm::before, .lens-wm::after { position: absolute; inset: 0; background-repeat: no-repeat; background-size: var(--lsz, 200%); background-position: var(--lpos, 50% 50%); }
.lens-img { background-image: var(--limg); }
.lens-wm { position: absolute; inset: 0; }
.lens-wm::before, .lens-wm::after { content: ""; background-image: url("../assets/watermark.webp"); background-size: var(--wsz, cover); background-position: var(--wpos, center); }
.lens-wm::before { filter: brightness(0); opacity: .22; transform: translate(2px, 2px); }
.lens-wm::after { opacity: .35; }
.pd-stage.is-reading .pd-lens { opacity: 1; transform: scale(1); }
.pd-stage.is-reading .pd-card { cursor: none; }
.pd-hint { position: absolute; z-index: 3; bottom: 14px; left: 50%; translate: -50% 0; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.75); padding: 6px 12px; border-radius: 99px; white-space: nowrap; transition: opacity var(--d-mid); }
.pd-stage.is-reading .pd-hint { opacity: 0; }

.pd-info { padding-top: clamp(8px, 2vw, 28px); }
.pd-title { margin-top: 14px; }
.pd-name { margin-top: 10px; font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.pd-name.he { font-family: var(--f-he); font-size: 1.3rem; font-weight: 500; color: var(--ink-3); }
.pd-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.pd-price .price { font-size: 2.6rem; line-height: 1; }
.pd-price-note { font-size: 14px; font-weight: 700; color: var(--muted); }
.pd-cta { margin-top: 24px; }
.pd-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.pd-can { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 26px; }
.pd-can h2 { font-family: var(--f-ui); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.pd-can ul { margin-top: 16px; display: grid; gap: 14px; }
.pd-can li { display: flex; gap: 14px; align-items: flex-start; }
.pd-can li i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; font-style: normal; font-family: var(--f-he); font-weight: 700; font-size: 15px; color: var(--gold-deep); }
.pd-can li i svg { width: 20px; height: 20px; }
.pd-can li strong { display: block; font-size: 15px; }
.pd-can li span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pd-can li span span { display: inline; font-family: var(--f-he); color: var(--ink); font-weight: 700; }
.pd-get { margin-top: 26px; display: grid; gap: 10px; padding: 18px 20px; border-radius: var(--r-md); background: var(--ink); color: #E6DCCB; font-size: 14px; }
.pd-get b { color: var(--gold-light); }
.pd-get span::before { content: "↓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: rgba(227,196,126,.16); color: var(--gold-light); font-weight: 800; font-size: 12px; }
.pd-how { background: var(--cream); padding: 56px 0; }
.pd-more { padding: 72px 0 96px; }
.more-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-missing { padding-block: 96px; display: grid; gap: 18px; justify-items: start; }

.buybar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(21,17,12,.94); color: var(--paper); box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); transform: translateY(140%); transition: transform 420ms var(--ease-out); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-bottom: calc(10px + env(safe-area-inset-bottom) * .5); }
.buybar.show { transform: none; }
.buybar > div { display: grid; min-width: 0; }
.bb-code { font-size: 12px; font-weight: 700; color: var(--muted-dark); line-height: 1.3; }
.bb-price { font-size: 1.35rem; line-height: 1.1; }
.buybar .btn { min-height: 48px; padding: 0 18px; font-size: 15px; flex: none; }
@media (max-width: 420px) { .buybar .btn .long { display: none; } }

@media (max-width: 980px) {
  .pd { grid-template-columns: 1fr; gap: 22px; padding-bottom: 48px; }
  .pd-stage { position: relative; top: 0; height: auto; min-height: 0; aspect-ratio: 1 / 1.08; border-radius: 24px; }
  .pd-info { padding-top: 0; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buybar { display: flex; }
  .page-card .site-footer { padding-bottom: 110px; }
}
@media (max-width: 720px) {
  .crumbs { padding-top: 12px; font-size: 12px; }
  .pd { padding-top: 8px; }
  .pd-stage { aspect-ratio: 1 / 1.02; border-radius: 20px; }
  .pd-card { width: min(84cqw, calc(88cqh * var(--r, .773))); }
  .pd-title { font-size: 2.2rem; margin-top: 10px; }
  .pd-price { margin-top: 12px; }
  .pd-price .price { font-size: 2.1rem; }
  .pd-cta { margin-top: 16px; }
  .pd-hint { display: none; }
  .pd-how { padding: 44px 0; }
  .pd-more { padding: 52px 0 110px; }
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-hero { padding: clamp(36px, 5vw, 80px) 0 clamp(36px, 4vw, 64px); overflow: hidden; }
.how-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.how-hero .h-l { margin-top: 14px; max-width: 14ch; }
.how-hero .lede { margin-top: 18px; }
.how-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.how-index a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-strong); font-size: 14px; font-weight: 700; transition: background-color var(--d-fast), color var(--d-fast), border-color var(--d-fast); }
.how-index a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.how-index b { color: var(--gold-deep); font-weight: 800; font-size: 12px; }
.how-index a:hover b { color: var(--gold-light); }
.how-hero-art { position: relative; height: 440px; perspective: 1400px; }
.hh { position: absolute; top: 50%; left: 50%; width: 46%; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lift); animation: hhIn 1.2s var(--ease-out) both; }
.hh img, .af img, .at img { width: 100%; height: auto; }
.hh1 { transform: translate(-112%, -46%) rotateY(26deg) rotateZ(-5deg); animation-delay: .1s; }
.hh2 { transform: translate(-50%, -54%) translateZ(60px) rotateY(-8deg); z-index: 2; animation-delay: .25s; }
.hh3 { transform: translate(12%, -46%) rotateY(-28deg) rotateZ(5deg); animation-delay: .4s; }
@keyframes hhIn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

.how-step { padding: clamp(56px, 6vw, 104px) 0; }
.how-step.alt { background: var(--cream); }
.how-step-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.how-step.alt .how-art { order: 2; }
.how-text .how-n { display: block; font-family: var(--f-display); font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--gold); font-variation-settings: "opsz" 144; }
.how-text .h-m { margin-top: 10px; }
.how-text p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.how-text .he { color: var(--ink); font-weight: 700; }
.how-text .link, .how-text .btn { margin-top: 26px; }
.how-aside { padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(201,160,78,.08); border-radius: 0 10px 10px 0; font-size: .98rem !important; }
.how-aside strong { color: var(--ink); }
.how-art { position: relative; min-height: 420px; display: grid; place-items: center; perspective: 1300px; }

.art-fan .af { position: absolute; width: 40%; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lift); transition: transform 1s var(--ease-spring); }
.art-fan .af:nth-child(1) { transform: translateX(-62%) rotate(-10deg); }
.art-fan .af:nth-child(2) { z-index: 2; transform: translateY(-4%); }
.art-fan .af:nth-child(3) { transform: translateX(62%) rotate(10deg); }
.js .art-fan:not(.in) .af { transform: none; }
.art-fan:hover .af:nth-child(1) { transform: translateX(-70%) rotate(-14deg) translateY(-2%); }
.art-fan:hover .af:nth-child(3) { transform: translateX(70%) rotate(14deg) translateY(-2%); }

.art-type .at { position: relative; display: block; width: 54%; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lift); transform: rotateY(-12deg); }
.type-fields { position: absolute; left: 2%; bottom: 8%; width: 58%; display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: rgba(251,248,242,.95); box-shadow: 0 30px 60px -24px rgba(21,17,12,.5); transform: translateZ(80px) rotateY(8deg); }
.tf { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; direction: rtl; }
.tf span { font-family: var(--f-he); font-weight: 700; color: var(--muted); font-size: 14px; text-align: right; }
.tf b { display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); font-family: var(--f-he); font-weight: 500; font-size: 17px; }
.tf.on b { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,160,78,.18); }
.tf .cr { width: 2px; height: 20px; background: var(--gold); margin-right: 2px; animation: blinkc 1s steps(1) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }
.js .art-type .tf { opacity: 0; translate: 0 12px; transition: opacity .6s var(--ease-out), translate .6s var(--ease-out); transition-delay: calc(.35s + var(--i) * .18s); }
.js .art-type.in .tf { opacity: 1; translate: 0 0; }

.dcard { width: min(400px, 92%); padding: 20px; border-radius: 22px; background: #FFFDF8; box-shadow: var(--shadow-lift); transform: rotate(-2deg); }
.dc-top { display: flex; justify-content: space-between; font-weight: 800; font-size: 15px; }
.dc-top span:last-child { font-family: var(--f-he); font-weight: 500; color: var(--muted); }
.dc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 14px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.dc-grid b { font-size: 11px; color: var(--muted); }
.dc-grid span { line-height: 32px; border-radius: 10px; }
.dc-grid .pick { background: var(--gold); color: var(--ink); font-weight: 800; }
.dc-out { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.dc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dc-out b { font-family: var(--f-he); font-size: 17px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.dc-out b.en { font-family: var(--f-ui); font-size: 13.5px; }
.dc-shab { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--muted); }
.dc-shab em { font-style: normal; font-family: var(--f-he); font-size: 14px; color: var(--ink); padding: 3px 12px; border-radius: 99px; border: 1px solid var(--line-strong); }
.js .art-date .dc-out div { opacity: 0; translate: 12px 0; transition: opacity .5s var(--ease-out), translate .5s var(--ease-out); }
.js .art-date.in .dc-out div { opacity: 1; translate: 0 0; }
.js .art-date.in .dc-out div:nth-child(1) { transition-delay: .5s; } .js .art-date.in .dc-out div:nth-child(2) { transition-delay: .65s; } .js .art-date.in .dc-out div:nth-child(3) { transition-delay: .8s; }

.paycard { width: min(290px, 80%); padding: 16px; border-radius: 22px; background: #FFFDF8; box-shadow: var(--shadow-lift); transform: rotate(2deg); display: grid; gap: 12px; }
.pc-img { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.paycard img { width: 100%; aspect-ratio: 400 / 565; object-fit: cover; }
.pay-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--muted); }
.pay-row .price { font-size: 1.6rem; color: var(--ink); }
.pay-btn { height: 46px; border-radius: 99px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.pay-files { display: flex; gap: 8px; justify-content: center; }
.pay-files span { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--cream); }

.mini-phone { position: relative; width: 250px; height: 500px; border-radius: 40px; background: #111; padding: 10px; box-shadow: 0 0 0 2px #333 inset, 0 40px 80px -30px rgba(21,17,12,.6); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; transform: rotate(-3deg); }
.mini-phone > * { position: relative; }
.mp-head { display: flex; align-items: center; gap: 10px; padding: 30px 14px 12px; background: #1F5E55; color: #fff; border-radius: 30px 30px 0 0; font-size: 14px; font-weight: 700; }
.mp-head small { display: block; font-size: 11px; font-weight: 500; opacity: .75; }
.mp-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-light); color: var(--ink); font-family: var(--f-he); }
.mp-chat { background: #EFE7DC; padding: 18px 12px; display: flex; justify-content: flex-end; align-items: flex-start; }
.mp-bubble { width: 72%; padding: 5px; border-radius: 12px 12px 3px 12px; background: #D9FDD3; display: grid; gap: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.mp-img { position: relative; display: block; border-radius: 8px; overflow: hidden; }
.mp-bubble span { font-family: var(--f-he); font-size: 13px; padding: 0 4px; }
.mp-bubble small { text-align: right; font-size: 10px; color: #667781; font-weight: 600; padding: 0 4px 2px; }
.mp-bubble small b { color: #53BDEB; letter-spacing: -.3em; }
.mp-input { display: flex; gap: 8px; align-items: center; padding: 10px; background: #EFE7DC; border-radius: 0 0 30px 30px; }
.mp-input span { flex: 1; height: 38px; border-radius: 99px; background: #fff; display: flex; align-items: center; padding: 0 14px; font-size: 13px; color: #8a9096; }
.mp-input i { width: 38px; height: 38px; border-radius: 50%; background: #1F8F74; }
.js .art-send .mp-bubble { opacity: 0; transform: translateY(30px) scale(.9); transform-origin: 100% 100%; transition: opacity .6s var(--ease-out) .3s, transform .8s var(--ease-spring) .3s; }
.js .art-send.in .mp-bubble { opacity: 1; transform: none; }

.how-close { padding: 72px 0 96px; text-align: center; }
.how-close-in { display: grid; justify-items: center; gap: 24px; }
.wrapchips { flex-wrap: wrap; justify-content: center; max-width: 820px; }

@media (max-width: 900px) {
  .how-hero-in { grid-template-columns: 1fr; gap: 12px; }
  .how-hero-art { height: 300px; order: -1; }
  .how-step-in { grid-template-columns: 1fr; gap: 28px; }
  .how-step.alt .how-art { order: 0; }
  .how-art { min-height: 340px; }
  .how-text .how-n { font-size: 3.4rem; }
  .mini-phone { width: 210px; height: 420px; }
}
@media (max-width: 560px) {
  .how-hero .h-l { font-size: 2.3rem; }
  .how-art { min-height: 300px; }
  .art-type .at { width: 60%; }
  .type-fields { width: 76%; left: 0; padding: 12px; }
  .tf { grid-template-columns: 52px 1fr; }
  .tf b { height: 36px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-card { animation: none; }
  .cat-mark .he, .hh { animation: none; }
  .js .art-fan:not(.in) .af { transform: revert; }
  .js .art-type .tf, .js .art-date .dc-out div, .js .art-send .mp-bubble { opacity: 1; translate: none; transform: none; }
  .tf .cr { animation: none; }
}

/* =========================================================
   SIMCHA PAGES (/<slug>/)
   ========================================================= */
.page-simcha .crumbs { padding-bottom: 0; }
.page-simcha .cat-hero { padding-top: clamp(14px, 2vw, 30px); }
.h1-he { display: block; margin-top: .22em; font-family: var(--f-he); font-weight: 700; font-size: .5em; letter-spacing: 0; color: var(--gold-deep); line-height: 1.2; }
.page-simcha .cat-copy .h-l { max-width: 18ch; }
.page-simcha .cat-copy .lede { max-width: 62ch; }
.page-simcha .cat-copy .lede a { color: var(--ink); border-bottom: 1.5px solid var(--gold); }
.sim-about { background: var(--cream); padding: clamp(48px, 5vw, 88px) 0; }
.sim-about-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.sim-about .h-m { margin-top: 14px; max-width: 14ch; }
.sim-about-text { display: grid; gap: 16px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.sim-about-text .yi { font-family: var(--f-he); font-size: 1.3rem; line-height: 1.5; color: var(--ink-3); text-align: right; padding-top: 14px; border-top: 1px solid var(--line); }
.sim-others { padding: clamp(56px, 6vw, 96px) 0; }
.other-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.other { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); height: 100%;
  transition: transform var(--d-mid) var(--ease-out), box-shadow var(--d-mid) var(--ease-out), border-color var(--d-fast); }
.other:hover, .other:focus-visible { transform: translateY(-3px); box-shadow: 0 22px 34px -24px rgba(21,17,12,.5); border-color: var(--line-strong); }
.other-pic { position: relative; flex: none; width: 52px; aspect-ratio: 480 / 621; border-radius: 5px; overflow: hidden; box-shadow: 0 6px 12px -6px rgba(21,17,12,.45); background: var(--sand); transition: transform var(--d-mid) var(--ease-spring); }
.other:hover .other-pic { transform: rotate(-4deg) scale(1.04); }
.other-pic img { width: 100%; height: 100%; object-fit: cover; }
.other-txt { display: grid; gap: 1px; min-width: 0; }
.other-he { font-family: var(--f-he); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.other-en { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.other-n { font-size: 12px; color: var(--muted); font-weight: 600; }
@media (max-width: 1180px) { .other-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sim-about-in { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .other-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .other { padding: 10px; gap: 10px; }
  .other-pic { width: 40px; }
  .other-en { font-size: 12.5px; }
  .page-simcha .cat-copy .h-l { font-size: 2.1rem; }
  .page-simcha .cat-copy .lede { font-size: .95rem; }
}
.page-card .pd-name { margin-top: 10px; font-size: 1rem; font-weight: 700; color: var(--muted); }
.pd-title [lang="yi"] { font-family: var(--f-he); font-weight: 700; }
.h1-he { text-align: left; }
.page-simcha .menu-btn { margin-inline-start: 0; }
.page-simcha .header-cta { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.page-card .pd-title { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.3rem); line-height: 1.05; }
@media (max-width: 720px) { .page-card .pd-title { font-size: 2rem; } }
