/* Websites, shops & apps: sample template demos. Everything is prefixed wd-. */
.web-demos { background: var(--white); }

/* Tabs */
.wd-tabs-wrap { position: relative; }
.wd-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.wd-tabs button { display: inline-flex; align-items: center; gap: 8px; font: 500 .92rem var(--font); padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.wd-tabs button:hover { border-color: var(--navy); }
.wd-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.wd-tab-n { font-size: .7rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.wd-tabs button.on .wd-tab-n { color: var(--halo); }

/* Panel */
.wd-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); animation: wdFade .35s ease; }
.wd-panel:focus-visible { outline: 3px solid var(--halo); outline-offset: 4px; }
@keyframes wdFade { from { opacity: 0; transform: translateY(8px); } }
.wd-kind { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-3); background: var(--stone); padding: 5px 11px; border-radius: 99px; margin-bottom: 16px; }
.wd-copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-weight: 700; }
.wd-what { color: var(--body); }
.wd-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.wd-list li { padding-left: 28px; position: relative; font-size: .95rem; }
.wd-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 999px 999px 4px 4px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center 60%/11px no-repeat; }
.wd-try { font-size: .9rem; color: var(--body); border-top: 1px dashed var(--line); padding-top: 16px; margin: 0; display: flex; gap: 10px; align-items: baseline; }
.wd-try-pill { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 3px 9px; border-radius: 99px; position: relative; top: -1px; }
.wd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Canvas + chrome */
.wd-canvas { background: var(--stone-2); border-radius: 16px; padding: 0 clamp(14px, 2.5vw, 24px) clamp(14px, 2.5vw, 22px); display: flex; flex-direction: column; min-width: 0; min-height: 520px; }
.wd-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 2px 12px; font-size: .72rem; color: var(--muted); }
.wd-live { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--navy); }
.wd-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(31, 157, 107, .18); }
.wd-tag { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); padding: 2px 9px; border-radius: 99px; }
.wd-status { min-height: 2.8em; margin: 10px 2px 0; font-size: .8rem; color: var(--body); }

