:root {
  color-scheme: dark;
  --ink: #fff;
  --muted: #bcb3b4;
  --line: #383133;
  --field: #222021;
  --soft: #2a1d29;
  --on-accent: #241824;
  --accent-hover: color-mix(in srgb, var(--accent) 88%, black);
  --brand-red-ink: #ff8993;
  --brand-red-soft: #31181c;
  --green: #82d69b;
  --storefront-surface: #181617;
  --storefront-header: #111011;
  --card-hover-shadow: #0008;
  --sticky-content-top: calc(var(--sticky-header-height, 0px) + 12px);
  background: #0b0a0b;
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #242229;
  --muted: #706a75;
  --line: #eaeaea;
  --field: #f4f4f6;
  --soft: color-mix(in srgb, var(--accent) 16%, white);
  --brand-red-ink: #aa2434;
  --brand-red-soft: #fceff1;
  --green: #367346;
  --storefront-surface: #fff;
  --storefront-header: #fff;
  --card-hover-shadow: #22222213;
  background: white;
}

.header, .top, .bottom-bar { background: var(--storefront-header); }
.header { position: sticky; top: 0; z-index: 5; }
.wrap, .catalog--desktop { max-width: 1264px; }
.brand { display: grid; justify-items: center; gap: 2px; }
.brand__locations { color: var(--muted); font-size: 11px; line-height: 1.2; text-align: center; }
.storefront-preferences { display: flex; align-items: center; gap: 6px; flex: none; }
.language-switch, .theme-toggle, .theme-switcher summary { display: grid; place-items: center; min-width: 42px; min-height: 38px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); font-size: 13px; font-weight: 700; }
.language-switch:is(:hover, :focus-visible), .theme-toggle:is(:hover, :focus-visible), .theme-switcher summary:is(:hover, :focus-visible), .theme-switcher[open] summary { color: var(--accent); border-color: var(--accent); }
.theme-toggle { cursor: pointer; color: var(--ink); }
.theme-switcher { position: relative; }
.theme-switcher summary { cursor: pointer; list-style: none; }
.theme-switcher summary::-webkit-details-marker { display: none; }
.theme-toggle .icon, .theme-switcher summary .icon { width: 19px; height: 19px; }
.theme-switcher__options { position: absolute; z-index: 2; inset: calc(100% + 6px) 0 auto auto; display: grid; min-width: max-content; margin: 0; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--storefront-surface); box-shadow: 0 7px 22px var(--card-hover-shadow); }
.theme-switcher__options label { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 5px 9px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.theme-switcher__options label:is(:hover, :focus-within, :has(:checked)) { background: var(--soft); }
.top, .promo-strip, .search, .price-filter__label { color: var(--muted); }
.banner__prefix { color: #bcb3b4; }
.promo-strip a:is(:hover, :focus-visible) { color: var(--brand-red-ink); background: none; box-shadow: none; }
.city-switch summary, .mobile-menu-trigger, .bottom-bar > * { background: transparent; }
.header .button--cart { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.header .button--cart:hover { background: var(--accent-hover); }
.header .button--cart b { background: var(--on-accent); color: white; }
:focus-visible { outline-color: var(--accent); }
.quick-menu__primary a:not(:hover, :focus-visible, [href="/catalog/den-materi/"]) { box-shadow: inset 0 0 0 1px var(--accent); }
.quick-menu__categories a[aria-current="page"], .collection__head h2 span, .home-usp h1 span,
.menu-sheet__ratings span[aria-hidden] { color: var(--accent); }
.bottom-bar > a[aria-current="page"] { background: var(--soft); color: var(--accent); }
.catalog-tag-links a:is(:hover, :focus-visible, [aria-current]),
.catalog-price-presets button:is(:hover, :focus-visible, [aria-pressed="true"]) {
  background: var(--accent);
  border-color: var(--accent);
  color: #241824;
}
.price-filter__bands a { background: var(--field); color: var(--ink); }
.price-filter__bands a:is(:hover, :focus-visible, [aria-current]) { background: var(--accent); color: #241824; }
.feature__badge, .product-sticker, .product-card .product-sticker, .collection-sticker {
  background: var(--brand-red);
  color: white;
  rotate: -8deg;
}
.banner-controls { pointer-events: none; }
.banner-dots { pointer-events: auto; }
.collection-row { scroll-margin-top: var(--sticky-content-top); }
.catalog-sidebar { top: calc(var(--sticky-header-height, 0px) + 12px); max-height: calc(100dvh - var(--sticky-header-height, 0px) - 24px); }

.product-card {
  --card-ink: var(--ink);
  --card-muted: var(--muted);
  background: var(--storefront-surface);
}
.product-card:hover { box-shadow: 0 7px 22px var(--card-hover-shadow); }
.catalog--desktop {
  --catalog-line: var(--line);
  --catalog-surface: var(--field);
}

.city-switch nav, .mega-menu, .menu-sheet__ratings a, .catalog-sidebar,
.catalog-filter-actions, .dialog, .checkout-calendar, .shop-select__options,
.voucher-check, .gift-confirmation, .gift-gallery figure {
  background: var(--storefront-surface);
}
.price-filter, .home-usp article, .address-grid article, .advantage-island article {
  background: var(--storefront-surface);
  border-color: var(--line);
}
.directory-group .section-tile:not(:hover, :focus-visible, :active) { background-color: var(--storefront-surface); }
.directory-group--big .section-tile:has(img),
.directory-group--big .section-tile:has(img):is(:hover, :focus-visible) {
  color: white;
  background-color: #242229;
}

.skip, .button--cart, .button--ghost:not(:hover),
.close:not(:hover), .size:not([aria-pressed="true"]),
.similar__filters button:not([aria-pressed="true"]),
.gift-choice input:not(:checked) + span, .account-profile__phone .icon {
  background: var(--field);
}
.button--ghost { border-color: var(--line); }
.button--quick:not(:hover, :focus-visible),
.product-detail .button--quick:not(:hover, :focus-visible) {
  color: var(--ink);
  background: var(--field);
}
.checkout-form :is(input:not([type="radio"], [type="checkbox"]), select, textarea, .shop-select__trigger),
.catalog-price-inputs input, .catalog-toolbar select {
  background: var(--field);
  border-color: var(--line);
}
.checkout-form :is(input, select, textarea, .shop-select__trigger):is(:focus-visible, [aria-invalid="true"], [aria-expanded="true"]) {
  border-color: var(--accent);
}
.shop-select__options button:not([aria-selected="true"], :hover, :focus-visible) { background: var(--storefront-surface); }
input:is([type="checkbox"], [type="radio"]):not(:checked, :hover) { border-color: var(--muted); background: var(--field); }
input:is([type="checkbox"], [type="radio"]):hover:not(:checked) { background: var(--field); }
input[type="radio"]:checked { background: radial-gradient(circle, var(--accent) 0 52%, var(--field) 56%); }

.gift-contact, .gift-contact:is(:hover, :focus-visible) {
  background: var(--accent);
  color: var(--on-accent);
}
.thankyou__outline { background: var(--storefront-surface); }
.thankyou__links .button:is(:hover, :focus-visible) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--on-accent);
}
.loyalty-card progress::-webkit-progress-value { background: var(--on-accent); }
.loyalty-card progress::-moz-progress-bar { background: var(--on-accent); }
.loyalty-card__level { background: #0004; }
.account-order__status--completed,
#account-page .account-order__status--completed { color: var(--ink); background: #225336; }

:root[data-theme="light"] #account-page .account-order__status--completed,
:root[data-theme="light"] .account-order__status--completed { color: #225336; background: #eaf6ed; }
:root[data-theme="light"] .account-profile > .button { color: var(--on-accent); }

@media (min-width: 992px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .home-collection-layout:has(.home-feature .feature:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 25%);
    align-items: start;
    gap: 20px;
  }
  .home-feature {
    position: sticky;
    top: var(--sticky-content-top);
    margin-top: 36px;
    min-width: 0;
  }
  .home-feature .feature { min-height: min(410px, max(220px, calc(100dvh - var(--sticky-content-top) - 12px))); }
}

@media (max-width: 991px) {
  .promo-strip, .promo-strip a:is(:hover, :focus-visible) { color: var(--accent); }
  .top__line:not(:has(.city-switch:not([hidden]))) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }
  .top__line:not(:has(.city-switch:not([hidden]))) .top-city {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (661px <= width <= 780px) {
  .masthead { gap: 8px; }
  .brand img { width: 108px; }
  .header-catalog, .masthead > .button--cart { padding-inline: 10px; }
  .masthead .search { min-width: 76px; padding-inline: 9px; }
  .language-switch, .theme-toggle, .theme-switcher summary { min-width: 36px; }
}

@media (max-width: 660px) {
  .masthead { gap: 7px; }
  .search { min-width: 0; padding-inline: 8px; gap: 5px; }
  .storefront-preferences { gap: 4px; }
  .language-switch, .theme-toggle, .theme-switcher summary { min-width: 32px; min-height: 36px; padding-inline: 5px; font-size: 11px; }
  .banner__copy { text-align: center; }
  .banner__list { justify-content: center; text-align: start; width: fit-content; margin-inline: auto; }
  .banner h2 { margin-inline: auto; }
}
