/* r4.2.38z62payments (PREVIEW): web plans, lock overlay, For Restaurants. Everything here is hidden in the iOS app and in the EU. */
html[data-inapp] .wp-plans, html[data-inapp] .wp-pay, html[data-inapp] .wp-rest, html[data-inapp] .wp-rest-btn, html[data-inapp] #wp-preview-bar,
html[data-inapp] .wp-lock, html[data-inapp] .wp-price, html[data-region="eu"] .wp-plans, html[data-region="eu"] .wp-rest, html[data-region="eu"] .wp-rest-btn,
html[data-region="eu"] #wp-preview-bar { display: none !important; }
.wp-plans { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 10px 0; }
@media (min-width: 720px) { .wp-plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .wp-page .wp-plans { grid-template-columns: repeat(4, 1fr); } .wp-page .wp-plans-3 { grid-template-columns: repeat(3, 1fr); } }
.wp-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 14px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid rgba(212,166,74,.28); color: #f5efe2; }
.wp-plan h3 { margin: 4px 0 0; font-size: 1.05rem; }
.wp-plan ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 5px; font-size: .9rem; line-height: 1.35; flex: 1; }
.wp-plan li { padding-left: 20px; position: relative; }
.wp-plan li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 10px; height: 6px; border-left: 2px solid #d4a64a; border-bottom: 2px solid #d4a64a; transform: rotate(-45deg); }
.wp-price { margin: 0; font-size: 1.7rem; font-weight: 800; color: #f3d38a; letter-spacing: -.01em; }
.wp-per { font-size: .85rem; font-weight: 600; color: rgba(245,239,226,.7); margin-left: 3px; }
.wp-best { border-color: #d4a64a; box-shadow: 0 0 0 1px rgba(212,166,74,.5), 0 10px 28px rgba(0,0,0,.35); }
.wp-focus { outline: 2px solid #f3d38a; outline-offset: 2px; }
.wp-badge, .wp-soon { position: absolute; top: -10px; right: 12px; background: #d4a64a; color: #1a1408; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.wp-soon { position: static; align-self: flex-start; background: rgba(212,166,74,.18); color: #f3d38a; border: 1px solid rgba(212,166,74,.45); }
.wp-cur { margin: 0; text-align: center; font-weight: 700; color: #9fe0b0; padding: 10px 0 2px; }
.wp-cur-free { color: rgba(245,239,226,.75); font-weight: 600; }
.wp-test-tag { margin: 4px 0 0; font-size: .72rem; text-align: center; color: #ffb3a8; font-weight: 700; letter-spacing: .02em; }
.wp-pay { text-align: center; text-decoration: none; }
.wp-fine { font-size: .78rem; color: rgba(245,239,226,.65); margin: 8px 0; line-height: 1.4; }
.wp-fine a { color: #f3d38a; }
.wp-need { margin: 4px 0 10px; padding: 10px 12px; border-radius: 12px; background: rgba(212,166,74,.12); border: 1px solid rgba(212,166,74,.35); }
.wp-sheet-links { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin: 6px 0 10px; }
.wp-sheet-links .btn { text-align: center; text-decoration: none; }
.wp-rest { margin-top: 28px; }
.wp-rest h2 { margin: 0 0 4px; }
.wp-rest-lead { margin: 0 0 12px; color: rgba(245,239,226,.85); }
.wp-contact { text-align: center; text-decoration: none; }
a.wp-rest-btn { text-decoration: none; text-align: center; }
/* tasteful lock overlay on locked dishes (Menú list, Mood lists) */
html[data-webplans="on"] .meal-item.locked, html[data-webplans="on"] .mood-dish.locked { opacity: 1; cursor: pointer; }
html[data-webplans="on"] .meal-item.locked > :first-child, html[data-webplans="on"] .mood-dish.locked > :first-child { position: relative; }
html[data-webplans="on"] :is(.meal-item, .mood-dish).locked :is(img, .thumb) { filter: saturate(.55) brightness(.62) blur(.4px); }
html[data-webplans="on"] :is(.meal-item, .mood-dish).locked .meal-info .name { color: rgba(245,239,226,.82); }
.wp-lock { white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: rgba(212,166,74,.16); border: 1px solid rgba(212,166,74,.5); color: #f3d38a; vertical-align: middle; opacity: 1; }
html[data-webplans="on"] :is(.meal-item, .mood-dish).locked::after { content: "See plans"; position: absolute; right: 10px; bottom: 10px; font-size: .72rem; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; background: #d4a64a; color: #1a1408; pointer-events: none; }
html[data-webplans="on"] :is(.meal-item, .mood-dish).locked { position: relative; }
/* preview-only plan switch (so Manny can see each plan); never shown in the app or the EU */
#wp-preview-bar { position: fixed; left: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 2147483000; display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 5px 7px; border-radius: 12px; background: rgba(120, 20, 20, .92); color: #fff; font: 700 11px/1.2 system-ui, sans-serif; max-width: calc(100vw - 16px); box-shadow: 0 4px 14px rgba(0,0,0,.4); }
#wp-preview-bar button { font: inherit; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; border-radius: 8px; padding: 3px 7px; cursor: pointer; }
#wp-preview-bar button[aria-pressed="true"] { background: #fff; color: #7a1414; }
@media (max-width: 719px) { #wp-preview-bar { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); } }
/* plans page (legal.css base has no .btn): same look as the app's buttons */
.wp-page .btn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: .95rem;
  border: 1px solid rgba(255,255,255,.18); color: #f5efe2; background: rgba(255,255,255,.03); text-decoration: none; box-sizing: border-box; }
.wp-page .btn-primary { border: 2px solid #d4a64a; color: #f3d38a; background: rgba(212,166,74,.08); box-shadow: 0 0 14px rgba(212,166,74,.15); }
.wp-page .btn-primary:hover { background: rgba(212,166,74,.16); }
.wp-page .btn-wide { width: 100%; margin-top: 6px; }
.wp-plan li { margin: 0; color: #f5efe2; }
.wp-page #wp-preview-bar { left: auto; right: 8px; bottom: 8px; }
