/* QR Menu: landing page and editor. Loaded after styles.css and brand.css. */
.qm-hero { display: grid; gap: 40px; align-items: center; padding: 30px 0 60px; }
@media (min-width: 900px) { .qm-hero { grid-template-columns: 1.1fr .9fr; padding: 50px 0 80px; } }
.qm-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; margin: 10px 0 16px; }
.qm-hero h1 em { color: #B08D57; }
.qm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin: 22px 0; }
.qm-price b { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1; }
.qm-price span { color: #78716C; font-size: 15px; }
.qm-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qm-small { font-size: 13.5px; color: #78716C; margin-top: 12px; }

.qm-phone { justify-self: center; width: min(320px, 82vw); aspect-ratio: 9/18.5; border-radius: 42px; background: #1C1917; padding: 12px; box-shadow: 0 40px 80px -30px rgb(28 25 23 / .55); }
.qm-phone iframe { width: 100%; height: 100%; border: 0; border-radius: 32px; background: #fff; }

.qm-section { padding: 60px 0; border-top: 1px solid #E7E5E4; }
.qm-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 8px 0 28px; }
.qm-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .qm-grid { grid-template-columns: repeat(3, 1fr); } }
.qm-card { background: #fff; border: 1px solid #E7E5E4; border-radius: 22px; padding: 22px; box-shadow: var(--brand-shadow-card); }
.qm-card h3 { margin: 6px 0 6px; font-size: 18px; }
.qm-card p { margin: 0; color: #44403C; font-size: 15px; line-height: 1.6; }
.qm-ico { font-size: 26px; }
.qm-compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #E7E5E4; border-radius: 18px; overflow: hidden; font-size: 15px; }
.qm-compare th, .qm-compare td { padding: 13px 16px; text-align: left; border-top: 1px solid #E7E5E4; }
.qm-compare thead th { border-top: 0; background: #F3EFE8; font-weight: 600; }
.qm-compare .us { background: #F4EBDD; font-weight: 600; }
.qm-faq details { background: #fff; border: 1px solid #E7E5E4; border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.qm-faq summary { cursor: pointer; font-weight: 600; }
.qm-faq p { color: #44403C; margin: 10px 0 0; }

/* ---------- Editor ---------- */
.qe { display: grid; gap: 28px; padding: 10px 0 80px; }
@media (min-width: 1040px) { .qe { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .qe-side { position: sticky; top: 16px; } }
.qe-panel { background: #fff; border: 1px solid #E7E5E4; border-radius: 22px; padding: 22px; box-shadow: var(--brand-shadow-card); margin-bottom: 18px; }
.qe-panel h2 { font-size: 22px; margin: 0 0 14px; }
.qe-fields { display: grid; gap: 12px; }
@media (min-width: 640px) { .qe-fields { grid-template-columns: 1fr 1fr; } .qe-fields .full { grid-column: 1 / -1; } }
.qe label { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; color: #44403C; }
.qe input[type=text], .qe input:not([type]), .qe textarea, .qe select { font: 15px Inter, system-ui, sans-serif; padding: 10px 12px; border: 1px solid #E7E5E4; border-radius: 12px; background: #FAF8F5; color: #1C1917; width: 100%; }
.qe textarea { resize: vertical; min-height: 44px; }
.qe input:focus, .qe textarea:focus, .qe select:focus { outline: 2px solid #B08D57; outline-offset: 0; background: #fff; }
.qe-themes, .qe-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.qe-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; padding: 8px 14px; border: 1px solid #E7E5E4; border-radius: 99px; cursor: pointer; background: #fff; }
.qe-chip:has(input:checked) { border-color: #1C1917; background: #1C1917; color: #fff; }
.qe-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qe-swatch { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.qe-cat { border: 1px solid #E7E5E4; border-radius: 18px; padding: 14px; margin-bottom: 14px; background: #FAF8F5; }
.qe-cat-head { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.qe-cat-head input { font-weight: 600; font-size: 16px !important; }
.qe-item { display: grid; gap: 8px; grid-template-columns: 1fr 96px auto; align-items: start; background: #fff; border: 1px solid #E7E5E4; border-radius: 14px; padding: 10px; margin-bottom: 8px; }
.qe-item .desc { grid-column: 1 / -1; }
.qe-item .tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.qe-tag { font-size: 12.5px; padding: 4px 10px; border: 1px solid #E7E5E4; border-radius: 99px; cursor: pointer; user-select: none; }
.qe-tag:has(input:checked) { background: #F4EBDD; border-color: #B08D57; }
.qe-tag input { position: absolute; opacity: 0; pointer-events: none; }
.qe-iconbtn { border: 1px solid #E7E5E4; background: #fff; border-radius: 10px; width: 36px; height: 36px; cursor: pointer; font-size: 15px; flex: none; }
.qe-iconbtn:hover { border-color: #1C1917; }
.qe-tools { display: flex; gap: 4px; }
.qe-add { border: 1px dashed #B08D57; background: transparent; color: #7A5A24; border-radius: 12px; padding: 9px 14px; font: 600 14px Inter, sans-serif; cursor: pointer; }
.qe-status { font-size: 14px; min-height: 1.4em; margin: 10px 0 0; }
.qe-status.err { color: #B42318; }
.qe-status.ok { color: #1F4D3E; }
.qe-preview { width: 100%; height: 560px; border: 1px solid #E7E5E4; border-radius: 22px; background: #fff; }
.qe-link { display: flex; gap: 8px; }
.qe-link input { flex: 1; min-width: 0; }
.qe-plan { border-radius: 16px; padding: 14px 16px; background: #F4EBDD; color: #7A5A24; font-size: 14.5px; margin-bottom: 12px; }
.qe-plan.off { background: #FEE4E2; color: #912018; }
.qe-plan b { color: #1C1917; }
.qe-savebar { position: sticky; bottom: 0; z-index: 10; display: flex; gap: 12px; align-items: center; justify-content: space-between; background: rgb(250 248 245 / .94); backdrop-filter: blur(8px); border-top: 1px solid #E7E5E4; padding: 12px 0; }
.qe-trlist { display: grid; gap: 8px; margin-top: 12px; }
.qe-trrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.qe-start { text-align: center; padding: 30px 0 10px; }
.qe-start h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 8px 0 10px; }

/* Legal notices, allergens, checks, stats, photo import */
.qe-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.qe-check input { margin-top: 3px; width: auto; }
.qe-al { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.qe-aln { display: inline-grid !important; place-items: center; min-width: 30px; height: 28px; font-size: 12px !important; border: 1px solid #E7E5E4; border-radius: 8px; cursor: pointer; background: #fff; }
.qe-aln:has(input:checked) { background: #B42318; border-color: #B42318; color: #fff; }
.qe-aln input { position: absolute; opacity: 0; pointer-events: none; }
.qe-import { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #F4EBDD; border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; font-size: 14.5px; }
.qe-import label.btn { cursor: pointer; display: inline-flex; }
.qe-checks h3, .qe-stats h3 { font-size: 16px; margin: 20px 0 8px; }
.qe-checks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13.5px; }
.qe-checks li { padding: 8px 10px; border-radius: 10px; background: #FAF8F5; }
.qe-checks li.fix { background: #FEF3F2; color: #912018; }
.qe-okline { color: #1F4D3E; font-size: 14px; margin: 0; }
.qe-big { margin: 0 0 8px; font-size: 14px; } .qe-big b { font-size: 26px; font-family: var(--display); }
.qe-bars { display: flex; align-items: flex-end; gap: 2px; height: 56px; }
.qe-bars span { flex: 1; background: #B08D57; border-radius: 2px 2px 0 0; min-height: 3px; }