.wd-browser { position: relative; background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.wd-chrome { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f3f0ee; border-bottom: 1px solid var(--line-soft); }
.wd-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #d3ccc9; flex: none; }
.wd-url { margin-left: 8px; flex: 1; min-width: 0; font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line-soft); border-radius: 99px; padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-site-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); font-size: .85rem; }
.wd-site-head b { font-weight: 600; letter-spacing: .02em; }
.wd-logo-ph { width: 22px; height: 22px; border-radius: 6px; background: repeating-linear-gradient(45deg, #ddd6d3 0 4px, #ebe6e4 4px 8px); flex: none; }
.wd-cart { margin-left: auto; font: 500 .78rem var(--font); color: var(--navy); display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 4px; }
.wd-cart em { font-style: normal; font-size: .7rem; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--navy); color: #fff; }
.wd-cart-btn { cursor: pointer; border-radius: 8px; }
.wd-cart-btn:hover { background: var(--paper); }

/* Shared controls */
.wd-seg { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 12px; max-width: 100%; align-self: center; }
.wd-scroll { overflow-x: auto; scrollbar-width: none; }
.wd-scroll::-webkit-scrollbar { display: none; }
.wd-seg button, .wd-view button { flex: none; font: 500 .82rem var(--font); border: 0; background: transparent; padding: 8px 14px; min-height: 36px; border-radius: 999px; cursor: pointer; color: var(--muted); white-space: nowrap; }
.wd-seg button:hover, .wd-view button:hover { color: var(--navy); }
.wd-seg button.on, .wd-view button.on { background: var(--navy); color: #fff; }
.wd-mini { font: 600 .74rem var(--font); padding: 7px 12px; min-height: 34px; border-radius: 99px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.wd-mini:hover { background: var(--navy); color: #fff; }
.wd-mini.done { background: #e2f4ec; border-color: #bfe3d2; color: #137150; }
.wd-inline { display: flex; gap: 8px; }
.wd-inline input, .wd-field input:not([type="checkbox"]) { flex: 1; min-width: 0; font: 400 .9rem var(--font); padding: 9px 12px; min-height: 42px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.wd-inline input:focus, .wd-field input:focus { outline: none; border-color: var(--navy); }
.wd-alert-out { font-size: .8rem; margin: 8px 0 0; min-height: 1.2em; }
.wd-alert-out.good { color: #137150; }
.wd-alert-out.bad { color: #a8362d; }
.wd-nudge { animation: wdNudge 1.8s ease-out .8s 3; }
@keyframes wdNudge { 0% { box-shadow: 0 0 0 0 rgba(22, 52, 94, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(22, 52, 94, 0); } }
.wd-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.wd-swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; background: var(--sw); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.wd-swatch.on { box-shadow: 0 0 0 2px var(--navy); }
.wd-field { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--navy); min-width: 0; }
.wd-field legend { padding: 0; margin-bottom: 6px; }
.wd-field legend span { font-weight: 400; color: var(--muted); }
.wd-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.wd-chips button { font: 500 .8rem var(--font); padding: 7px 12px; min-height: 36px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.wd-chips button small { color: var(--muted); font-size: .7rem; }
.wd-chips button.on { border-color: var(--navy); background: var(--halo-soft); }
.wd-check { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--body); cursor: pointer; }
.wd-check input { accent-color: var(--navy); width: 16px; height: 16px; }
.wd-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; }
.wd-qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.1rem; color: var(--navy); cursor: pointer; border-radius: 50%; }
.wd-qty button:disabled { color: #c5beba; cursor: default; }
.wd-qty output { min-width: 26px; text-align: center; font-weight: 600; font-size: .88rem; font-variant-numeric: tabular-nums; }
.wd-qty-sm button { width: 32px; height: 32px; }

/* 1. Artist site */
.wd-site-body { padding: 14px; min-height: 330px; font-size: .84rem; }
.wd-page-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.wd-page-title h4 { margin: 0; font-size: 1.05rem; }
.wd-page-title small { color: var(--muted); font-size: .74rem; }
.wd-badge { background: var(--stone-2); padding: 2px 8px; border-radius: 99px; }
.wd-shows { list-style: none; margin: 0 0 12px; padding: 0; }
.wd-shows li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.wd-date { display: grid; text-align: center; background: var(--paper); border-radius: 8px; padding: 4px 0; line-height: 1.2; }
.wd-date b { font-size: .8rem; }
.wd-date small, .wd-show-where small { font-size: .7rem; color: var(--muted); }
.wd-show-where { display: grid; min-width: 0; }
.wd-show-where b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-alert-form { background: var(--paper); border-radius: 10px; padding: 12px; }
.wd-alert-form label { display: block; margin-bottom: 8px; font-size: .82rem; }

.wd-linkpage { display: grid; justify-items: center; text-align: center; gap: 2px; max-width: 300px; margin: 0 auto 14px; }
.wd-avatar { width: 56px; height: 56px; border-radius: 50%; background: repeating-linear-gradient(45deg, #ddd6d3 0 6px, #ebe6e4 6px 12px); margin-bottom: 6px; }
.wd-linkpage small { color: var(--muted); font-size: .74rem; margin-bottom: 8px; }
.wd-links { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 6px; }
.wd-links button { width: 100%; font: 500 .8rem var(--font); padding: 9px 12px; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.wd-links button:hover { background: var(--navy); color: #fff; }
.wd-stats { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.wd-stats small { color: var(--muted); font-size: .7rem; }
.wd-stats ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.wd-stats li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 34px; gap: 8px; align-items: center; font-size: .72rem; }
.wd-stats li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-stats i { height: 6px; background: #e6e0de; border-radius: 99px; overflow: hidden; }
.wd-stats em { display: block; height: 100%; background: var(--navy); border-radius: 99px; transition: width .3s; }
.wd-stats b { text-align: right; font-variant-numeric: tabular-nums; }

.wd-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 74px; gap: 6px; margin-bottom: 10px; }
.wd-ph { position: relative; border: 0; padding: 0; border-radius: 8px; cursor: zoom-in; overflow: hidden; display: grid; place-items: end start; color: var(--navy); background: #e6e0de; }
.wd-ph span { font: 500 .62rem var(--font); background: rgba(255, 255, 255, .8); padding: 1px 6px; border-radius: 99px; margin: 5px; white-space: nowrap; max-width: calc(100% - 10px); overflow: hidden; text-overflow: ellipsis; }
.wd-ph::before { content: ""; position: absolute; inset: 30% 25% 38%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a79f9b' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center/contain no-repeat; }
.wd-ph-0 { background: #ddd6d3; grid-column: span 2; grid-row: span 2; }
.wd-ph-1 { background: #e8e3e1; }
.wd-ph-2 { background: #d6cfcb; }
.wd-ph-3 { background: #e3ddda; grid-column: span 2; }
.wd-ph-4 { background: #dcd4d0; }
.wd-ph-5 { background: #e9e4e2; }
.wd-ph-6 { background: #d9d2ce; grid-column: span 2; }
.wd-ph:hover { filter: brightness(.96); }
.wd-video { border-radius: 10px; overflow: hidden; }
.wd-facade { width: 100%; border: 0; cursor: pointer; background: repeating-linear-gradient(135deg, #1f2b40 0 10px, #243148 10px 20px); color: #dfe6f0; display: flex; align-items: center; gap: 12px; padding: 14px; font: 500 .74rem var(--font); text-align: left; }
.wd-play { width: 40px; height: 40px; border-radius: 50%; background: #fff; flex: none; position: relative; }
.wd-play::after { content: ""; position: absolute; left: 16px; top: 12px; border-left: 12px solid var(--navy); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.wd-player { background: #1b2436; color: #dfe6f0; display: flex; align-items: center; gap: 12px; padding: 14px; font-size: .74rem; min-height: 68px; }
.wd-eq { display: flex; gap: 3px; align-items: flex-end; height: 24px; }
.wd-eq i { width: 4px; background: var(--halo); border-radius: 2px; animation: wdEq 1s ease-in-out infinite; }
.wd-eq i:nth-child(2) { animation-delay: -.3s; }
.wd-eq i:nth-child(3) { animation-delay: -.6s; }
.wd-eq i:nth-child(4) { animation-delay: -.8s; }
@keyframes wdEq { 0%, 100% { height: 6px; } 50% { height: 24px; } }

.wd-lightbox { position: absolute; inset: 0; background: rgba(5, 15, 30, .92); display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-rows: 1fr auto; align-items: center; gap: 8px; padding: 44px 8px 12px; z-index: 5; animation: wdFade .2s ease; }
.wd-lb-img { grid-column: 2; height: 100%; min-height: 200px; border-radius: 10px; display: grid; place-items: center; font-size: .9rem; font-weight: 600; color: var(--navy); }
.wd-lb-nav, .wd-lb-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.wd-lb-nav:hover, .wd-lb-close:hover { background: rgba(255, 255, 255, .28); }
.wd-lb-close { position: absolute; top: 6px; right: 8px; }
.wd-lb-count { grid-column: 1 / -1; text-align: center; color: #c9d2e0; font-size: .72rem; margin: 0; }

.wd-products { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wd-products li { background: var(--paper); border-radius: 10px; padding: 8px; display: grid; gap: 2px; }
.wd-products b { font-weight: 600; font-size: .8rem; }
.wd-products small { color: var(--muted); font-size: .68rem; }
.wd-prod-img { height: 58px; border-radius: 8px; margin-bottom: 4px; background: #e3ddda; position: relative; }
.wd-prod-album::after, .wd-prod-ep::after { content: ""; position: absolute; inset: 9px auto 9px 50%; width: 40px; margin-left: -20px; border-radius: 50%; background: radial-gradient(circle, #e3ddda 0 5px, #1b1b1d 6px 100%); }
.wd-prod-ep::after { width: 32px; margin-left: -16px; inset: 13px auto 13px 50%; }
.wd-prod-vinyl::after { content: ""; position: absolute; inset: 7px auto 7px 50%; width: 44px; margin-left: -22px; border-radius: 4px; background: radial-gradient(circle, #e3ddda 0 4px, #1b1b1d 5px 17px, transparent 18px), #d6cfcb; }
.wd-prod-poster::after { content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 32px; margin-left: -16px; background: #f7f5f3; border: 2px solid #b8afab; border-radius: 2px; }
.wd-prod-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 4px; }
.wd-prod-row em { font-style: normal; font-weight: 600; font-size: .8rem; }
.wd-cart-sum { margin: 0; font-size: .76rem; color: var(--body); background: var(--paper); border-radius: 8px; padding: 8px 10px; }

.wd-lock { text-align: center; max-width: 320px; margin: 20px auto 0; }
.wd-lock h4 { margin: 8px 0 4px; }
.wd-lock p { color: var(--muted); font-size: .8rem; }
.wd-lock-ico { display: inline-block; width: 40px; height: 40px; border-radius: 12px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3dddc' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/20px no-repeat; }
.wd-files { list-style: none; margin: 0; padding: 0; }
.wd-files li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.wd-file-ico { grid-row: span 2; width: 28px; height: 32px; border-radius: 4px; background: var(--stone-2); border: 1px solid var(--line); }
.wd-files b { font-weight: 600; font-size: .8rem; }
.wd-files small { grid-column: 2; font-size: .7rem; color: var(--muted); }
.wd-files .wd-mini { grid-column: 3; grid-row: 1 / span 2; }

/* 2. Shop */
.wd-shop { min-height: 470px; }
.wd-designer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 14px; }
.wd-preview { background: var(--paper); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; min-width: 0; }
.wd-art { width: 100%; max-width: 230px; height: auto; }
.wd-art .wd-glass { fill: #f7f5f3; stroke: rgba(5, 25, 50, .28); stroke-width: 2; }
.wd-art .wd-metal { fill: #e3ddda; stroke: rgba(5, 25, 50, .25); stroke-width: 2; }
.wd-art .wd-lid { fill: #c9c2bf; stroke: rgba(5, 25, 50, .25); stroke-width: 2; }
.wd-art .wd-dark { fill: #1d2c48; }
.wd-art .wd-fill { transition: fill .25s; }
.wd-art .wd-liquid { opacity: .85; }
.wd-art .wd-wick { stroke: #1b1b1d; stroke-width: 3; stroke-linecap: round; }
.wd-art .wd-label { fill: #fff; opacity: .92; }
.wd-art .wd-bar-ph { fill: #d6cfcb; }
.wd-art-cap { margin: 0; font-size: .74rem; color: var(--muted); text-align: center; }
.wd-opt { font-weight: 400; color: var(--muted); }
.wd-wrap { margin: -2px 0 12px; }
.wd-wrap small { color: var(--muted); }
.wd-controls { min-width: 0; }
.wd-buy { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 12px; }
.wd-price { text-align: right; }
.wd-price small { display: block; font-size: .7rem; color: var(--muted); }
.wd-price strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.wd-add { width: 100%; }
.wd-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 100%); background: #fff; box-shadow: -16px 0 40px -20px rgba(5, 25, 50, .45); display: flex; flex-direction: column; z-index: 4; animation: wdSlide .25s var(--ease); }
@keyframes wdSlide { from { transform: translateX(30px); opacity: 0; } }
.wd-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.wd-drawer-head button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); font-size: 1.3rem; cursor: pointer; color: var(--navy); }
.wd-lines { list-style: none; margin: 0; padding: 8px 14px; flex: 1; overflow-y: auto; }
.wd-lines li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: .78rem; }
.wd-lines b { font-weight: 600; display: block; }
.wd-lines small { display: block; color: var(--muted); font-size: .7rem; overflow-wrap: anywhere; }
.wd-lines button { font: 500 .7rem var(--font); border: 0; background: none; color: #a8362d; cursor: pointer; padding: 4px; text-decoration: underline; }
.wd-line-sw { width: 26px; height: 26px; border-radius: 6px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(5, 25, 50, .15); }
.wd-empty { color: var(--muted); display: block !important; }
.wd-drawer-foot { padding: 12px 14px; border-top: 1px solid var(--line-soft); }
.wd-drawer-foot p { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: .86rem; }
.wd-drawer-foot .btn { width: 100%; }
.wd-fine { font-size: .7rem !important; color: var(--muted); display: block !important; }

/* 3. Editor */
.wd-editor { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px; align-items: start; }
.wd-edit-form { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.wd-edit-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .9rem; }
.wd-state { font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #e2f4ec; color: #137150; white-space: nowrap; }
.wd-state.dirty { background: #fbefd6; color: #7a5104; }
.wd-tile-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.wd-editor .wd-swatch { width: 28px; height: 28px; }
.wd-edit-form > .wd-check { margin: -4px 0 12px; }
.wd-edit-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.wd-edit-actions .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.wd-phone { width: 100%; max-width: 250px; justify-self: center; background: #fff; border: 9px solid var(--navy); border-radius: 30px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(5, 25, 50, .6); min-height: 400px; }
.wd-phone-top { color: #fff; padding: 22px 14px 14px; font-weight: 600; font-size: .92rem; transition: background .25s; overflow-wrap: anywhere; }
.wd-banner { margin: 10px; padding: 8px 10px; background: var(--paper); border-left: 4px solid; border-radius: 6px; font-size: .74rem; color: var(--body); overflow-wrap: anywhere; }
.wd-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 10px 10px; }
.wd-tile { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; background: var(--paper); border-radius: 10px; font-size: .72rem; font-weight: 500; animation: wdFade .25s ease; }
.wd-tile svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.wd-tile-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: .74rem; padding: 12px; }
.wd-next { margin: 0 10px 12px; padding: 10px; border: 1px solid var(--line-soft); border-radius: 10px; font-size: .74rem; }
.wd-next small { color: var(--muted); font-size: .68rem; }
.wd-next p { margin: 4px 0 0; }
.wd-next b { display: inline-block; width: 62px; font-weight: 600; }

/* 4. Service booking */
.wd-book { min-height: 470px; }
.wd-book-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 14px; }
.wd-book-opts, .wd-book-time { min-width: 0; }
.wd-extras { display: grid; gap: 6px; }
.wd-extras small { color: var(--muted); }
.wd-est { background: var(--paper); border-radius: 8px; padding: 8px 10px; font-size: .78rem; }
.wd-est p { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 2px; font-size: .86rem; }
.wd-est b { font-variant-numeric: tabular-nums; }
.wd-est small { color: var(--muted); font-size: .7rem; }
.wd-cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: .84rem; flex-wrap: wrap; }
.wd-cal-head span { font-size: .72rem; color: var(--muted); }
.wd-bdays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.wd-bday { display: grid; justify-items: center; gap: 0; padding: 6px 2px; min-height: 58px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font: 500 .74rem var(--font); cursor: pointer; }
.wd-bday span { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.wd-bday small { font-size: .64rem; color: #137150; }
.wd-bday:hover { border-color: var(--navy); }
.wd-bday.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.wd-bday.on small { color: var(--halo); }
.wd-bday.full, .wd-bday:disabled { background: var(--paper); color: #8a8480; cursor: not-allowed; border-color: var(--line-soft); }
.wd-bday.full small { color: #a8362d; }
.wd-wins { display: grid; gap: 6px; margin-bottom: 10px; }
.wd-win { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; min-height: 42px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font: 500 .8rem var(--font); cursor: pointer; text-align: left; }
.wd-win small { font-size: .68rem; color: #137150; }
.wd-win:hover { border-color: var(--navy); }
.wd-win.on { border-color: var(--navy); background: var(--halo-soft); }
.wd-win:disabled { background: var(--paper); color: #767676; cursor: not-allowed; border-color: var(--line-soft); }
.wd-win:disabled small { color: #8f4f49; }
.wd-book-btn { width: 100%; }
#wd-book:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.wd-hint { color: var(--muted); display: block !important; font-size: .78rem; margin: 0; }
.wd-confirm { position: absolute; inset: 0; background: rgba(255, 255, 255, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; animation: wdFade .25s ease; }
.wd-confirm:focus { outline: none; }
.wd-confirm h4 { margin: 10px 0 4px; }
.wd-confirm p { margin: 0 0 6px; font-size: .84rem; }
.wd-confirm ul { list-style: none; margin: 0 0 8px; padding: 0; font-size: .82rem; font-weight: 500; }
.wd-confirm .wd-fine { max-width: 34em; margin-bottom: 12px; }
.wd-ok-ico { width: 44px; height: 44px; border-radius: 999px 999px 10px 10px; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center 60%/22px no-repeat; }

/* Responsive */
@media (max-width: 1180px) and (min-width: 1001px) {
  .wd-panel { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 28px; }
}
@media (max-width: 1000px) {
  .wd-panel { grid-template-columns: minmax(0, 1fr); }
  .wd-canvas { min-height: 0; }
}
@media (max-width: 640px) {
  .wd-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .wd-tabs::-webkit-scrollbar { display: none; }
  .wd-tabs button { flex: none; }
  .wd-tabs-wrap::after { content: ""; position: absolute; top: 0; right: calc(var(--gutter) * -1); bottom: 8px; width: 40px; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); }
  .wd-panel { padding: 18px; border-radius: 16px; gap: 24px; }
  .wd-canvas { padding: 0 10px 12px; }
  .wd-try { flex-direction: column; gap: 6px; }
  .wd-seg { align-self: stretch; }
  .wd-site-body { padding: 10px; }
  .wd-shows li { grid-template-columns: 46px minmax(0, 1fr); }
  .wd-shows .wd-mini { grid-column: 2; justify-self: start; }
  .wd-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 64px; }
  .wd-ph-0 { grid-row: span 2; }
  .wd-ph-3 { grid-column: span 1; }
  .wd-ph-6 { grid-column: span 3; }
  .wd-designer, .wd-editor, .wd-book-body { grid-template-columns: minmax(0, 1fr); }
  .wd-art { max-width: 170px; }
  .wd-lightbox { grid-template-columns: 36px minmax(0, 1fr) 36px; padding-inline: 4px; }
  .wd-lb-nav { width: 34px; height: 34px; }
  .wd-stats li { grid-template-columns: minmax(0, 1fr) 60px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .wd-panel, .wd-tile, .wd-drawer, .wd-confirm, .wd-lightbox { animation: none; }
  .wd-nudge { animation: none; }
  .wd-eq i { animation: none; height: 14px; }
  .wd-art .wd-fill, .wd-stats em, .wd-phone-top { transition: none; }
}
