/* Dream City Graphics: app look 1.0.0. Every rule is keyed on html.dcg-shell, a class the small script in the head adds only for a browser that has the look on.
   Without that class this file changes nothing. The Design Studio and the checkout also carry dcg-shell-lite: header, tabs and menu only, the browser's own page scroll is kept. */

/* ---------- 1. One locked screen: the header stays, the page scrolls inside it, no rubber band ---------- */
html.dcg-shell:not(.dcg-shell-lite){height:100%;overflow:hidden}
html.dcg-shell:not(.dcg-shell-lite) body{height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:none;-webkit-overflow-scrolling:touch;scrollbar-width:none}
html.dcg-shell:not(.dcg-shell-lite) body::-webkit-scrollbar{display:none}
html.dcg-shell:has(#dc-sheet:not([hidden])) body{overflow:hidden}

/* ---------- 2. Header: logo, page name (phones), menu. "Design yours" and the cart are tabs, so they are not repeated here ---------- */
html.dcg-shell .dc-top .dc-top__in{height:60px;gap:10px}
html.dcg-shell .dc-top .dc-logo__img{height:42px!important}
html.dcg-shell .dc-top__act .dc-top__cta,html.dcg-shell .dc-top__act .dc-cartbtn{display:none!important}
html.dcg-shell .dc-top .dc-menubtn{display:grid;width:42px;height:42px;border-radius:14px}
html.dcg-shell .dc-top .dc-nav{display:none}
html.dcg-shell .dc-top .dc-logo{text-decoration:none}
html.dcg-shell .dc-logo[data-dcg-name]::after{content:attr(data-dcg-name);margin-left:10px;font-family:var(--disp);font-size:21px;line-height:1;letter-spacing:.02em;text-transform:uppercase;color:#fff;white-space:nowrap}
html.dcg-shell .dcg-same{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* ---------- 3. From 840px: the same five tabs sit in the top line and the bottom bar is not shown. One navigation. ---------- */
@media (min-width:840px){
	html.dcg-shell body .dc-tabs:not(#_):not(#_){display:none!important}
	html.dcg-shell body:not(#_):not(#_){padding-bottom:0!important}
	html.dcg-shell .dc-top .dc-top__in{height:62px}
	html.dcg-shell .dc-top .dc-top__act{margin-left:0}
	html.dcg-shell .dc-logo[data-dcg-name]::after{content:none}
	html.dcg-shell .dcg-same{position:static!important;width:auto;height:auto;overflow:visible;clip:auto;clip-path:none;white-space:normal}
	html.dcg-shell .dc-top .dc-nav{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin:0 auto;min-width:0;visibility:hidden}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs]{visibility:visible}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] a{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 15px;border-radius:999px;font-size:15px;font-weight:800;color:#cfc9ee;white-space:nowrap;transition:background .2s,transform .15s}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] a:hover,html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] a[aria-current]{background:rgba(255,255,255,.1);color:#fff}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] a:active{transform:scale(.96)}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] .dc-ic,html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] svg{width:20px;height:20px;flex:none}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] .dc-tabs__studio{background:var(--grad);color:#fff;box-shadow:0 8px 20px -10px rgba(124,58,237,.9)}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] .dc-tabs__fab{display:grid;place-items:center;width:20px;height:20px;margin:0;border:0;border-radius:0;background:none;box-shadow:none}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] .dc-count{position:static;min-width:20px;height:20px;font-size:12px}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] .dc-count[hidden]{display:none}
}
@media (min-width:840px) and (max-width:939px){
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs]{gap:2px}
	html.dcg-shell .dc-top .dc-nav[data-dcg-htabs] a{padding:0 11px;font-size:14.5px;gap:6px}
}

/* ---------- 4. Phone tab bar: the theme's bar, with a press ---------- */
html.dcg-shell .dc-tabs a{transition:transform .15s}
html.dcg-shell .dc-tabs a:active{transform:scale(.96)}

/* ---------- 5. Menu: a side panel of plain rows ---------- */
html.dcg-shell .dc-sheet__in{width:min(380px,88vw);padding:12px 16px calc(24px + env(safe-area-inset-bottom));border-radius:26px 0 0 26px;box-shadow:-30px 0 60px -30px rgba(0,0,0,.7)}
html.dcg-shell .dc-sheet__x{width:42px;height:42px;border-radius:14px}
html.dcg-shell .dc-sheet__nav{margin-top:4px}
html.dcg-shell .dc-sheet__nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:0 8px;font-family:var(--body);font-size:17px;font-weight:700;letter-spacing:0;text-transform:none;border-bottom:1px solid rgba(255,255,255,.07);border-radius:12px;transition:background .15s,transform .15s}
html.dcg-shell .dc-sheet__nav a::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--muted);border-top:2px solid var(--muted);transform:rotate(45deg);opacity:.7}
html.dcg-shell .dc-sheet__nav a:active{background:rgba(255,255,255,.07);color:#fff;transform:scale(.98)}
html.dcg-shell .dc-sheet__nav a[aria-current]{color:var(--sun)}
html.dcg-shell .dc-sheet__nav .dcg-more__h{margin:18px 8px 2px;font-size:13px;font-weight:800;color:var(--muted)}
html.dcg-shell .dc-sheet__nav a.dcg-more{font-size:16px;font-weight:600;min-height:46px}
html.dcg-shell .dc-sheet__nav a.dcg-more small{display:none}
html.dcg-shell .dc-sheet__nav a.dcg-more:last-child{border-bottom:0}
html:not(.dcg-shell) .dcg-more,html:not(.dcg-shell) .dcg-more__h{display:none}

/* ---------- 6. Inner pages start at once: a small title band, no label line above it ---------- */
html.dcg-shell .dc-phead{padding:18px 0 14px;border-bottom:0}
html.dcg-shell .dc-phead::before{opacity:.26}
html.dcg-shell .dc-phead .dc-eyebrow{display:none}
html.dcg-shell .dc-phead .dc-h1{font-size:clamp(28px,7.4vw,46px);line-height:1}
html.dcg-shell .dc-phead .dc-lead{margin-top:8px;font-size:16px;line-height:1.4;max-width:560px}
html.dcg-shell .woocommerce-cart .dc-phead .dc-h1,html.dcg-shell .woocommerce-checkout .dc-phead .dc-h1{font-size:clamp(28px,7.4vw,46px)}

/* ---------- 7. Buttons are pills at their own width ---------- */
html.dcg-shell .dc-btn{min-height:46px;padding:0 22px;border-radius:999px;font-size:16px;max-width:320px}
html.dcg-shell .dc-btn--sm{min-height:40px;padding:0 16px;font-size:15px}
html.dcg-shell .dc-btn--big{min-height:52px;padding:0 26px;font-size:17px}
html.dcg-shell .dc-hero__cta .dc-btn{flex:0 1 auto}
html.dcg-shell .dc-form .dc-btn{width:auto;min-width:200px;justify-self:start}
html.dcg-shell .dc-woo a.button,html.dcg-shell .dc-woo button.button,html.dcg-shell .dc-woo input.button{border-radius:999px}

/* ---------- 8. Forms: soft fields, a lighter card ---------- */
html.dcg-shell .dc-form{padding:18px;border-radius:24px;background:rgba(255,255,255,.045);box-shadow:none}
html.dcg-shell .dc-form__h{font-size:24px}
html.dcg-shell .dc-field{font-size:15px;font-weight:700}
html.dcg-shell .dc-field input,html.dcg-shell .dc-field select,html.dcg-shell .dc-field textarea{min-height:50px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background-color:rgba(255,255,255,.06)}
html.dcg-shell .dc-field input:focus,html.dcg-shell .dc-field select:focus,html.dcg-shell .dc-field textarea:focus{border-color:var(--cyan)}

/* ---------- 9. The bottom of a page is one small line; the link lists live in the menu ---------- */
html.dcg-shell .dc-foot{padding:16px 0 20px;background:transparent;border-top:0}
html.dcg-shell .dc-foot__in{display:none}
html.dcg-shell .dc-foot .dc-foot__copy{margin-top:0!important;text-align:center;font-size:13px!important}

/* ---------- 10. Leaving a page: the logo over the content until the next page draws. Never blocks a tap, always removes itself. ---------- */
.dcg-veil{position:fixed;inset:60px 0 0;z-index:45;display:grid;place-items:center;background:rgba(14,11,38,.82);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .18s}
.dcg-veil--on{opacity:1}
.dcg-veil img{width:112px;height:auto;animation:dcg-breathe 1.1s ease-in-out infinite}
@keyframes dcg-breathe{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.dcg-veil img{animation:none}}
