#shop-theme .sun, [data-shop-theme=dark] #shop-theme .moon { display: none; }
[data-shop-theme=dark] #shop-theme .sun { display: inline; }
@media (max-width: 530px) {
  .top.wrap { grid-template-columns: auto minmax(0,1fr) auto; }
  .top .logo { justify-self: start; }
}
:root[data-shop-theme=dark] {
  color-scheme: dark;
  --shop-bg: #201d20;
  --shop-panel: #302930;
  --shop-field: #3b323a;
  --shop-line: #584c54;
  --shop-ink: #f5eef2;
  --shop-muted: #cbbfc6;
  --shop-accent: #ffafc7;
  background: var(--shop-bg);
}
[data-shop-theme=dark] body, [data-shop-theme=dark] .site-head,
[data-shop-theme=dark] .site-head.with-menu #nav { background: var(--shop-bg); color: var(--shop-ink); }
[data-shop-theme=dark] :is(.site-head,footer.wrap,.catalog-categories,.brand-directory a,.product-about dl div,.quantity-line) { border-color: var(--shop-line); }
[data-shop-theme=dark] :is(.top #search,.home-hero,.product-purchase) { background: var(--shop-panel); color: var(--shop-ink); }
[data-shop-theme=dark] :is(.header-icon,.top #search button,.top #search input,.home-copy h1) { color: var(--shop-ink); }
[data-shop-theme=dark] :is(.header-icon:hover,.top #search button:hover) { background: var(--shop-field); }
[data-shop-theme=dark] :is(.home-copy small,.home-copy p,.crumb,.catalog-status,.catalog-head span,.product-about dt,.product-stock) { color: var(--shop-muted); }
[data-shop-theme=dark] .home-category { color: #211c1b; }
[data-shop-theme=dark] .perfume-grid { --muted: var(--shop-muted); }
[data-shop-theme=dark] :is(.price,.catalog-categories a[aria-current=page],.catalog-empty a,.basket-total strong,.receipt-number strong,.checkout .status:not(:empty),.checkout-pvz a,.home-shelf-heading a:hover,.site-head #nav a:hover:not(.btn),.basket-remove:hover) { color: var(--shop-accent); }
[data-shop-theme=dark] :is(.catalog-filters select,.catalog-mobile-brand select,.catalog-sort select,.product-purchase .qty,.brands-page input,.product-favorite,.basket-quantity,.checkout input,.checkout select,.checkout textarea) {
  color: var(--shop-ink); background: var(--shop-field); border-color: var(--shop-line);
}
[data-shop-theme=dark] .product-favorite[aria-pressed=true] { color: var(--shop-accent); }
[data-shop-theme=dark] .basket-page {
  --basket-panel: var(--shop-panel); --basket-border: var(--shop-line); --basket-ink-muted: var(--shop-muted);
}
[data-shop-theme=dark] :focus-visible { outline-color: var(--shop-accent); }
@media (max-width: 900px) {
  [data-shop-theme=dark] .home-hero-art {
    mask-image: linear-gradient(90deg, transparent 18%, #000 52%);
  }
}
[data-shop-theme=dark] :is(input, textarea)::placeholder {
  color: #c4b7c0;
  opacity: 1;
}
[data-shop-theme=dark] :is(.product-purchase .qty, .basket-quantity) button:disabled {
  color: #b7aab3;
}
[data-shop-theme=dark] .basket-photo { color: #514951; }
[data-shop-theme=dark] :is(.basket-page .checkout input, .basket-page .checkout select, .checkout textarea, .catalog-filters select, .catalog-mobile-brand select, .catalog-sort select) {
  border-color: #8d7e88;
}
