/* =========================================================
   Yael Bakery — screens
   ========================================================= */

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 var(--page-pad); }
main{ display:block; min-height:70vh; }
main:focus{ outline:none; }
.screen{ padding:18px 0 36px; }
.screen-head{ padding:10px 0 18px; }
.screen-title{ font-size:clamp(2rem, 7vw, 2.75rem); letter-spacing:-.01em; }
.screen-sub{ margin-top:8px; color:var(--ink-2); font-size:1.02rem; max-width:60ch; }
.section{ margin-top:34px; }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.section-title{ font-size:1.4rem; }
.section-link{ color:var(--brand); font-weight:600; font-size:.94rem; white-space:nowrap; padding:6px 0; }
.kicker{ font-size:.8rem; font-weight:700; letter-spacing:.06em; color:var(--clay); margin-bottom:4px; }
.muted{ color:var(--ink-2); }
.empty{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px;
  padding:28px 12px; color:var(--ink-2);
}
.empty svg{ width:44px; height:44px; color:var(--line-strong); }
.empty b{ color:var(--ink); font-size:1.05rem; }

/* ---------- Home: hero ---------- */
.hero{ position:relative; padding:14px 0 6px; overflow:hidden; }
.hero__branch{
  position:absolute; top:-40px; left:-70px; width:300px; height:300px;
  color:var(--brand); opacity:.1; pointer-events:none;
}
.hero__grid{ position:relative; display:grid; gap:24px; align-items:center; }
.hero__chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 14px 6px 12px; border-radius:999px;
  background:var(--brand-soft); color:var(--brand);
  font-size:.82rem; font-weight:700; letter-spacing:.02em;
}
.hero__chip svg{ width:16px; height:16px; }
.hero__title{
  margin-top:16px;
  font-family:var(--font-hand); font-weight:400;
  font-size:clamp(2.7rem, 11.5vw, 4.4rem); line-height:1.08;
  color:var(--ink);
}
.hero__title em{ font-style:normal; color:var(--brand); display:block; }
.hero__lead{ margin-top:14px; color:var(--ink-2); font-size:1.06rem; max-width:52ch; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.hero__art{ display:none; }

/* horizontal product shelf (JourneySketch-style photo cards) */
.shelf{ margin-top:24px; }
.shelf__track{
  list-style:none; display:flex; gap:12px;
  overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none;
  padding:6px var(--page-pad) 16px;
  scroll-padding-inline:var(--page-pad);
}
.shelf__track::-webkit-scrollbar{ display:none; }
.shelf__track li{ scroll-snap-align:start; flex-shrink:0; }
.shelf-card{
  display:flex; flex-direction:column; width:148px; text-align:right;
  padding:6px 6px 10px; border-radius:18px;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-1);
  transition:transform .2s ease;
}
.shelf-card:hover{ transform:translateY(-3px); }
.shelf-card img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:13px; background:var(--blush); }
.shelf-card__name{ margin-top:8px; padding:0 4px; font-weight:700; font-size:.92rem; line-height:1.3; }
.shelf-card__price{ padding:0 4px; font-family:var(--font-serif); color:var(--brand); font-size:.95rem; }

/* next open dates */
.dates-card{ padding:16px 16px 14px; }
.date-chips{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:2px 0 4px; }
.date-chips::-webkit-scrollbar{ display:none; }
.date-chip{
  flex-shrink:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  min-width:68px; min-height:62px; padding:6px 10px; border-radius:14px;
  background:var(--brand-soft); color:var(--brand); border:1.5px solid transparent;
}
.date-chip__dow{ font-size:.76rem; font-weight:600; }
.date-chip__day{ font-family:var(--font-serif); font-size:1.2rem; font-weight:700; line-height:1.15; }
.date-chip[aria-pressed="true"]{ background:var(--brand); color:var(--on-brand); }
.date-empty{ font-size:.94rem; color:var(--ink-2); }
.date-empty a{ color:var(--brand); font-weight:600; text-decoration:underline; text-underline-offset:3px; }

