/* Luna Coffee Co. · Aurora / Eclipse. Existing customer interactions remain intact. */
html:root{--navy:#103C32;--navy-dark:#0B2923;--cream:#F2E2CC;--cream-2:#EAD6BA;--gold:#D4A574;--gold-soft:#EBD1AA;--caramel:#A34C31;--white:#FCF6EC;--ink:#103C32;--muted:#6D6759;--border:#103c3226;--shadow:0 12px 40px #3b2a1f0b}
html[data-customer-theme=eclipse]{--navy:#103C32;--navy-dark:#081F1A;--cream:#0B2923;--cream-2:#13382F;--white:#183F35;--ink:#F2E2CC;--muted:#BBC9BD;--border:#d4a57436;--gold:#D4A574;--gold-soft:#36503C;--caramel:#D4A574}
html body{background:var(--cream)!important;color:var(--ink)}
html body .topbar{background:var(--cream)!important;color:var(--ink);border-bottom:1px solid var(--border);min-height:96px;box-shadow:none;backdrop-filter:blur(18px)}
html body .topbar .brand{display:flex!important;justify-content:center;align-items:center;background:none!important;min-width:150px;padding:0;color:var(--ink)}
html body .topbar .luna-co-logo{display:block;width:150px!important;height:75px!important;object-fit:contain;filter:brightness(0) saturate(100%) invert(19%) sepia(19%) saturate(1330%) hue-rotate(111deg) brightness(88%) contrast(95%)}
html[data-customer-theme=eclipse] body .topbar .luna-co-logo{filter:none}
html body .luna-menu-button{color:var(--ink)!important}.luna-menu-button span{background:currentColor!important}
html body .app-shell{max-width:1180px;padding-inline:24px}
html body .section-head h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-1px;color:var(--ink);font-size:clamp(29px,4vw,42px)}
html body .eyebrow{color:var(--caramel)}
html body .categories{gap:9px;padding-bottom:12px;scrollbar-width:thin}
html body .category{background:transparent!important;border:1px solid var(--border)!important;color:var(--ink)!important;border-radius:100px!important;min-height:44px;padding:10px 19px;white-space:nowrap}
html body .category.active{background:#A34C31!important;color:#FFF5E7!important;border-color:#A34C31!important;box-shadow:none}
html body .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
html body .product-card{position:relative;display:flex!important;flex-direction:column;align-items:stretch;gap:0;padding:0!important;border-radius:20px!important;overflow:hidden;background:var(--white)!important;border:1px solid var(--border)!important;box-shadow:0 5px 18px #3b2a1f05}
html body .product-card .product-image{width:100%;height:220px!important;border-radius:0!important;background:var(--cream-2)!important;flex-shrink:0}
html body .product-info{padding:18px 18px 12px;flex:1;color:var(--ink)}
html body .product-info h3{color:var(--ink)!important;font-size:17px;line-height:1.3;margin:4px 0 8px}
html body .product-info p{color:var(--muted)!important;font-size:12px;line-height:1.6;margin:0 0 10px}
html body .product-card .price{color:var(--ink)!important}
html body .product-card .product-add{align-self:flex-end;margin:0 16px 16px;background:#103C32!important;color:#F2E2CC!important;border:1px solid #D4A574!important;border-radius:50%!important;width:44px;height:44px;min-width:44px;min-height:44px}
html body .product-card .product-add:disabled{background:var(--cream-2)!important;color:var(--muted)!important;border-color:var(--border)!important}
html body .luna-home-mount{background:transparent!important;max-width:1132px!important;margin:20px auto!important;padding:0 24px!important}
html body .luna-home-card{border-radius:20px!important;min-height:112px!important;padding:20px 24px!important;border:1px solid #d4a57445;box-shadow:none}
html body .luna-home-card.luna-home-card-guest{background:#103C32!important;color:#F2E2CC!important}
html body .eta{background:var(--white)!important;color:var(--ink)!important;border:1px solid var(--border);border-radius:100px}
html body :is(.primary,.cart-button){background:#103C32!important;color:#F2E2CC!important;border:1px solid #D4A574!important;border-radius:14px!important}
html body :is(.modal,.cart-panel,.luna-drawer,.v190-panel,.customer-theme-dialog){background:var(--white)!important;color:var(--ink)!important;border-color:var(--border)!important}
html body :is(.input,input,textarea,select){color:var(--ink);border-color:var(--border)}
html body :is(.secondary,.choice,.option,.qty,.round){background:var(--cream-2);color:var(--ink);border-color:var(--border)}
html body :is(.bottom-nav,.luna-bottom-nav){background:var(--cream)!important;border-color:var(--border)!important}
html body :is(.bottom-nav,.luna-bottom-nav) button{color:var(--muted)!important}
html body :is(.bottom-nav,.luna-bottom-nav) button.active{color:var(--caramel)!important}
html body :is(.cart-bar,.mobile-cart-bar){background:#103C32!important;color:#F2E2CC!important;border-color:#D4A574!important}
html body :is(button,a,input,select):focus-visible{outline:3px solid var(--caramel);outline-offset:3px}
html[data-customer-theme=eclipse] body .product-info p{color:var(--muted)!important}
@media(min-width:1100px){html body .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){html body .topbar{min-height:84px;padding-inline:18px;gap:8px}html body .topbar .luna-co-logo{width:130px!important;height:65px!important}html body .app-shell{padding-inline:18px}html body .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html body .product-card .product-image{height:160px!important}html body .product-info{padding:13px 13px 9px}html body .product-info h3{font-size:15px}html body .product-info p{font-size:11px}html body .luna-home-mount{margin:16px auto!important;padding:0 18px!important}html body .luna-home-card{padding:18px!important}html body .section-head{align-items:center;gap:10px}html body .eta{font-size:10px;white-space:normal}html body .category{padding:9px 15px;font-size:12px}}
@media(prefers-reduced-motion:reduce){html body *{scroll-behavior:auto!important}}

html body .topbar :is(.nav-text,.account-button){color:var(--ink)!important;background:transparent!important}
html body .product-card.sold-out{opacity:1}html body .product-card.sold-out .product-image{opacity:.7}html body .product-card.sold-out::after{background:#3B2A1F;color:#F2E2CC}
html body .luna-drawer-item.session{background:#103C32!important;color:#F2E2CC!important;border-color:#D4A574!important}
html body .luna-drawer :is(.luna-drawer-item,.luna-drawer-close,.v191-social-button,.v191-chevron){color:var(--ink)!important}
html body .luna-drawer :is(.v191-link-icon,.v191-social-icon){color:var(--caramel)!important}
html body .luna-drawer .luna-drawer-item.session{color:#F2E2CC!important}
html body .luna-drawer :is(.luna-drawer-head,.luna-drawer-footer,.v191-social-row){border-color:var(--border)}
html body .luna-drawer .v191-version{color:var(--muted)}

/* Café Pendiente follows the same Aurora / Eclipse palette as the customer app. */
html body .cp{--cp-ink:var(--ink);--cp-paper:var(--white);--cp-border:var(--border);--cp-accent:var(--caramel);color:var(--ink)}
html body .cp .cp-counter{background:#103C32;color:#F2E2CC!important;border:1px solid #D4A574}
html body .cp .cp-counter :is(h1,p,small,[data-cp-count]){color:#F2E2CC!important}
html body .cp .cp-counter .eyebrow{color:#D4A574!important}
html body .cp :is(.cp-card,.cp-record,.cp-stats article,.cp-coming-soon){background:var(--white);color:var(--ink);border-color:var(--border)}
html body .cp :is(h1,h2,h3,label,.cp-details,.cp-points){color:var(--ink)}
html body .cp :is(.cp-note,.cp-points>small,.cp-coming-soon p,.cp-coming-soon small){color:var(--muted)}
html body .cp .cp-coming-soon{background:linear-gradient(180deg,var(--white),var(--cream));border-color:var(--border)}
html body .cp .cp-coming-soon h2{color:var(--caramel)}
html body .cp :is(.cp-notice,.cp-private,.cp-status,.cp-pill){background:var(--cream-2);color:var(--ink);border-color:var(--border)}
html body .cp :is(input:not([type=checkbox]),select,textarea){background:var(--white);color:var(--ink);border-color:var(--border)}
html body .cp button.secondary{background:var(--cream-2);color:var(--ink);border-color:var(--border)}
html body .cp :is(input,select,textarea,button,summary):focus-visible{outline-color:var(--caramel)}

/* Product choices contrast with the page instead of blending into it. */
html:root{--product-card-bg:#103C32;--product-card-ink:#F2E2CC;--product-card-muted:#E0D2BD;--product-image-bg:#16483C;--product-card-accent:#D4A574;--product-disabled-bg:#245447;--product-disabled-ink:#D8CBB7}
html[data-customer-theme=eclipse]{--product-card-bg:#B5AD95;--product-card-ink:#103C32;--product-card-muted:#3B2A1F;--product-image-bg:#AAA58E;--product-card-accent:#763B29;--product-disabled-bg:#A39C85;--product-disabled-ink:#3B2A1F}
html body .product-card{background:var(--product-card-bg)!important;border-color:#D4A57455!important}
html body .product-card .product-image{background:var(--product-image-bg)!important}
html body .product-card.sold-out .product-image{opacity:1}
html body .product-card .product-info{color:var(--product-card-ink)}
html body .product-card .product-info :is(h3,.price,.product-price){color:var(--product-card-ink)!important}
html body .product-card .product-info p{color:var(--product-card-muted)!important}
html[data-customer-theme=eclipse] body .product-card .product-info p{color:var(--product-card-muted)!important}
html body .product-card .product-badge{color:var(--product-card-accent)!important}
html body .product-card .product-add{background:var(--product-card-ink)!important;color:var(--product-card-bg)!important}
html body .product-card .product-add:disabled{background:var(--product-disabled-bg)!important;color:var(--product-disabled-ink)!important;border-color:var(--product-disabled-ink)!important;opacity:1;cursor:not-allowed}

/* Quiet category surfaces; the selected filter retains its terracotta cue. */
html body .category{background:var(--product-card-bg)!important;color:var(--product-card-ink)!important;border-color:#D4A57455!important;box-shadow:none}
html body .category.active{background:#A34C31!important;color:#F2E2CC!important;border-color:#A34C31!important}
html body .category:hover:not(.active){filter:brightness(1.06)}

/* A denser, varied starfield stays in the background; no motion or hit targets. */
html body{background-image:url('/static/brand/luna-starlight-aurora.svg?v=celestial-20261019')!important;background-size:640px 720px!important;background-repeat:repeat!important}
html[data-customer-theme=eclipse] body{background-image:url('/static/brand/luna-starlight-eclipse.svg?v=celestial-20261019')!important}

/* Compact floating navigation; existing actions and current-page state are retained. */
html:root{--luna-dock-bg:#103C32f2;--luna-dock-ink:#F2E2CC;--luna-dock-active:#f2e2cc20;--luna-dock-rim:#f2e2cc38}
html[data-customer-theme=eclipse]{--luna-dock-bg:#B5AD95f2;--luna-dock-ink:#103C32;--luna-dock-active:#103c3217;--luna-dock-rim:#f2e2cc50}
html body .bottom-nav{left:50%;right:auto;bottom:calc(12px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(420px,calc(100% - 28px));height:58px;box-sizing:border-box;padding:5px;gap:2px;border:1px solid var(--luna-dock-rim)!important;border-radius:32px;background:var(--luna-dock-bg)!important;box-shadow:0 6px 22px #00000026,inset 0 1px 0 #ffffff0d;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);isolation:isolate}
html body .bottom-nav>button{min-height:46px;margin:0;padding:4px 2px;border:0;border-radius:24px;background:transparent!important;color:var(--luna-dock-ink)!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1;font-weight:500;position:relative;box-shadow:none}
html body .bottom-nav>button:is(.is-active,[aria-current=page]){background:var(--luna-dock-active)!important;color:var(--luna-dock-ink)!important;font-weight:650}
html body .bottom-nav>button.is-active::after{content:none}
html body .bottom-nav>button>small{display:block;margin:0;font:inherit;font-size:10px;line-height:12px;white-space:nowrap;letter-spacing:0}
html body .bottom-nav svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
html body .bottom-nav .cart-icon{display:block;width:19px;height:19px}
html body .bottom-nav .cart-icon b{right:-10px;top:-5px;min-width:13px;height:13px;padding:0 3px;border-radius:8px;background:#A34C31;color:#F2E2CC;font:600 9px/13px system-ui,sans-serif;text-align:center}
html body .bottom-nav .cart-icon b:empty,html body .bottom-nav .cart-icon b[data-empty=true]{display:none}
html body .bottom-nav>button:focus-visible{outline:2px solid var(--luna-dock-ink);outline-offset:1px}
@media(max-width:650px){html body{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}html body.luna-ui .app-shell{padding-bottom:104px}html body.luna-ui>.desktop-cart{display:none!important}html body .internal-view{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}}

/* Scanner keeps a visible pill outline in both customer themes. */
html body .topbar .table-scan-trigger{border:1px solid var(--border)!important;border-radius:999px!important;min-height:44px;padding:9px 14px;line-height:1.2;white-space:nowrap;flex-shrink:0;font-size:13px;color:var(--ink)!important}
html body .topbar .table-scan-trigger:hover{border-color:var(--caramel)!important}
