.setup-options {
  max-height: clamp(390px, 82vh, 840px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 2px 5px 4px 2px;
  gap: 8px;
}
.setup-options .theme-card { grid-template-columns: 84px minmax(0,1fr); border-width: 1px; }
.setup-options .theme-card.selected { border: 1px solid var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.setup-options .theme-art { min-height: 66px; }
.setup-options .theme-meta { padding: 8px 10px; }
.setup-options .theme-meta strong { line-height: 1.12; }
.landing-designs { align-items: start; }
.landing-designs .theme-art { height: clamp(88px,12vw,153px); }
.theme-art.bistro, .bistro .type-cover { color: #793934; background: #faf2df; }
.theme-art.counter, .counter .type-cover { color: #2c2016; background: #ffcb51; }
.theme-art.terrace, .terrace .type-cover { color: #264535; background: #dfebdb; }
.theme-art.ledger, .ledger .type-cover { color: #293953; background: #eeeDE5; }
.theme-art.atelier, .atelier .type-cover { color: #f2d9c4; background: #35232e; }
.theme-art.coast, .coast .type-cover { color: #135374; background: #e1eee8; }
.theme-art.market, .market .type-cover { color: #77391f; background: #f4e7cc; }
.menu-cover:is(.bistro,.counter,.terrace,.ledger,.atelier,.coast,.market) .type-cover>span { color: inherit; }
.menu-cover:is(.counter,.market) .type-cover strong { font: 800 30px/1.1 "DM Sans",sans-serif; letter-spacing: -.05em; }
.menu-cover.atelier .type-cover strong { font-style: italic; }

.bistro .art-type { inset: 20% 6% auto; padding: 6% 0 4%; border-block: 3px double currentColor; text-align:center; font: italic 30px/1 Georgia,serif; }
.bistro .art-rule { inset: auto 15% 14%; height: 9%; border-block: 1px dotted #986b59; }
.counter .art-type { top: 10%; left: 6%; font: 900 clamp(18px,2.2vw,32px)/1 "DM Sans",sans-serif; letter-spacing:-.075em; }
.counter img { width: 67%; height: 61%; right: 6%; bottom: 5%; border: 2px solid #392623; box-shadow: 3px 3px 0 #a23a2a; }
.counter .art-rule { left: 7%; bottom: 11%; width: 12%; height: 40%; border-inline: 2px solid #a23a2a; }
.terrace .art-type { top: 9%; left: 7%; font: normal clamp(17px,2vw,29px)/1 Georgia,serif; letter-spacing:-.055em; }
.terrace img { width: 47%; height: auto; aspect-ratio:1; bottom: -10%; right: 7%; border-radius: 50%; border: 4px solid #fcf9ed; }
.terrace .art-rule { inset: auto 56% 16% 8%; height: 20%; border-block: 2px solid #8ba58b; }
.ledger .art-type { inset: 12% 7% auto; padding-block-end:5%; font: 700 clamp(18px,2vw,31px)/1 Georgia,serif; border-block-end: 3px solid currentColor; letter-spacing: -.065em; }
.ledger .art-rule { inset: 58% 8% 12%; background: repeating-linear-gradient(0deg,transparent 0 6px,#8090a0 6px 7px); border-inline-start: 6px solid #51647b; }
.atelier .art-type { top: 10%; left: 7%; font: italic normal clamp(20px,2vw,32px)/1 Georgia,serif; letter-spacing:-.055em; }
.atelier img { width: 84%; height: 49%; right:8%; bottom:10%; border-radius:30px 3px; object-position: 55% 46%; }
.coast .art-type { inset: 17% 7% auto; font: 700 clamp(20px,2vw,30px)/1 Georgia,serif; letter-spacing: -.075em; }
.coast img { inset:auto 0 0 auto; width:52%; height:60%; border-start-start-radius:40px; }
.coast .art-rule { inset:0 0 auto; height:8%; background:repeating-linear-gradient(120deg,#196480 0 6px,#a4c5c7 6px 12px,#f5f2dd 12px 18px); }
.market .art-type { top:7%; left:6%; font:800 clamp(20px,2vw,31px)/1 "DM Sans", sans-serif; letter-spacing:-.08em; }
.market img { inset: auto 6% 7%; width:88%; height: 51%; border-top: 3px solid #a24c2b; object-position: 50% 60%; }
.theme-art img { pointer-events:none; }
.theme-art.drawer,.drawer .type-cover { color:#40281e; background:#f4e8d6; }
.drawer .art-type { inset:11% auto auto 9%; font:800 clamp(14px,2.4vw,31px)/1 "DM Sans",sans-serif; letter-spacing:-.055em; }
.drawer .art-rule { inset:37% auto auto 10%; width:21%; height:19%; border-block:2px solid currentColor; }
.drawer .art-rule::after { content:""; position:absolute; inset:45% 0 auto; border-top:2px solid currentColor; }
.drawer.theme-art img { inset:auto -5% 0 auto; width:61%; height:64%; object-fit:cover; border-radius:45% 0 0 0; }
.theme-art.shelves,.shelves .type-cover { color:#41281b; background:#f4eade; }
.shelves .art-type { inset:6% auto auto 6%; font:bold clamp(16px,2.5vw,30px)/1 Georgia,serif; }
.shelves .art-rule { inset:auto 5% 5%; border-top:2px solid currentColor; opacity:.6; }
.theme-art.shelves img { inset:auto auto 13% 6%; width:31%; height:51%; object-fit:cover; border-radius:4px; }
.theme-art.shelves img:nth-of-type(2) { left:40%; }
.theme-art.shelves img:nth-of-type(3) { left:74%; }
.theme-art.directory,.directory .type-cover { color:#294333; background:#e2ece2; }
.directory .art-type { inset:9% auto auto 7%; font:italic bold clamp(18px,2.5vw,32px)/1 Georgia,serif; letter-spacing:-.05em; }
.theme-art.directory .art-rule { inset:auto 7% 12%; height:38%; border:1px solid currentColor; background:linear-gradient(90deg,transparent 47%,currentColor 47% 48%,transparent 48%); }
.theme-art.directory img { inset:auto auto 14% 8%; width:38%; height:34%; object-fit:cover; }
.theme-art.directory::after { content:"→"; position:absolute; right:11%; bottom:14%; line-height:1; }
.theme-art.accordion,.accordion .type-cover { color:#402f43; background:#efe6ec; }
.accordion .art-type { inset:9% auto auto 8%; font:normal clamp(19px,2.6vw,33px)/1 Georgia,serif; letter-spacing:-.05em; }
.theme-art.accordion .art-rule { inset:43% 8% 10%; border-block:1px solid currentColor; background:linear-gradient(transparent 48%,currentColor 48% 51%,transparent 51%); }
.theme-art.accordion .art-rule::after { content:"+"; position:absolute; right:2%; top:0; line-height:1; }
.setup-options .theme-art:is(.drawer,.shelves,.directory,.accordion) .art-type { font-size:16px!important; }
.setup-logo,.header-logo-preview,.header-logo-tools { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.setup-logo { margin-block-start:12px; }
.setup-logo img,.header-logo-preview img { width:auto; max-width:min(100%,180px); height:auto; max-height:58px; object-fit:contain; }
.header-logo-preview { padding:12px; border:1px solid var(--line); border-radius:8px; }
.header-logo-preview[hidden] { display:none; }
.header-mode { border:0; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:9px 18px; }
.header-mode legend { margin-bottom:7px; font-weight:600; }
.header-mode label { cursor:pointer; }
.header-mode label:has(:disabled) { opacity:.6; }
.header-logo-tools { margin-block:8px; }
.setup-colors {margin:-10px 0 24px}
.setup-colors summary {width:fit-content;cursor:pointer;color:var(--primary);font-weight:600}
.setup-colors summary span {display:inline-flex;gap:4px;margin-inline-start:5px;vertical-align:middle}
.setup-colors summary i {width:18px;height:18px;border:1px solid #7778;border-radius:50%}
.setup-colors>div {display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:12px}
.setup-colors label {display:flex;gap:6px;align-items:center;font-size:var(--caption)}
.setup-colors input {width:38px;height:34px;padding:2px;border:1px solid var(--line);border-radius:5px;cursor:pointer}
.design-setup .theme-art {color:var(--menu-ink);background:color-mix(in srgb,var(--menu-paper) 90%,var(--menu-accent))}
.design-setup .theme-art .art-type {color:var(--menu-ink)}
.design-setup .theme-art :is(.art-rule,img) {border-color:var(--menu-accent)}
.design-setup .counter img {box-shadow:3px 3px 0 var(--menu-accent)}
.design-setup .coast .art-rule {background:repeating-linear-gradient(120deg,var(--menu-accent) 0 6px,var(--menu-paper) 6px 12px)}
.design-setup .ledger .art-rule {background:repeating-linear-gradient(0deg,transparent 0 6px,var(--menu-ink) 6px 7px)}
.setup-options .theme-art.counter .art-type,.setup-options .theme-art.terrace .art-type { font-size: 15px!important; }

@media (max-width:760px) {
  .setup-options { display: flex; gap: 9px; max-height:none; overflow: auto hidden; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
  .setup-options .theme-card { flex: 0 0 126px; scroll-snap-align:start; }
  .setup-options .theme-art { display:block; height:64px; min-height:0; }
  .setup-options .theme-meta { min-height:45px; display:flex; align-items:center; padding:6px 9px; }
  .setup-options .theme-meta strong { font-size:1rem; }
  .setup-options .theme-art.counter .art-type,.setup-options .theme-art.terrace .art-type { font-size:17px!important; }
}
@media (max-width:600px) {
  .landing-designs .theme-grid { display:flex; overflow:auto hidden; gap:10px; padding-block:2px 10px; scroll-snap-type:x proximity; }
  .landing-designs .theme-card { flex:0 0 155px; scroll-snap-align:start; }
  .landing-designs .theme-art { height:94px; }
}
