/* Plan-a-simcha wizard — elegant */
.plan-body { margin: 0; font-family: 'Jost', -apple-system, Segoe UI, Roboto, sans-serif; color: #2b2320; background: #f7f1ee; }
.plan-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); border-bottom: 1px solid #ece0da; position: sticky; top: 0; z-index: 50; }
.plan-logo { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: #8c2d3a; text-decoration: none; font-size: 1.4rem; letter-spacing: .01em; }
.plan-logo span { color: #c9a24a; }
.plan-back { color: #6b5f58; text-decoration: none; font-size: .9rem; }

.plan-hero { position: relative; text-align: center; padding: 60px 16px 46px; overflow: hidden;
  background: radial-gradient(1200px 400px at 50% -10%, #fff 0%, #f7f1ee 60%),
    linear-gradient(135deg, rgba(140,45,58,.06), rgba(201,162,74,.08)); }
.plan-hero::before, .plan-hero::after { content: '✦'; position: absolute; color: #d9c6a0; opacity: .5; font-size: 1.4rem; }
.plan-hero::before { top: 30px; left: 12%; } .plan-hero::after { bottom: 26px; right: 12%; }
.plan-hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 3rem; line-height: 1.05; margin: 0 0 14px; color: #6b1721; }
.plan-hero h1 em { color: #c9a24a; font-style: italic; }
.plan-hero p { color: #7a6a62; margin: 0 auto 24px; max-width: 540px; font-size: 1.05rem; }
.plan-people { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #ecdfc9; border-radius: 999px; padding: 8px 10px 8px 22px; box-shadow: 0 6px 20px rgba(140,45,58,.08); }
.plan-people label { font-weight: 600; display: flex; align-items: center; gap: 10px; color: #4b3f3a; }
.plan-people input { width: 110px; padding: 10px 14px; border: 1px solid #e4d6cf; border-radius: 999px; font-size: 1.05rem; text-align: center; font-family: inherit; }
.plan-people-note { display: none; }

.plan-rows { max-width: 1160px; margin: 24px auto 160px; padding: 0 20px; }
.plan-loading { text-align: center; color: #9aa2ad; padding: 60px; }
/* each CATEGORY is a clearly separated group */
.plan-row { margin-bottom: 26px; padding-bottom: 24px; border-bottom: 2px solid #e7d2cb; }
.plan-row:last-child { border-bottom: 0; }
.plan-row-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.7rem; color: #6b1721; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.plan-row-hint { display: none; color: #b58; font-size: .78rem; font-weight: 700; margin: 0 0 8px; }
.plan-row-scroll { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 16px; scroll-snap-type: x mandatory; align-items: stretch; }

/* vendor = a modern circular badge + its packages, inside a bordered card */
.plan-unit { flex: 0 0 280px; scroll-snap-align: center; text-align: center; background: #fff; border: 1px solid #e7d6d0; border-radius: 18px; padding: 16px 14px 14px; box-shadow: 0 4px 14px rgba(80,40,30,.06); }
.plan-circle { width: 150px; height: 150px; margin: 6px auto 12px; border-radius: 50%; background-size: cover;
  background-position: center; border: 6px solid #b14455; box-shadow: 0 10px 26px rgba(80,40,30,.18), inset 0 0 0 4px #fff;
  position: relative; transition: transform .2s, box-shadow .2s; }
.plan-unit:hover .plan-circle { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 34px rgba(80,40,30,.26), inset 0 0 0 4px #fff; }
.plan-circle-ph { display: flex; align-items: center; justify-content: center; }
.plan-circle-icon { font-size: 3.4rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.28)); }
.plan-unit.has-sel .plan-circle { box-shadow: 0 0 0 4px #166534, 0 12px 28px rgba(22,101,52,.22), inset 0 0 0 4px #fff; }
.plan-unit-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.3rem; color: #2b2320; line-height: 1.15; }
.plan-unit-tag { color: #8a7d76; font-size: .83rem; margin: 2px 0 12px; min-height: 2.2em; }
.plan-unit-pkgs { display: flex; flex-direction: column; gap: 10px; text-align: left; }

/* package card = snippet photo + details, whole card opens the package panel */
.plan-pp { background: #fff; border: 1px solid #efe3de; border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s; box-shadow: 0 3px 12px rgba(80,40,30,.05); }
.plan-pp:hover { box-shadow: 0 8px 20px rgba(80,40,30,.12); transform: translateY(-2px); }
.plan-pp.chosen { border-color: #166534; box-shadow: 0 0 0 1.5px #166534, 0 8px 20px rgba(22,101,52,.14); background: #f4fbf6; }
.plan-pp-thumb { height: 108px; background-size: cover; background-position: center; position: relative; }
.plan-pp-thumb-ph { display: flex; align-items: center; justify-content: center; }
.plan-pp-thumb-ph span { font-size: 2.4rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.plan-pp-thumb-n { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.plan-pp-body { padding: 10px 13px 11px; }
.plan-pp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.plan-pp-name { font-weight: 600; font-size: 1rem; color: #2b2320; }
.plan-pp-price { font-weight: 800; color: #166534; white-space: nowrap; font-size: .95rem; }
.plan-pp-price small { color: #7a8a7f; font-weight: 600; font-size: .68rem; }
.plan-pp-incl { margin: 7px 0; padding-left: 18px; font-size: .8rem; color: #6b5f58; }
.plan-pp-incl li { margin: 1px 0; }
.plan-pp-none { list-style: none; color: #a99; }
.plan-pp-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.plan-pp-view { font-size: .76rem; font-weight: 700; color: #8c2d3a; }
.plan-pp-btn { font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 9px; border: 0; cursor: pointer;
  background: #8c2d3a; color: #fff; white-space: nowrap; }
.plan-pp.chosen .plan-pp-btn { background: #166534; color: #fff; }

.plan-unit-head { cursor: pointer; }
.plan-unit-details { display: block; width: 100%; background: #fff; border: 1px solid #e7d6d0; color: #8c2d3a; border-radius: 10px; padding: 7px; font-size: .8rem; font-weight: 700; cursor: pointer; margin: 0 0 12px; }
.plan-unit-details:hover { background: #fbf4f5; box-shadow: 0 4px 12px rgba(80,40,30,.08); }

/* vendor-level general photos/videos gallery (in the vendor panel) */
.plan-vmedia { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 6px; }
.plan-vmedia:empty { display: none; }
/* compact clickable package list in the vendor panel */
.plan-vpkg-h { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: #6b1721; margin: 14px 0 10px; border-top: 1px solid #f1e8e4; padding-top: 12px; }
.plan-vpkg-h small { font-family: 'Jost', sans-serif; font-size: .72rem; color: #a0938c; font-weight: 500; margin-left: 6px; }
.plan-vpkglist { display: flex; flex-direction: column; gap: 9px; }
.plan-vpl { display: flex; align-items: center; gap: 11px; border: 1px solid #ece0db; border-radius: 12px; padding: 8px 12px 8px 8px; background: #fcf8f6; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.plan-vpl:hover { box-shadow: 0 6px 16px rgba(80,40,30,.12); transform: translateY(-1px); }
.plan-vpl.chosen { border-color: #166534; box-shadow: 0 0 0 1.5px #166534; background: #f4fbf6; }
.plan-vpl-thumb { width: 54px; height: 54px; border-radius: 10px; background-size: cover; background-position: center; flex: 0 0 auto; }
.plan-vpl-thumb-ph { display: flex; align-items: center; justify-content: center; }
.plan-vpl-thumb-ph span { font-size: 1.5rem; }
.plan-vpl-body { flex: 1; min-width: 0; }
.plan-vpl-name { display: block; font-weight: 600; color: #2b2320; }
.plan-vpl-name em { color: #166534; font-style: normal; font-size: .8rem; font-weight: 700; }
.plan-vpl-price { display: block; font-size: .85rem; font-weight: 700; color: #166534; }
.plan-vpl-price small { color: #7a8a7f; font-weight: 600; font-size: .66rem; }
.plan-vpl-go { color: #b58; font-size: .85rem; font-weight: 700; white-space: nowrap; }

/* package panel */
.plan-pkg-vendor { color: #8a7d76; font-size: .85rem; margin: 0 0 4px; }
.plan-pkg-priceline { font-weight: 800; color: #166534; font-size: 1.15rem; margin: 0 0 10px; }
.plan-pkg-priceline small { color: #7a8a7f; font-weight: 600; font-size: .72rem; }

/* vendor detail modal */
.plan-modal { max-width: 560px; }
.plan-vendor-img { height: 190px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.plan-vendor-img.ph .plan-vimg-icon { font-size: 4rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.plan-vtag { color: #8a7d76; font-style: italic; font-size: 1rem; margin: 0 0 8px; }
.plan-vdesc { color: #4b3f3a; font-size: .92rem; line-height: 1.5; margin: 0 0 8px; white-space: pre-wrap; }
.plan-varea { color: #6b5f58; font-size: .85rem; margin: 0 0 14px; }
.plan-varea a { color: #8c2d3a; margin-left: 6px; }
.plan-vpkg-h { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: #6b1721; margin: 4px 0 10px; border-top: 1px solid #f1e8e4; padding-top: 12px; }
.plan-mpkg { border: 1px solid #ece0db; border-radius: 13px; padding: 14px; margin-bottom: 14px; background: #fcf8f6; }
.plan-mpkg.chosen { border-color: #166534; box-shadow: 0 0 0 1.5px #166534; background: #f4fbf6; }
.plan-mpkg-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 12px; }
.plan-mpkg-nomedia { color: #a99; font-size: .8rem; margin: 8px 0 12px; }

/* floating cart */
/* cart is HIDDEN until the first selection */
.plan-cart { display: none; position: fixed; right: 18px; bottom: 18px; width: 320px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #e6d2d6; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.18); z-index: 60; overflow: hidden; }
.plan-cart.has-items { display: block; }
.plan-cart-head { width: 100%; background: #8c2d3a; color: #fff; padding: 11px 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.plan-cart-headlabel { flex: 1; text-align: left; }
.plan-cart-headtotal { font-weight: 800; font-size: 1.1rem; }
.plan-cart-caret { opacity: .85; font-size: 1rem; }
/* expanded: show the label (not the header total, which lives in the foot) */
.plan-cart:not(.collapsed) .plan-cart-headtotal { display: none; }
/* COLLAPSED: a compact pill-button showing just the $ total */
.plan-cart.collapsed { width: auto; max-width: none; left: auto; right: 16px; bottom: 16px; border-radius: 999px; border-color: transparent; box-shadow: 0 10px 28px rgba(140,45,58,.4); overflow: visible; }
.plan-cart.collapsed .plan-cart-body, .plan-cart.collapsed .plan-cart-foot { display: none; }
.plan-cart.collapsed .plan-cart-head { border-radius: 999px; padding: 13px 22px; }
.plan-cart.collapsed .plan-cart-headlabel { display: none; }   /* collapsed shows the total, not the label */
.plan-cart-body { max-height: 40vh; overflow: auto; padding: 8px 10px; }
.plan-cart-empty { color: #9aa2ad; padding: 16px 6px; font-size: .88rem; text-align: center; }
.plan-cart-item { display: flex; align-items: center; gap: 8px; padding: 8px 4px; border-bottom: 1px solid #f3eceb; }
.plan-cart-item-main { flex: 1; min-width: 0; }
.plan-cart-cat { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; color: #b58; }
.plan-cart-vendor { display: block; font-size: .85rem; font-weight: 600; color: #2b2320; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-cart-sub { font-size: .72rem; color: #8a7d76; }
.plan-cart-amt { font-weight: 800; color: #166534; white-space: nowrap; }
.plan-cart-rm { background: none; border: 0; color: #b00020; font-size: 1.2rem; cursor: pointer; line-height: 1; }
.plan-cart-foot { border-top: 1px solid #f1e8e4; padding: 10px 14px; }
.plan-cart-total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.plan-cart-total b { color: #166534; font-size: 1.25rem; }

.plan-btn { border: 1px solid #d9c9c2; background: #fff; color: #6b1721; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; font-size: .92rem; text-decoration: none; display: inline-block; text-align: center; }
.plan-btn.primary { background: #8c2d3a; color: #fff; border-color: #8c2d3a; width: 100%; }
.plan-btn.chosen { background: #166534; color: #fff; border-color: #166534; width: 100%; }
.plan-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* modals */
.plan-overlay { position: fixed; inset: 0; background: rgba(20,12,10,.5); z-index: 100060; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 12px; overflow: auto; }
.plan-modal { background: #fff; border-radius: 14px; width: 100%; max-width: 520px; box-shadow: 0 12px 40px rgba(0,0,0,.25); overflow: hidden; }
.plan-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #8c2d3a; color: #fff; font-size: 1.1rem; }
.plan-x { background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; width: 40px; height: 40px; border-radius: 8px; }
.plan-modal-body { padding: 16px 18px; }
.plan-vtag { color: #8a7d76; font-style: italic; margin: 0 0 6px; }
.plan-vdesc { color: #4b3f3a; font-size: .9rem; margin: 0 0 6px; white-space: pre-wrap; }
.plan-varea { color: #6b5f58; font-size: .82rem; margin: 0 0 12px; }
.plan-pkgs { display: flex; flex-direction: column; gap: 12px; }
.plan-pkg { border: 1px solid #ece0db; border-radius: 11px; padding: 12px; background: #fcf8f6; }
.plan-pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plan-pkg-name { font-weight: 700; }
.plan-pkg-price { font-weight: 800; color: #166534; white-space: nowrap; }
.plan-pkg-total { display: block; font-size: .8rem; color: #166534; margin-top: 2px; }
.plan-pkg-total.muted { color: #a99; }
.plan-pkg-incl { margin: 8px 0; padding-left: 18px; font-size: .84rem; color: #4b3f3a; }
.plan-modal-body label { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; color: #5b4a44; font-weight: 600; margin-bottom: 12px; }
.plan-modal-body input, .plan-modal-body textarea { padding: 9px 11px; border: 1px solid #d8dce3; border-radius: 9px; font-family: inherit; font-size: .95rem; box-sizing: border-box; width: 100%; }
.plan-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-rhint { font-size: .84rem; color: #6b5f58; background: #f7eef0; padding: 8px 10px; border-radius: 8px; margin: 0 0 14px; }
.plan-rsummary { font-size: .88rem; color: #4b3f3a; margin-top: 4px; }
.plan-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; border-top: 1px solid #f1e8e4; }
.plan-msg { padding: 0 18px 12px; color: #b00020; font-size: .85rem; min-height: 1em; }
.plan-done { text-align: center; padding: 30px 20px; }
.plan-done-check { width: 56px; height: 56px; border-radius: 50%; background: #166534; color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }

@media (max-width: 560px) { .plan-grid2 { grid-template-columns: 1fr; } .plan-hero h1 { font-size: 1.6rem; } }

/* sticky bottom navigator — mobile only */
.plan-row-wrap { position: relative; }
.plan-cnav-fixed { display: none; }

/* ---- mobile: full-width card (one at a time) + a fixed glassy bottom navigator ---- */
@media (max-width: 768px) {
  .plan-rows { margin: 0 0 20px; padding: 0 8px 150px; }   /* room for the fixed nav bar + cart */
  /* each category: a NORMAL section (easy vertical scroll — no forced snap) with a tinted backdrop */
  .plan-row { scroll-margin-top: 64px; background: var(--cat-bg, #f7f1ee); padding: 12px 10px 16px;
    margin-bottom: 14px; border-bottom: 0; border-radius: 18px; }
  .plan-row-title { padding-top: 4px; }
  /* horizontal SWIPE strip of vendor cards */
  .plan-row-wrap { padding: 0; }
  .plan-row-scroll { display: flex; gap: 10px; padding: 8px 2px 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    align-items: flex-start; scroll-snap-type: none; scrollbar-width: none; }
  .plan-row-scroll::-webkit-scrollbar { display: none; }
  .plan-unit { display: block; flex: 0 0 86vw; width: auto; box-sizing: border-box; padding: 14px 12px 14px; }

  /* STICKY glassy bottom bar: ‹ [category · dots] ›   ↑ ↓ */
  .plan-cnav-fixed { display: flex; position: fixed; left: 8px; right: 8px; bottom: 10px; z-index: 70;
    align-items: center; gap: 8px; padding: 7px 9px;
    background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid rgba(140,45,58,.2); border-radius: 999px; box-shadow: 0 10px 30px rgba(80,40,30,.2); }
  .plan-fn-info { flex: 1; min-width: 0; text-align: center; }
  .plan-fn-line { display: flex; align-items: center; justify-content: center; gap: 7px; }
  .plan-fn-catname { font-size: .82rem; font-weight: 800; color: #6b1721; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55vw; }
  .plan-fn-count { font-size: .68rem; font-weight: 700; color: #a0938c; white-space: nowrap; }
  .plan-fn-dots { display: flex; justify-content: center; gap: 5px; margin-top: 3px; }
  .plan-fn-dots:empty { display: none; }
  .plan-fn-dot { width: 6px; height: 6px; border-radius: 50%; background: #e0cfc9; cursor: pointer; transition: width .2s, background .2s; }
  .plan-fn-dot.on { width: 18px; border-radius: 999px; background: #8c2d3a; }
  .plan-fn-catgroup { display: flex; gap: 6px; }
  .plan-fn-arrow { flex: 0 0 auto; display: flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center;
    border: 1px solid rgba(140,45,58,.28); padding: 0; cursor: pointer; font-size: 1.5rem; font-weight: 800; color: #8c2d3a; line-height: 1;
    background: rgba(140,45,58,.09); -webkit-tap-highlight-color: transparent; transition: transform .12s, background .15s; }
  .plan-fn-arrow:active { transform: scale(.9); background: rgba(140,45,58,.2); }
  .plan-fn-arrow.hidden { visibility: hidden; }
  .plan-cnav-fixed.single .plan-fn-info { text-align: center; }

  /* horizontal package cards: small image left, info right; name/price STACK so nothing clips */
  .plan-pp { display: flex; align-items: stretch; }
  .plan-pp-thumb { flex: 0 0 84px; width: 84px; height: auto; min-height: 84px; }
  .plan-pp-thumb-n { font-size: .6rem; padding: 1px 5px; }
  .plan-pp-body { flex: 1; min-width: 0; padding: 9px 12px 10px; }
  .plan-pp-top { flex-direction: column; align-items: flex-start; gap: 1px; }
  .plan-pp-price { font-size: .92rem; white-space: normal; }
  .plan-pp-foot { flex-wrap: wrap; row-gap: 6px; }
  /* expanded cart = bottom sheet; collapsed = centered $ pill (clears the corner nothing) */
  .plan-cart { left: 0; right: 0; bottom: 0; width: auto; max-width: none; border-radius: 16px 16px 0 0; border-bottom: 0; box-shadow: 0 -6px 24px rgba(0,0,0,.16); }
  .plan-cart.collapsed { left: 50%; right: auto; transform: translateX(-50%); bottom: 80px; }   /* above the fixed nav bar */
  .plan-cart-body { max-height: 46vh; }
  .plan-cart-head { padding: 9px 14px; }
}

/* package media gallery (expand) */
.plan-pp-media-btn { display: block; width: 100%; text-align: center; background: #fff; border: 1px dashed #d9bfc4; color: #8c2d3a; border-radius: 9px; padding: 7px; font-size: .78rem; font-weight: 700; cursor: pointer; margin: 2px 0 10px; }
.plan-pp-media-btn:hover { background: #fbf4f5; }
.plan-pp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.plan-media-img { width: 100%; height: 92px; object-fit: cover; border-radius: 8px; }
.plan-media-vid { grid-column: 1 / -1; position: relative; padding-bottom: 56.25%; height: 0; border-radius: 10px; overflow: hidden; }
.plan-media-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-media-video { grid-column: 1 / -1; width: 100%; border-radius: 10px; }
.plan-media-link { grid-column: 1 / -1; display: block; text-align: center; padding: 8px; background: #f5eef0; color: #8c2d3a; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .82rem; }

/* ---- intake (event location + guests) ---- */
.plan-setup { display: flex; justify-content: center; margin-top: 8px; }
.plan-setup-btn { background: #8c2d3a; color: #fff; border: 0; border-radius: 999px; padding: 13px 26px; font-size: 1.02rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 22px rgba(140,45,58,.22); font-family: inherit; }
.plan-setup-btn:hover { background: #76212d; }
.plan-setup-summary { align-items: center; gap: 12px; background: #fff; border: 1px solid #ecdfc9; border-radius: 999px; padding: 9px 10px 9px 20px; box-shadow: 0 6px 20px rgba(140,45,58,.08); font-weight: 600; color: #4b3f3a; }
.plan-setup-change { background: #f5eef0; color: #8c2d3a; border: 0; border-radius: 999px; padding: 7px 16px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: .85rem; }
.plan-setup-change:hover { background: #ecdde0; }

.plan-intake-modal { max-width: 500px; }
.plan-intake-head { background: linear-gradient(135deg,#6b1721,#8c2d3a); color: #fff; padding: 22px 22px 18px; }
.plan-intake-head h2 { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.9rem; margin: 0 0 4px; }
.plan-intake-head p { margin: 0; font-size: .92rem; opacity: .92; }
.plan-intake-foot { justify-content: space-between; }
.plan-loc-picked { color: #166534; font-size: .82rem; font-weight: 700; margin-top: 4px; }

/* autocomplete */
.plan-ac-wrap { position: relative; }
.plan-loc-input { width: 100%; padding: 11px 13px; border: 1px solid #d8dce3; border-radius: 10px; font-size: .98rem; box-sizing: border-box; font-family: inherit; }
.plan-ac-sugg { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 3px); background: #fff; border: 1px solid #dcd2cc; border-radius: 11px; box-shadow: 0 12px 30px rgba(0,0,0,.18); z-index: 30; max-height: 280px; overflow: auto; }
.plan-ac-item { padding: 10px 13px; font-size: .88rem; cursor: pointer; border-bottom: 1px solid #f2ece9; color: #4b3f3a; }
.plan-ac-item:last-child { border-bottom: 0; }
.plan-ac-item:hover { background: #f7eef0; }

/* distance badge on a vendor */
.plan-dist { display: inline-block; margin-top: 4px; font-size: .74rem; font-weight: 700; color: #166534; background: #eaf5ee; border-radius: 999px; padding: 2px 10px; }
.plan-dist.serves { color: #5b4a44; background: #f1ece9; }
.plan-dist.far { color: #9a5a00; background: #fbf0dc; }

/* no-vendors-in-area → planner callback */
.plan-none-card { background: #fff; border: 1px dashed #d9bfc4; border-radius: 14px; padding: 18px 20px; color: #6b5f58; font-size: .95rem; }
.plan-planner-btn { display: inline-block; margin-left: 8px; background: #8c2d3a; color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: .88rem; }
.plan-planner-btn:hover { background: #76212d; }

/* vendor full-page links */
.plan-unit-fullpage { display: block; text-align: center; color: #8c2d3a; text-decoration: none; font-size: .78rem; font-weight: 700; margin: -6px 0 12px; }
.plan-unit-fullpage:hover { text-decoration: underline; }
.plan-vendor-fullpage { display: inline-block; color: #8c2d3a; text-decoration: none; font-weight: 700; font-size: .86rem; margin: 2px 0 10px; }
.plan-vendor-fullpage:hover { text-decoration: underline; }

/* gallery photos are zoomable */
.plan-media-img { cursor: zoom-in; }

/* image lightbox */
.plan-lightbox { position: fixed; inset: 0; background: rgba(10,6,5,.9); z-index: 100090; display: flex; align-items: center; justify-content: center; padding: 20px; }
.plan-lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.plan-lb-x { position: fixed; top: 16px; right: 20px; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; line-height: 1; }
.plan-lb-x:hover { background: rgba(255,255,255,.3); }

/* out-of-range → contact the vendor */
.plan-quote { color: #9a5a00; font-weight: 700; font-size: .82rem; white-space: normal; }
.plan-pp-btn.quote { background: #fbf0dc; color: #9a5a00; }
.plan-cart-quote { color: #9a5a00; font-weight: 800; font-size: .8rem; }
.plan-total-q { color: #9a5a00; font-weight: 700; font-size: .78rem; }

/* add-ons */
.plan-addon-hint { text-align: center; color: #8c2d3a; font-weight: 700; font-size: .8rem; padding: 7px; border: 1px dashed #d9bfc4; border-radius: 10px; cursor: pointer; background: #fff; }
.plan-addon-hint:hover { background: #fbf4f5; }
.plan-addon-head { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: #6b1721; margin: 16px 0 8px; border-top: 1px dashed #e7d6d0; padding-top: 12px; }
.plan-addon-head small { font-family: 'Jost', sans-serif; font-size: .72rem; color: #a0938c; font-weight: 500; margin-left: 6px; }
.plan-addonlist { display: flex; flex-direction: column; gap: 9px; }
.plan-addon-tag { display: inline-block; background: #efe7f7; color: #6b3fa0; font-size: .66rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; vertical-align: middle; }

/* hechsher (kosher certification) badge */
.plan-hechsher { display: inline-block; color: #2d6a4f; background: #e7f4ec; font-size: .72rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin: 4px 0 2px; max-width: 100%; }
.plan-hechsher-row { color: #2d6a4f; font-weight: 800; }

/* card switch animations: horizontal SLIDE for vendors (scroll-like), gentle rise for categories */
@keyframes planCardIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes planSlideInRight { from { transform: translateX(78px); } to { transform: translateX(0); } }
@keyframes planSlideInLeft { from { transform: translateX(-78px); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .plan-unit.active { animation: none !important; } html { scroll-snap-type: none; } }

/* one-time swipe hint toast (mobile) */
.plan-swipe-hint { display: none; position: fixed; left: 12px; right: 12px; bottom: 78px; z-index: 72;
  align-items: center; gap: 10px; background: rgba(43,35,32,.93); color: #fff; padding: 11px 14px; border-radius: 14px;
  font-size: .82rem; line-height: 1.35; box-shadow: 0 12px 34px rgba(0,0,0,.28); opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s; }
.plan-swipe-hint.show { opacity: 1; transform: none; }
.plan-swipe-hint span { flex: 1; }
.plan-swipe-hint b { color: #f3d9b0; }
.plan-swipe-hint button { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 0 2px; }
