:root {
  --studio-forest: #20291f;
  --studio-olive: #354432;
  --studio-ink: #242820;
  --studio-muted: #596153;
  --studio-ivory: #f6f3eb;
  --studio-sage: #e4e5d6;
  --studio-lime: #e2edaa;
  --studio-line: #d1d4c6;
  --studio-body: 'DM Sans', system-ui, sans-serif;
  --studio-display: Manrope, 'DM Sans', sans-serif;
}
@media screen {
  body:is(.onlyshades-store,.festive-checkout,.onlyshades-admin,.studio-offline) {
    --ink: var(--studio-ink);
    --green: var(--studio-olive);
    --muted: var(--studio-muted);
    --line: var(--studio-line);
    --sage: var(--studio-sage);
    --lime: var(--studio-lime);
    --bg: var(--studio-ivory);
    color: var(--studio-ink);
    font-family: var(--studio-body);
    accent-color: var(--studio-olive);
  }
  body:is(.onlyshades-store,.festive-checkout,.onlyshades-admin,.studio-offline) :where(input,select,textarea,button) { font-family:var(--studio-body); }
  body:is(.onlyshades-store,.festive-checkout,.onlyshades-admin,.studio-offline) :is(a,button,summary,input,select,textarea):focus-visible { outline:3px solid #778744; outline-offset:2px; }
  body.onlyshades-store:not(.onlyshades-home),body.festive-checkout,body.onlyshades-admin,body.studio-offline { background:var(--studio-ivory); }
  body.onlyshades-store:not(.onlyshades-home) :is(h1,h2,h3),body.festive-checkout :is(h1,h2,h3),body.onlyshades-admin :is(h1,h2,h3),.studio-offline h1 { font-family:var(--studio-display); }
  body.onlyshades-store:not(.onlyshades-home) main :is(h1,h2) { color:var(--studio-ink); letter-spacing:-.045em; }
  body.onlyshades-store .sale-announcement,body.festive-checkout .checkout-festive-note { background:var(--studio-forest); color:white; }
  body.onlyshades-store .store-header { background:#fffefa; border-color:var(--studio-line); color:var(--studio-ink); }
  body.onlyshades-store .desktop-nav a[aria-current=page] { color:var(--studio-olive); border-color:var(--studio-olive); }
  body.onlyshades-store :is(.site-footer,.footer-main,.footer-wordmark,.store-designer-credit) { background:var(--studio-forest); }
  body.onlyshades-store .footer-wordmark-name { color:var(--studio-lime); }
  body.onlyshades-store .shades-support { background:var(--studio-sage); color:var(--studio-ink); }
  body.onlyshades-store .shades-support-contact { border-radius:30px; background:var(--studio-olive); color:white; }

  /* Catalog, cart, policies, recovery and order support */
  body.onlyshades-store main :is(.catalog-tools,.care-note,.saved-bag-summary,.policy-navigation,.cart-box-choice,.shop-bundle-offers) { background:var(--studio-sage); border-color:var(--studio-line); color:var(--studio-ink); }
  body.onlyshades-store main :is(.summary,.care-form-card,.care-success,.saved-bag-box,.journey-card,.order-receipt,.order-support,.wa-card) { background:#fffefa; border-color:var(--studio-line); }
  body.onlyshades-store main :is(.policy-content,.product-card,.shop-collection,.related) { color:var(--studio-ink); }
  body.onlyshades-store .product-card .product-image { border:1px solid var(--studio-line); border-radius:12px; background:#efede4; }
  body.onlyshades-store .product-card .circle-arrow { color:white; background:var(--studio-olive); }
  body.onlyshades-store .product-card .image-label,body.onlyshades-store .gallery-label { color:var(--studio-olive); background:#fffef3; }
  body.onlyshades-store main :is(.button,.care-submit,.prepaid-proof-button),body.festive-checkout .complete-order {
    background:var(--studio-olive); border:1px solid var(--studio-olive); color:white; border-radius:32px; font-family:var(--studio-body);
  }
  body.onlyshades-store main :is(.button.secondary,.small-button,.care-secondary) { background:#fffefa; border:1px solid var(--studio-olive); color:var(--studio-olive); border-radius:32px; }
  body.onlyshades-store :is(.care-tabs,.policy-navigation) a[aria-current=page],body.onlyshades-store .care-tabs a.active { background:var(--studio-olive); color:white; }
  body.onlyshades-store main :is(.care-eyebrow,.eyebrow,.shop-help,.order-text-link,.policy-date) { color:var(--studio-olive); }

  /* Product detail and both purchase controls */
  body.onlyshades-store .product-layout .product-info-panel { color:var(--studio-ink); }
  body.onlyshades-store .product-layout h1 { font-family:var(--studio-display); font-size:clamp(1.9rem,3.35vw,3.7rem); font-weight:650; line-height:1.08; text-wrap:balance; overflow-wrap:anywhere; }
  body.onlyshades-store .product-layout :is(.gallery-stage,.gallery-thumb) { border-radius:12px; border-color:var(--studio-line); }
  body.onlyshades-store .product-layout .gallery-thumb.selected { border-color:var(--studio-olive); outline:2px solid var(--studio-olive); outline-offset:-2px; }
  body.onlyshades-store .product-layout .add-button { background:#fffefa; color:var(--studio-olive); border-color:var(--studio-olive); }
  body.onlyshades-store .product-layout .buy-button,body.onlyshades-store .sticky-purchase button { background:var(--studio-lime); border:1px solid #b6c581; color:var(--studio-forest); border-radius:32px; }
  body.onlyshades-store .product-layout :is(.add-button,.buy-button):disabled,body.onlyshades-store .sticky-purchase button:disabled { opacity:.52; cursor:not-allowed; }
  body.onlyshades-store .sticky-purchase { background:#fffefa; color:var(--studio-ink); border-color:var(--studio-line); }
  body.onlyshades-store .prepaid-product-classic,body.onlyshades-store .prepaid-product-clear { background:var(--studio-sage); border-color:var(--studio-line); color:var(--studio-ink); }
  body.onlyshades-store .product-layout .product-accordions details { border-color:var(--studio-line); }
  body.onlyshades-store main :is(.shop-intro,.related) h2 em { font:italic 400 1em Georgia,serif; color:var(--studio-olive); }
  body.onlyshades-store .product-layout .price { color:var(--studio-olive); }
  body.onlyshades-store .product-layout .quantity-control { background:#fffefa; border-color:var(--studio-line); }
  body.onlyshades-store .order-experience:not(.order-exception) .order-celebration { background:var(--studio-ivory); }

  /* Checkout keeps its compact mobile summary and native form controls. */
  body.festive-checkout .checkout-order,body.festive-checkout .order-disclosure { background:var(--studio-ivory); border-color:var(--studio-line); }
  body.festive-checkout .checkout-header,body.festive-checkout .checkout-main { background:#fffefa; }
  body.festive-checkout .checkout-logo { color:var(--studio-ink); font-family:var(--studio-display); }
  body.festive-checkout .payment-method.is-selected,body.festive-checkout .shipping-option { border-color:var(--studio-olive); background:#f3f5e8; }
  body.festive-checkout .complete-order { background:var(--studio-lime); color:var(--studio-forest); border-color:#b6c581; }
  body.festive-checkout .complete-order:disabled { opacity:.55; }
  body.festive-checkout :is(.bag-link,.return-cart,.checkout-breadcrumb a) { color:var(--studio-olive); }

  body.onlyshades-admin .sidebar { background:var(--studio-forest); color:white; border-color:var(--studio-olive); }
  body.onlyshades-admin .sidebar .workspace { background:#334031; border-color:#56634d; }
  body.onlyshades-admin .sidebar :is(.workspace-icon,.avatar) { background:#4d6046; color:var(--studio-lime); }
  body.onlyshades-admin .sidebar :is(.brand span,.nav-label,.workspace small,.owner small) { color:#d1dac7; }
  body.onlyshades-admin .sidebar nav a { color:#f4f5ed; }
  body.onlyshades-admin .sidebar nav a:hover { background:var(--studio-olive); }
  body.onlyshades-admin .sidebar nav a.active { color:var(--studio-forest); background:var(--studio-lime); }
  body.onlyshades-admin .sidebar nav b,body.onlyshades-admin :is(.avatar,.task-icon,.order-view-tabs>a.selected) { color:var(--studio-olive); background:var(--studio-sage); }
  body.onlyshades-admin .btn:not(.secondary):not(.danger) { background:var(--studio-olive); border-color:var(--studio-olive); color:white; }
  body.onlyshades-admin .btn:not(.secondary):not(.danger):hover { background:var(--studio-forest); }
  body.onlyshades-admin :is(.page-heading .eyebrow,.text-link,.order-link,.back-link,.brand,.expand,.signout,.admin-app-link) { color:var(--studio-olive); }
  body.onlyshades-admin .sidebar .brand { color:white; }
  body.onlyshades-admin #overview .metric:first-child { background:var(--studio-olive); border-color:var(--studio-olive); }
  body.onlyshades-admin #overview .metric:first-child small { color:#e1e6d8; }
  body.onlyshades-admin #overview .metric:first-child i { color:var(--studio-lime); background:#4c5e45; }
  body.onlyshades-admin .store-note,body.onlyshades-admin .order-item[open]>summary { background:#f1f3e8; border-color:var(--studio-line); }
  body.onlyshades-admin .distribution-list progress::-webkit-progress-value { background:var(--studio-olive); }
  body.onlyshades-admin .distribution-list progress::-moz-progress-bar { background:var(--studio-olive); }
  body.onlyshades-admin .admin-login-card { border-top-color:var(--studio-olive); }
  body.studio-offline a { background:var(--studio-olive); color:white; border-radius:24px; padding:10px 18px; }
  body.onlyshades-admin:has(.launch-brand) { background:var(--studio-forest); color:white; }
  .onlyshades-admin .launch-brand span { color:var(--studio-lime); }
}
