/* Unapplied, desktop-only theme completion. No shared section/phone/portrait rules. */
/* The original desktop favourites overlay keeps its structure and action owners. */
@media (min-width:1367px) {
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay {
    background:rgba(0,0,0,.55);
  }
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay .favorites-panel {
    background:var(--site-surface);color:var(--site-ink);border-color:var(--site-line);
    box-shadow:0 20px 50px #0006;
  }
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay .favorite-list-item {
    background:var(--site-raised);color:var(--site-ink);border-color:var(--site-line);box-shadow:none;
  }
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay :is(.favorite-list-name,.favorites-close-btn) {
    color:var(--site-ink);
  }
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay :is(.favorite-list-price,.favorites-empty,.favorites-local-only-note) {
    color:var(--site-muted);
  }
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay .favorites-close-btn {
    background:var(--site-raised);border-color:var(--site-line);box-shadow:none;
  }
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay :is(.cart-qty-button,.favorite-list-remove-btn) {
    background:var(--site-accent-soft);color:var(--site-accent-text);border-color:var(--site-line);
  }
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay .favorites-panel-footer {
    border-color:var(--site-line);
  }
  html[data-nova-public][data-theme="dark"] body[data-layout="desktop"] #favoritesOverlay .favorites-checkout-btn {
    background:var(--site-accent);color:#fff;
  }
}
@media(min-width:1367px){
 html[data-nova-public][data-theme-ready] body[data-layout=desktop] #delivery-options > .order-method-header > .site-theme-toggle{position:absolute;top:14px;right:454px;z-index:1002}
 body[data-desktop-basket=true] #delivery-options > .order-method-header .delivery-lang-switch{right:398px}
 html[data-theme=dark] body[data-layout=desktop]{--desktop-canvas:var(--site-canvas);--desktop-surface:var(--site-surface);--desktop-ink:var(--site-ink);--desktop-muted:var(--site-muted);--desktop-line:var(--site-line);--desktop-accent:var(--site-accent-text)}
 body[data-layout=desktop] #desktopBox-config :is(.choices,.selection,.option-label strong,.option-controls output){color:var(--site-ink)!important}
 body[data-layout=desktop] #desktopBox-config :is(.option-label span,.muted,#desktopBox-group-hint){color:var(--site-muted)!important}
 body[data-layout=desktop] #desktopBox-config button:disabled{opacity:1;color:var(--site-muted)!important;background:var(--site-raised)!important;cursor:not-allowed}
 body[data-layout=desktop] #desktopBox-config .soldout{opacity:1;border-style:dashed}
 body[data-layout=desktop] #desktopBox-restart[hidden]{display:none!important}
 body[data-layout=desktop] [data-desktop-box-edit]{font:inherit;font-size:12px;border:1px solid var(--site-line);border-radius:8px;padding:6px 10px;color:var(--site-accent-text);background:var(--site-raised);cursor:pointer;margin-top:6px}
 body[data-layout=desktop] #mobileCart .btw-note{color:var(--site-muted)!important}
 body[data-layout=desktop] #desktopMenuCartMount .checkout-top-navbar{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 12px}
 body[data-layout=desktop] #desktopMenuCartMount .checkout-top-navbar :is(.checkout-top-label,.checkout-top-icon,.checkout-top-time){transform:none!important}
 html[data-theme=dark] body[data-layout=desktop] :is(.navbar-container,#desktopNavMenu,#desktopRefreshTools,.desktop-refresh-search,#desktopRefreshSearch){background:var(--site-canvas)!important;color:var(--site-ink)!important;border-color:var(--site-line)!important}
 html[data-theme=dark] body[data-layout=desktop] :is(#desktopNavMenu button,#navbar a){color:var(--site-ink)!important}
 html[data-theme=dark] body[data-layout=desktop] :is(.bestseller-card,.bestseller-card-footer){background:var(--site-surface)!important;color:var(--site-ink)!important;border-color:var(--site-line)!important}
 html[data-theme=dark] body[data-layout=desktop] :is(.bestseller-card-title,.bestseller-card-price,.touch-bestseller-title-trigger){color:var(--site-ink)!important}
 html[data-theme=dark] body[data-layout=desktop] :is(.bestseller-strip-subtitle,.bestseller-strip-kicker){color:var(--site-muted)!important}
 html[data-theme=dark] body[data-layout=desktop] #desktopRefreshCategories a{color:var(--site-muted)!important}
 html[data-theme=dark] body[data-layout=desktop] #desktopRefreshCategories a[aria-current]{color:var(--site-accent-text)!important;background:var(--site-accent-soft)!important}
 html[data-theme=dark] body[data-layout=desktop] #mobileCart .checkout-top-navbar{background:var(--site-surface)!important;border-color:var(--site-line)!important;box-shadow:none}
 html[data-theme=dark] body[data-layout=desktop] #mobileCart .checkout-top-navbar :is(.checkout-top-label,.checkout-top-time,.checkout-top-icon){color:var(--site-muted)!important;opacity:1!important}
 html[data-theme=dark] body[data-layout=desktop] #mobileCart .checkout-top-navbar .is-active :is(.checkout-top-label,.checkout-top-time,.checkout-top-icon){color:var(--site-accent-text)!important}
 html[data-theme=dark] body[data-layout=desktop] #mobileCart .checkout-top-navbar .checkout-top-label{-webkit-text-fill-color:currentColor!important}
 html[data-theme=dark] body[data-layout=desktop] #mobileCart .checkout-top-navbar :is(.checkout-order-toggle-item,.checkout-payment-toggle-item){opacity:1!important}
 html[data-theme=dark] body[data-layout=desktop] #desktopPreorderBar :is(button,.desktop-nav-hours-label){color:var(--site-muted)!important}
}

/* Existing information copy uses the desktop dark palette; layout and content stay original. */
@media (min-width: 1367px) {
  html[data-theme="dark"] body[data-layout="desktop"] :is(#info, #over-ons) :is(p, li) {
    color: var(--site-ink) !important;
  }
}

/* Paint the existing one-pixel dividers only across the content column.
   Keep border sizes and toolbar geometry intact, including the scrolling logo. */
@media (min-width: 1367px) {
  html body[data-layout="desktop"][data-desktop-basket="true"] #desktopNavMenu {
    background: transparent !important;
  }
  body[data-layout="desktop"][data-desktop-basket="true"] #navbar-container {
    --desktop-divider-left: max(80px, calc((100% - 1160px) / 2));
    --desktop-divider-right: max(40px, calc((100% - 1240px) / 2));
  }
  body[data-layout="desktop"][data-desktop-basket="true"] #desktopRefreshTools {
    --desktop-divider-left: var(--desktop-content-gutter, 40px);
    --desktop-divider-right: var(--desktop-content-gutter, 40px);
  }
  body[data-layout="desktop"][data-desktop-basket="true"] :is(#navbar-container, #desktopRefreshTools) {
    border-image-source: linear-gradient(to right,
      transparent var(--desktop-divider-left),
      var(--desktop-line) var(--desktop-divider-left),
      var(--desktop-line) calc(100% - var(--desktop-divider-right)),
      transparent calc(100% - var(--desktop-divider-right)));
    /* Slice only the bottom edge, without rescaling either horizontal end. */
    border-image-slice: 0 0 1 0;
  }
}

/* The legacy wide-screen glass/shadow decoration otherwise paints a second divider. */
@media (min-width: 1367px) {
  body[data-layout="desktop"][data-desktop-basket="true"] #navbar-container::after {
    content: none !important;
    display: none !important;
  }
}