/* trust row */
.trust{
  list-style:none; margin-top:22px;
  display:grid; grid-template-columns:repeat(3, 1fr); gap:8px;
}
.trust li{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px;
  padding:12px 6px; border-radius:16px; background:var(--bg-2);
  font-size:.8rem; font-weight:600; line-height:1.3; color:var(--ink);
}
.trust svg{ width:24px; height:24px; color:var(--brand); }

/* category tiles */
.cat-tiles{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.cat-tile{
  position:relative; display:block; aspect-ratio:1/1.05; border-radius:var(--r-l); overflow:hidden;
  background:var(--blush);
}
.cat-tile img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.cat-tile:hover img{ transform:scale(1.04); }
.cat-tile__label{
  position:absolute; inset-inline:8px; bottom:8px;
  display:flex; align-items:center; justify-content:space-between; gap:6px;
  padding:9px 12px; border-radius:14px;
  background:var(--surface); color:var(--ink);
}
.cat-tile__label b{ font-family:var(--font-serif); font-size:1.12rem; }
.cat-tile__label small{ font-size:.78rem; color:var(--ink-2); }

/* steps */
.steps{ list-style:none; display:grid; gap:10px; }
.step{
  display:flex; gap:14px; align-items:flex-start;
  padding:14px; border-radius:var(--r-m); background:var(--surface); border:1px solid var(--line);
}
.step__num{
  width:34px; height:34px; border-radius:50%; flex-shrink:0;
  display:grid; place-items:center;
  font-family:var(--font-serif); font-weight:700; font-size:1.05rem;
  background:var(--clay-soft); color:var(--clay);
}
.step b{ display:block; font-size:1rem; }
.step p{ color:var(--ink-2); font-size:.92rem; margin-top:2px; }

/* promo row */
.promo{ display:flex; align-items:center; gap:14px; padding:16px; }
.promo__icon{
  width:48px; height:48px; border-radius:14px; flex-shrink:0; display:grid; place-items:center;
  background:var(--brand); color:var(--on-brand);
}
.promo__icon svg{ width:26px; height:26px; }
.promo__text{ flex:1; display:flex; flex-direction:column; }
.promo__text b{ font-size:1.02rem; }
.promo__text small{ color:var(--ink-2); font-size:.88rem; }
.promo__chev{ width:22px; height:22px; color:var(--ink-3); }

/* about teaser */
.about-teaser{ display:grid; grid-template-columns:112px 1fr; gap:16px; align-items:center; }
.about-teaser__img{ width:112px; height:140px; object-fit:cover; object-position:center 20%; border-radius:18px; background:var(--blush); }
.about-teaser p:not(.kicker){ color:var(--ink-2); font-size:.94rem; margin:6px 0 4px; }

/* reviews invite */
.review-cta{ background:var(--bg-2); border-color:transparent; display:flex; flex-direction:column; gap:10px; align-items:flex-start; }
.review-cta b{ font-family:var(--font-serif); font-size:1.2rem; }

/* instagram */
.ig-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.ig-grid a{ display:block; aspect-ratio:1; border-radius:12px; overflow:hidden; background:var(--blush); }
.ig-grid img{ width:100%; height:100%; object-fit:cover; }

/* ---------- Menu ---------- */
.menu-filter{
  position:sticky; top:60px; z-index:20;
  background:var(--topbar-bg);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.menu-filter__inner{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-top:10px; padding-bottom:10px; }
.menu-filter__inner::-webkit-scrollbar{ display:none; }
.menu-group{ margin-top:26px; scroll-margin-top:130px; }
.menu-group__head{ margin-bottom:12px; }
.menu-group__head h2{ font-size:1.5rem; }
.menu-group__head p{ color:var(--ink-2); font-size:.92rem; margin-top:2px; }
.products{ list-style:none; display:grid; gap:10px; }
.product{ position:relative; }
.product__open{
  width:100%; display:grid; grid-template-columns:108px 1fr; gap:14px; align-items:stretch;
  padding:10px; border-radius:var(--r-l); text-align:right;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-1);
  transition:border-color .2s ease;
}
.product__open:hover{ border-color:var(--line-strong); }
.product__img{ width:108px; height:108px; border-radius:14px; overflow:hidden; background:var(--blush); }
.product__img img{ width:100%; height:100%; object-fit:cover; }
.product__body{ display:flex; flex-direction:column; min-width:0; padding:2px 0 0; }
.product__name{ font-weight:700; font-size:1rem; line-height:1.3; }
.product__unit{ font-size:.8rem; color:var(--ink-2); margin-top:1px; }
.product__desc{
  font-size:.84rem; color:var(--ink-2); line-height:1.45; margin-top:4px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.product__price{
  margin-top:auto; min-height:42px; display:flex; align-items:center; padding-top:4px;
  font-family:var(--font-serif); font-weight:700; color:var(--brand); font-size:1.05rem;
}
.product__action{ position:absolute; left:10px; bottom:10px; min-height:42px; display:flex; align-items:center; }
.add-round{
  position:relative;
  width:40px; height:40px; border-radius:50%; display:grid; place-items:center;
  background:var(--brand); color:var(--on-brand); box-shadow:var(--shadow-1);
}
.add-round svg{ width:22px; height:22px; }
.add-round:hover{ background:var(--brand-press); }
.in-cart{
  position:absolute; top:-6px; left:-6px;
  min-width:22px; height:22px; padding:0 6px; border-radius:999px;
  display:grid; place-items:center; font-size:.74rem; font-weight:800;
  background:var(--clay); color:#FFF8F3; box-shadow:0 0 0 2px var(--surface);
}
.product .stepper{ background:var(--surface); box-shadow:var(--shadow-1); }

/* ---------- Product sheet ---------- */
.ps-media{ position:relative; flex-shrink:0; background:var(--blush); }
.ps-media img{ width:100%; height:min(42vh, 340px); object-fit:cover; }
.ps-close{ position:absolute; top:12px; left:12px; background:var(--surface); box-shadow:var(--shadow-1); }
.ps-body{ padding-top:18px; }
.ps-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.ps-name{ font-size:1.6rem; }
.ps-price{ font-family:var(--font-serif); font-weight:700; color:var(--brand); font-size:1.4rem; white-space:nowrap; }
.ps-unit{ margin-top:4px; color:var(--ink-2); font-weight:500; }
.ps-desc{ margin-top:12px; font-size:1.02rem; line-height:1.65; }
.ps-specs{ list-style:none; margin-top:12px; display:grid; gap:8px; }
.ps-specs li{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px; border-radius:12px; background:var(--bg-2); font-size:.92rem; color:var(--ink);
}
.ps-specs svg{ width:18px; height:18px; color:var(--brand); flex-shrink:0; margin-top:3px; }
.ps-variants{ margin-top:16px; display:grid; gap:8px; }
.ps-note{ margin-top:16px; display:flex; align-items:center; gap:8px; font-size:.86rem; color:var(--ink-2); }
.ps-note svg{ width:18px; height:18px; color:var(--brand); flex-shrink:0; }
.ps-foot{ display:flex; align-items:center; gap:12px; }
.ps-foot .btn{ flex:1; }

/* ---------- Cart ---------- */
.cart-lines{ list-style:none; }
.cart-line{ display:flex; gap:12px; padding:14px 0; align-items:flex-start; }
.cart-line + .cart-line{ border-top:1px solid var(--line); }
.cart-line__img{ width:64px; height:64px; border-radius:12px; object-fit:cover; background:var(--blush); flex-shrink:0; }
.cart-line__main{ flex:1; min-width:0; }
.cart-line__name{ font-weight:700; line-height:1.3; }
.cart-line__meta{ font-size:.82rem; color:var(--ink-2); }
.cart-line__row{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; }
.cart-line__row b{ font-family:var(--font-serif); color:var(--ink); font-size:1.05rem; }
.cart-line__remove{ width:40px; height:40px; color:var(--ink-3); margin-top:-6px; }
.cart-line__remove svg{ width:20px; height:20px; }
.cart-form{ margin-top:10px; padding-top:18px; border-top:1px solid var(--line); }
.cart-form .field__label span, .cart-form label span{ font-weight:400; color:var(--ink-2); }
.cart-total{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.cart-total span{ font-weight:600; }
.cart-total b{ font-family:var(--font-serif); font-size:1.5rem; color:var(--ink); }
.cart-hint{ font-size:.84rem; color:var(--warn); font-weight:600; margin:2px 0 10px; min-height:1.3em; }
.cart-fine{ margin-top:10px; font-size:.8rem; color:var(--ink-2); text-align:center; }
.cart-sent{
  margin-top:10px; padding:12px 14px; border-radius:12px; background:var(--ok-bg); color:var(--ok);
  font-size:.9rem; display:flex; flex-direction:column; gap:8px;
}
.cart-sent button{ align-self:flex-start; font-weight:700; text-decoration:underline; text-underline-offset:3px; }

/* ---------- Availability ---------- */
.avail-next{ margin-bottom:18px; }
.avail-next .section-title{ margin-bottom:10px; font-size:1.15rem; }
.cal-months{ display:grid; gap:14px; }
.cal-month{ padding:16px 12px 12px; }
.cal-month__title{ text-align:center; font-family:var(--font-serif); font-size:1.2rem; font-weight:700; margin-bottom:10px; }
.cal-grid{ display:grid; grid-template-columns:repeat(7, 1fr); gap:4px; }
.cal-dow{ text-align:center; font-size:.76rem; font-weight:600; color:var(--ink-3); padding-bottom:4px; }
.cal-day{
  aspect-ratio:1; display:grid; place-items:center; border-radius:12px;
  font-size:.95rem; color:var(--ink-2); font-variant-numeric:tabular-nums;
  border:1.5px solid transparent;
}
.cal-day.is-past{ color:var(--ink-3); opacity:.55; }
.cal-day.is-today{ border-color:var(--line-strong); color:var(--ink); font-weight:700; }
.cal-day.is-open{ background:var(--brand); color:var(--on-brand); font-weight:700; }
.cal-day.is-open:hover{ background:var(--brand-press); }
.cal-day.is-open[aria-pressed="true"]{ box-shadow:0 0 0 3px var(--surface), 0 0 0 5px var(--clay); }
.cal-legend{ display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:14px; font-size:.88rem; color:var(--ink-2); }
.cal-legend span{ display:inline-flex; align-items:center; gap:8px; }
.dot{ width:14px; height:14px; border-radius:5px; display:inline-block; }
.dot--open{ background:var(--brand); }
.dot--today{ border:1.5px solid var(--line-strong); }
.info-list{ list-style:none; margin-top:20px; display:grid; gap:8px; }
.info-list li{ display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:14px; background:var(--bg-2); font-size:.94rem; }
.info-list svg{ width:20px; height:20px; color:var(--brand); flex-shrink:0; margin-top:2px; }

/* ---------- Contact / About / Legal ---------- */
.contact-hero{ display:flex; flex-direction:column; gap:12px; padding:20px; background:var(--brand); color:var(--on-brand); border:0; }
.contact-hero h2{ color:inherit; font-size:1.45rem; }
.contact-hero p{ opacity:.9; }
.contact-hero .btn{ background:var(--on-brand); color:var(--brand); align-self:flex-start; }
.contact-list{ margin-top:14px; padding:6px 16px; }

.about{ display:grid; gap:20px; }
.about__img{ width:100%; max-height:440px; object-fit:cover; object-position:center 22%; border-radius:var(--r-l); background:var(--blush); }
.about__name{ font-family:var(--font-hand); font-weight:400; font-size:2.6rem; color:var(--clay); line-height:1.1; }
.about__role{ color:var(--brand); font-weight:700; margin:4px 0 14px; }
.about__copy p{ color:var(--ink-2); font-size:1.04rem; margin-bottom:14px; max-width:62ch; }
.about__stats{ display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; margin-top:8px; }
.about__stats div{ text-align:center; padding:14px 6px; border-radius:16px; background:var(--bg-2); }
.about__stats b{ display:block; font-family:var(--font-serif); font-size:1.7rem; color:var(--brand); direction:ltr; }
.about__stats span{ font-size:.82rem; color:var(--ink-2); }

.prose{ max-width:68ch; }
.prose h2{ font-size:1.3rem; margin:28px 0 8px; }
.prose p, .prose li{ color:var(--ink-2); font-size:1rem; line-height:1.75; }
.prose p + p{ margin-top:10px; }
.prose ul{ padding-inline-start:1.2em; margin-top:8px; display:grid; gap:6px; }
.prose a{ color:var(--brand); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.prose .updated{ font-size:.88rem; color:var(--ink-3); margin-top:6px; }
.prose .note{ margin-top:20px; padding:14px 16px; border-radius:14px; background:var(--bg-2); color:var(--ink); }

/* ---------- Tour ---------- */
.tour{ padding-top:20px; }
.tour__top{ display:flex; justify-content:space-between; align-items:center; }
.tour__count{ font-size:.95rem; color:var(--ink-2); }
.tour__bar{ height:6px; border-radius:99px; background:var(--muted-bg); margin:12px 0 16px; overflow:hidden; }
.tour__bar span{ display:block; height:100%; width:0; background:var(--brand); border-radius:99px; transition:width .3s ease; }
.tour__art{
  min-height:176px; border-radius:var(--r-l); background:var(--bg-2); border:1px solid var(--line);
  display:grid; place-items:center; padding:18px;
}
.tour__title{ margin-top:18px; font-size:1.5rem; }
.tour__text{ margin-top:6px; color:var(--ink-2); font-size:1.02rem; }
.tour__foot{ display:flex; justify-content:space-between; gap:10px; }
.mock{ width:100%; max-width:320px; background:var(--surface); border-radius:16px; border:1px solid var(--line); padding:10px; box-shadow:var(--shadow-1); font-size:.86rem; }
.mock-row{ display:flex; align-items:center; gap:10px; }
.mock-row img{ width:52px; height:52px; border-radius:10px; object-fit:cover; }
.mock-row b{ display:block; }
.mock-row .add-round{ width:32px; height:32px; margin-inline-start:auto; }
.mock-bubble{ background:#DCF3D6; color:#1F2A1F; border-radius:14px 14px 4px 14px; padding:10px 12px; line-height:1.5; }
html[data-a11y-contrast="high"] .mock-bubble{ background:#FFF; border:2px solid #000; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 700px){
  .products{ grid-template-columns:1fr 1fr; }
  .cal-months{ grid-template-columns:1fr 1fr; }
  .ig-grid{ gap:10px; }
  .steps{ grid-template-columns:repeat(3, 1fr); }
}
@media (min-width: 960px){
  .screen{ padding:28px 0 56px; }
  .menu-filter{ top:61px; }
  .hero{ padding:40px 0 10px; }
  .hero__grid{ grid-template-columns:1.15fr .85fr; gap:48px; }
  .hero__art{ display:grid; place-items:center; position:relative; }
  .hero__art::before{ content:""; position:absolute; inset:8%; border-radius:50%; background:var(--blush); }
  .hero__art img{ position:relative; width:86%; border-radius:50%; box-shadow:var(--shadow-2); }
  .shelf__track{ max-width:var(--maxw); margin:0 auto; padding-inline:var(--page-pad); }
  .shelf-card{ width:172px; }
  .home-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 32px; }
  .home-grid > .section{ margin-top:34px; }
  .trust{ grid-template-columns:repeat(3, 1fr); gap:14px; }
  .trust li{ flex-direction:row; justify-content:center; font-size:.92rem; padding:16px; }
  .cat-tile{ aspect-ratio:4/3; }
  .about-teaser{ grid-template-columns:150px 1fr; }
  .about-teaser__img{ width:150px; height:180px; }
  .about{ grid-template-columns:.9fr 1.1fr; align-items:start; gap:44px; }
  .about__img{ position:sticky; top:90px; max-height:620px; }
  .products{ gap:14px; }
  .contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start; }
  .contact-grid .contact-list{ margin-top:0; }
}
