/* QR Dukan visual identity — navy, violet and white. No application logic. */
:root{--qorvia-navy:#10152b;--qorvia-navy-2:#171d38;--qorvia-violet:#7657f6;--qorvia-violet-dark:#5b42d0;--qorvia-lilac:#c9beff;--qorvia-white:#fff;--qorvia-shadow:0 14px 38px rgba(16,21,43,.12)}
:focus-visible{outline:3px solid #a99aff!important;outline-offset:2px}
button,.btn,.btn-primary,.checkout,.add{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
button:hover,.btn:hover,.btn-primary:hover,.checkout:hover,.add:hover{filter:brightness(1.055)}
.logo-badge,.mark,.logo{--brand-accent:var(--qorvia-violet)}
.logo-badge,.mark{background:linear-gradient(135deg,#9b88ff 0%,#7657f6 55%,#4f3ab6 100%)!important;color:#fff!important;box-shadow:0 7px 20px rgba(118,87,246,.24)}
/* Landing and login */
body:has(.hero-grid){background:#f6f7fc}
body:has(.hero-grid) .topbar{background:var(--qorvia-navy);color:#efedff}
body:has(.hero-grid) .header{box-shadow:0 6px 22px rgba(16,21,43,.045)}
body:has(.hero-grid) .logo{color:var(--qorvia-navy)}
body:has(.hero-grid) .logo-badge{border-radius:13px}
body:has(.hero-grid) .btn-primary{background:linear-gradient(120deg,#846cff,#6348df);box-shadow:0 8px 20px rgba(118,87,246,.22)}
body:has(.hero-grid) .btn-outline{color:#6048d3;border-color:#d8d0ff}
body:has(.hero-grid) .tag{background:#f1eeff;color:#5b42d0;border-color:#d9d0ff}
body:has(.hero-grid) .panel-card h3{color:#5b42d0}
/* Storefront / QR ordering */
body:has(.products) .top{border-color:var(--line)}
body:has(.products) .logo{color:var(--text)}
body:has(.products) .logo .logo-mark{width:40px;height:40px}
body:has(.products) .hero{box-shadow:0 18px 50px rgba(0,0,0,.10)}
body:has(.products) .add,body:has(.products) .checkout{background:linear-gradient(125deg,#8d78ff,#6246df);box-shadow:0 7px 18px rgba(118,87,246,.23)}
/* Admin screens */
body:has(.shell) .side,body:has(.layout) .side{backdrop-filter:blur(22px)}
body:has(.shell) .brand,body:has(.layout) .brand{letter-spacing:.1px}
body:has(.shell) .btn:not(.alt),body:has(.layout) .btn:not(.alt){background:linear-gradient(120deg,#8d78ff,#6246df);box-shadow:0 5px 14px rgba(118,87,246,.16)}
body:has(.shell) .nav button.active,body:has(.shell) .nav button:hover{background:#7657f622;color:#c9beff}
body:has(.layout) .nav button.active,body:has(.layout) .nav button:hover{background:color-mix(in srgb,#7657f6 15%,transparent);color:#7657f6}
body:has(.layout) .side{box-shadow:0 18px 55px rgba(16,21,43,.09)}
/* Service booking storefront */
body:has(#services) .top{display:flex;align-items:center;gap:12px}
body:has(#services) .top:before{content:"";display:inline-block;width:38px;height:38px;flex:0 0 38px;background:url('/qrdukan-icon.png') center/contain no-repeat}
body:has(#services) .btn{background:linear-gradient(120deg,#8d78ff,#6246df)}
body:has(#services) .slot-btn.active{background:#7657f6;border-color:#7657f6}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.logo-badge{object-fit:cover;padding:0;border-radius:13px}
.mark{object-fit:cover;padding:0;border-radius:13px}
body:has(.products) #logoWrap{padding:0;overflow:hidden}
body:has(.products) #logoWrap>img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
