/* Фото бүүт засварлагч (booth.php) */
body.be { margin: 0; min-height: 100vh; background: #fbf4f1; color: #33232b; font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; padding-bottom: 90px; }
.be * { box-sizing: border-box; }
.be-top { max-width: 1120px; margin: 12px auto 0; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; }
.be-logo img { display: block; height: 46px; width: auto; }
.be-link { color: #857580; font-weight: 600; font-size: 14px; text-decoration: none; }
.be-wrap { max-width: 1120px; margin: 0 auto; padding: 10px 16px 0; display: grid; gap: 28px; }
@media (min-width: 900px) { .be-wrap { grid-template-columns: 1fr 380px; align-items: start; } }
.be-k { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #a8486a; }
.be-k.c { text-align: center; color: #857580; }
.be-form h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.be-sub { margin: 8px 0 16px; color: #857580; font-size: 14.5px; line-height: 1.6; }
.be-row { display: flex; align-items: center; gap: 12px; }
.be-pick { position: relative; display: inline-flex; padding: 12px 20px; border-radius: 999px; background: #a8486a; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.04em; cursor: pointer; box-shadow: 0 10px 20px -12px #a8486a; }
.be-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.be-count { color: #857580; font-size: 13px; font-weight: 600; }
.be-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.be-thumbs div { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #eee; }
.be-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.be-thumbs b { position: absolute; left: 6px; top: 4px; color: #fff; font-size: 12px; text-shadow: 0 1px 3px #000; }
.be-tb { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; gap: 3px; padding: 4px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.be-tb button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #33232b; font-weight: 900; font-size: 12px; cursor: pointer; }
.be-h { margin: 22px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.be-pill { padding: 2px 8px; border-radius: 999px; background: #a8486a; color: #fff; font-size: 11px; letter-spacing: 0; }
.be-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.be-opts.two { grid-template-columns: 1fr 1fr; }
.be-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 14px; border: 1.5px solid #f0e3e6; background: #fff; cursor: pointer; font-family: inherit; color: #33232b; text-align: center; }
.be-opt b { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.be-opt small { font-size: 10.5px; color: #857580; }
.be-opt.on { border-color: #d2617f; box-shadow: 0 0 0 1px #d2617f inset; }
.be-opt .bt-ic { transform: scale(1.4); margin: 6px 0; }
.be-opt .bt-ic-pr { width: 64px; height: 26px; }
.be-stk { display: flex; flex-wrap: wrap; gap: 8px; }
.be-stk button { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid #f0e3e6; background: #fff; font-size: 20px; color: #e2496f; cursor: pointer; }
.be-stk button.on { border-color: #d2617f; background: #fff1f5; }
.be-lb { display: block; margin: 18px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #857580; }
.be-lb small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.be input, .be select, .be textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid #e6d8dc; background: #fff; font: 500 15px "Inter", sans-serif; color: #33232b; outline: none; }
.be textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.be input:focus, .be select:focus, .be textarea:focus { border-color: #a8486a; box-shadow: 0 0 0 3px rgba(168, 72, 106, 0.12); }
.be-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.be-err { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #fde8ea; color: #b4233a; font-weight: 600; font-size: 14px; }
/* Утасны харагдац */
.be-sticky { position: sticky; top: 16px; padding: 18px 18px 14px; border-radius: 26px; background: #fffcfa; border: 1px solid #f0e3e6; }
.be-phone { margin: 6px auto 0; width: 290px; padding: 9px; border-radius: 38px; background: #fff; border: 1px solid #ecdde2; box-shadow: 0 30px 50px -36px rgba(80, 20, 40, 0.6); }
.be-screen { height: 560px; overflow-y: auto; border-radius: 30px; padding: 18px 10px 20px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 0%, #7a1f3c 0%, #4e1226 55%, #350a19 100%); scrollbar-width: none; }
.be-screen::-webkit-scrollbar { display: none; }
.be-screen .booth { transform: scale(0.86); transform-origin: top center; margin-bottom: -12%; }
.be-cap { margin: 14px 0 10px; font-family: "Caveat", cursive; font-size: 24px; }
.be-btn { display: inline-block; padding: 9px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.be-info { margin-top: 22px; font-size: 13px; line-height: 1.5; }
.be-info .be-k { color: rgba(255,255,255,.7); }
.be-info p { margin: 4px 0; }
.be-who { margin: 10px 0 0; text-align: center; color: #857580; font-size: 13px; }
/* Доод мөр */
.be-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px max(16px, calc(50% - 544px)) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 252, 250, 0.96); backdrop-filter: blur(10px); border-top: 1px solid #f0e3e6; }
.be-back { color: #857580; font-weight: 600; font-size: 14px; text-decoration: none; }
.be-price { margin-left: auto; font-weight: 800; color: #a8486a; }
.be-go { padding: 14px 24px; border-radius: 999px; border: 0; background: #a8486a; color: #fff; font: 800 15px "Inter", sans-serif; cursor: pointer; box-shadow: 0 12px 22px -12px #a8486a; }
.be-go:disabled { opacity: .6; }
@media (max-width: 899px) { .be-side { order: 2; } .be-sticky { position: static; } }
@media (max-width: 520px) { .be-opts { grid-template-columns: 1fr 1fr; } .be-thumbs { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Болзоо / уучлаарай засварлагч (editor.php) ---------- */
.ed-sec { border-bottom: 1px solid #efe2e5; }
.ed-sec summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-weight: 700; font-size: 15px; }
.ed-sec summary::-webkit-details-marker { display: none; }
.ed-sec summary em { font-style: normal; font-size: 11px; color: #a89aa1; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.ed-sec summary em::after { content: "+"; font-size: 18px; color: #857580; }
.ed-sec[open] summary em::after { content: "−"; }
.ed-body { padding: 0 2px 18px; }
.ed-body .be-lb:first-child { margin-top: 0; }
.ed-tf { display: flex; gap: 8px; }
.ed-tf button { flex: none; width: 40px; border: 0; background: none; color: #a89aa1; font-size: 18px; cursor: pointer; }
.ed-sub { margin: 6px 0 10px; color: #857580; font-size: 13px; }
.ed-h { margin: 18px 0 4px; font-weight: 800; font-size: 14px; }
.ed-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ed-chips button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #f0e3e6; background: #fff; font: 600 13px "Inter", sans-serif; color: #33232b; cursor: pointer; }
.ed-chips button.ic { padding: 4px 12px 4px 4px; }
.ed-chips button.on { border-color: #d2617f; background: #fff1f5; color: #a8486a; }
.ed-av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fbf4f1; overflow: hidden; }
.ed-av svg { width: 30px; height: 32px; margin-top: 4px; }
.ed-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.ed-days button { padding: 8px 4px; border-radius: 12px; border: 1.5px solid #f0e3e6; background: #fff; cursor: pointer; font-family: inherit; color: #33232b; }
.ed-days b { display: block; font-size: 12px; } .ed-days small { font-size: 11px; color: #857580; }
.ed-days button.on { border-color: #d2617f; background: #fff1f5; }
.ed-check { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: 14px; }
.ed-check input { width: 18px; height: 18px; }
.ed-opt { display: grid; grid-template-columns: 1fr 1fr 36px; gap: 6px; margin-bottom: 6px; }
.ed-opt button { border: 0; background: #fbeef1; border-radius: 10px; color: #b4233a; font-weight: 900; cursor: pointer; }
.ed-add { margin-top: 4px; padding: 10px 14px; border-radius: 999px; border: 1.5px dashed #e2b9c7; background: none; color: #a8486a; font: 700 13px "Inter", sans-serif; cursor: pointer; }
.ed-photo { display: flex; align-items: center; gap: 12px; } .ed-photo img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.ed-photo button { border: 0; background: none; color: #b4233a; font-weight: 700; cursor: pointer; }
.be-pick.sm { padding: 10px 16px; font-size: 12px; }
.ed-bgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ed-bgs button { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; border: 1.5px solid #f0e3e6; background: #fff; font: 600 12px "Inter", sans-serif; color: #33232b; cursor: pointer; }
.ed-bgs button.on { border-color: #d2617f; }
.ed-bgs i { display: block; height: 52px; border-radius: 10px; }
/* Харагдац */
.pv-tabs { display: flex; gap: 4px; justify-content: center; margin: 4px 0 10px; flex-wrap: wrap; }
.pv-tabs button { padding: 6px 10px; border-radius: 999px; border: 1px solid #f0e3e6; background: #fff; font: 600 11.5px "Inter", sans-serif; color: #857580; cursor: pointer; }
.pv-tabs button.on { background: #a8486a; border-color: #a8486a; color: #fff; }
.be-screen.pv { color: #4a2a3e; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px 16px; }
.pv .ch-pair { width: 200px; }
.pv-img { width: 190px; height: auto; } .pv-img.sm { width: 130px; }
.pv-photo { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; }
.pv-av { width: 110px; height: 110px; border-radius: 50%; background: #fff; border: 5px solid #ff8fa6; display: grid; place-items: center; } .pv-av svg { width: 80px; }
.pv-names { margin: 0; font-size: 11px; font-weight: 800; color: #d2617f; letter-spacing: .1em; }
.pv-k { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.pv-t { margin: 0; font-family: "Caveat", cursive; font-size: 30px; line-height: 1.05; font-weight: 700; }
.pv-q { margin: 0; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.55); font-family: "Caveat", cursive; font-size: 17px; }
.pv-s { margin: 0; font-size: 12px; opacity: .85; }
.pv-yn { display: flex; gap: 8px; margin-top: 6px; } .pv-yn span { padding: 8px 16px; border-radius: 999px; font-size: 11px; font-weight: 800; border: 1.5px solid currentColor; }
.pv-yn span:first-child { background: linear-gradient(135deg, #ff8fa6, #e2496f); color: #fff; border-color: transparent; }
.pv-list { display: grid; gap: 6px; width: 100%; } .pv-list span { padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.75); font-size: 12px; text-align: left; color: #4a2a3e; }
.pv-list b { display: block; } .pv-list small { opacity: .7; }
.pv-ticket { width: 100%; padding: 16px; border-radius: 16px; background: #fff; color: #4a2a3e; box-shadow: 0 10px 20px -10px rgba(0,0,0,.3); }
.pv-ticket b { display: block; font-size: 18px; color: #e2496f; } .pv-ticket small { font-size: 11px; }
.pv-bg-pink { background: linear-gradient(170deg, #fff7f3, #ffe6ee 60%, #f9eefa); }
.pv-bg-clouds { background: radial-gradient(160px 70px at 20% 15%, #fff, transparent 70%), radial-gradient(140px 60px at 80% 30%, #fff, transparent 70%), radial-gradient(200px 70px at 50% 92%, #fff, transparent 70%), linear-gradient(170deg, #ecdff3, #fbeef3 60%, #fff4ec); }
.pv-bg-stars { background: radial-gradient(1.5px 1.5px at 20% 20%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 70% 40%, #fff 50%, transparent), radial-gradient(1px 1px at 40% 70%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 85% 80%, #fff 50%, transparent), linear-gradient(180deg, #1c1638, #2c1f52 60%, #3b2460); background-size: 90px 90px, 110px 110px, 70px 70px, 130px 130px, 100% 100%; color: #fff !important; }
.pv-bg-stars .pv-list span, .pv-bg-stars .pv-q { background: rgba(255,255,255,.12); color: #fff; }
.pv-bg-garden { background: radial-gradient(circle at 10% 12%, #ffd3e0 0 22px, transparent 23px), radial-gradient(circle at 90% 20%, #ffe7b8 0 16px, transparent 17px), radial-gradient(circle at 12% 88%, #d8f0c8 0 26px, transparent 27px), radial-gradient(circle at 88% 84%, #ffc7d6 0 22px, transparent 23px), linear-gradient(170deg, #fff6f1, #fdeff3 60%, #f3f7ea); }
.pv-bg-y2k { background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.7) 0 12px, transparent 14px), radial-gradient(circle at 80% 70%, rgba(255,255,255,.6) 0 16px, transparent 18px), linear-gradient(135deg, #c7b8ff, #ffc6ea 45%, #b8f0ff); }
.pv-bg-sunset { background: linear-gradient(180deg, #ffd1dc 0%, #ffc7a8 45%, #ffe2b8 70%, #fff4e6 100%); }
.pv-bg-wine { background: radial-gradient(circle at 50% 0%, #7a1f3c 0%, #4e1226 55%, #350a19 100%); }
.be-screen[class*="pv-bg-"] .be-cap, .be-screen[class*="pv-bg-"] .be-info { color: #4a2a3e; } .be-screen.pv-bg-stars .be-cap, .be-screen.pv-bg-stars .be-info, .be-screen.pv-bg-black .be-cap, .be-screen.pv-bg-black .be-info { color: #fff; }
.be-screen[class*="pv-bg-"] .be-btn { border-color: #a8486a; color: #a8486a; }
.pv .ch-photo { width: 230px; }
.ed-look { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.ed-look button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 8px; border-radius: 14px; border: 1.5px solid #f0e3e6; background: #fff; font: 600 11.5px "Inter", sans-serif; color: #33232b; cursor: pointer; }
.ed-look button.on { border-color: #d2617f; background: #fff1f5; color: #a8486a; }
.ed-look img { width: 62px; height: 52px; object-fit: contain; }

/* ---------- Momentliy шиг толгой, алхмын мөр, бараан харагдац ---------- */
body.be { background: radial-gradient(900px 600px at 100% 0%, #fbe3ec 0%, transparent 60%), radial-gradient(800px 600px at 0% 20%, #fdeee6 0%, transparent 60%), #fbf4f1; }
.be-top { max-width: 1240px; margin: 14px auto 0; padding: 12px 18px 12px 26px; border-radius: 999px; background: rgba(255, 252, 250, 0.9); backdrop-filter: blur(12px); box-shadow: 0 14px 34px -24px rgba(150, 60, 90, 0.5), inset 0 0 0 1px rgba(255,255,255,.9); position: sticky; top: 10px; z-index: 30; }
.be-logo img { height: 52px; }
.be-nav { display: flex; gap: 28px; }
.be-nav a { color: #9a8a92; font-size: 15px; text-decoration: none; }
.be-nav a:hover { color: #33232b; }
.be-steps { list-style: none; max-width: 1240px; margin: 26px auto 10px; padding: 18px 16px 0; display: flex; gap: 34px; border-top: 1px solid #f0e2e6; font-size: 14px; color: #9a8a92; overflow-x: auto; }
.be-steps li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.be-steps b { font-size: 11px; font-weight: 600; }
.be-steps li.on { color: #c2416b; font-weight: 700; }
.be-steps li.on b { width: 8px; height: 8px; border-radius: 50%; background: #c2416b; font-size: 0; }
.be-wrap { max-width: 1240px; gap: 60px; padding-top: 24px; }
@media (min-width: 900px) { .be-wrap { grid-template-columns: 1fr 560px; padding-left: 40px; } }
.be-form h1 { font-size: 34px; }
.be-sticky { padding: 30px 30px 24px; border-radius: 34px; background: #fffcfa; border: 1px solid #f3e6e9; top: 100px; }
.be-phone { width: 340px; padding: 12px; border-radius: 44px; }
.be-screen { height: 640px; border-radius: 34px; }
/* бараан дарс өнгийн дэвсгэр (анхдагч) */
.pv-bg-wine { background: radial-gradient(circle at 50% 0%, #6a1f3a 0%, #3e1022 55%, #2a0a17 100%); color: #fff; }
.pv.pv-bg-wine, .pv.pv-bg-black, .pv.pv-bg-party { color: #fff; }
.pv-bg-wine .pv-list span, .pv-bg-wine .pv-q, .pv-bg-black .pv-list span, .pv-bg-black .pv-q, .pv-bg-party .pv-list span, .pv-bg-party .pv-q { background: rgba(255,255,255,.1); color: #fff; }
.pv-bg-wine .pv-names, .pv-bg-black .pv-names, .pv-bg-party .pv-names { color: #ff8fab; }
.pv .pv-t { font-size: 40px; }
.pv-yn span:last-child { background: rgba(0,0,0,.15); }
@media (max-width: 899px) {
  .be-top { margin: 10px 10px 0; padding: 8px 12px; }
  .be-nav { display: none; }
  .be-steps { gap: 18px; margin-top: 14px; }
  .be-sticky { padding: 18px; } .be-phone { width: 290px; } .be-screen { height: 560px; } .pv .pv-t { font-size: 32px; }
}
/* Харагдац доош гүйлгэхэд дагаж явна */
@media (min-width: 900px) { .be-side { align-self: stretch; } .be-sticky { position: sticky; top: 104px; } }
@media (min-width: 900px) {
  .be-sticky { top: 100px; padding: 18px 26px 14px; }
  .be-screen { height: clamp(420px, calc(100vh - 330px), 640px); }
  .be-phone { width: auto; max-width: 340px; aspect-ratio: auto; }
}
.pv-cake { margin: 2px 0; font-size: 34px; line-height: 1; }
.pv-note { margin: 8px 0; padding: 10px 12px; min-height: 64px; border-radius: 12px; background: #fffaf3; color: #4a2a3e; font-family: "Caveat", cursive; font-size: 17px; text-align: left; }
.ed-photo.bd img { width: 92px; height: 92px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 3px #ff9ab8; }
.ed-sec summary small.req { font-size: 11px; font-weight: 800; color: #e2457a; }
.pv-ph-need { position: relative; }
.pv-ph-need .pv-img { opacity: .55; }
.pv-ph-need span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 86%; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: #a8486a; font-size: 12px; font-weight: 800; }

.pv-bg-black { background: radial-gradient(circle at 50% 0%, #2c2b31 0%, #151418 55%, #08080a 100%); color: #fff; }
.pv-bg-party { background: radial-gradient(2.5px 2.5px at 15% 20%, #ffd166 60%, transparent), radial-gradient(2.5px 2.5px at 80% 15%, #4fd1c5 60%, transparent), radial-gradient(2px 2px at 30% 75%, #f472b6 60%, transparent), radial-gradient(2.5px 2.5px at 70% 60%, #a78bfa 60%, transparent), radial-gradient(circle at 50% 0%, #3a2d8f 0%, #1d1752 50%, #0d0b26 100%); color: #fff; }
.pv-bg-party .pv-yn span:first-child { background: linear-gradient(120deg, #8b5cf6, #3b82f6 55%, #06b6d4); }
.pv-bg-party .pv-names { color: #ffc94d; }
