/* Doybit Shop · design refinement round 1 · private GitHub development only
   Scope: home and catalog. Existing brand, product media and commerce remain intact. */
:root {
  --dx-text: #11264a;
  --dx-text-muted: #435f85;
  --dx-stroke: #d8e7f7;
  --dx-surface: rgba(255,255,255,.88);
  --dx-accent: #075fd4;
  --dx-highlight: #d6eaff;
}
html body.public-body :is(.sg-hero-home,.sg-hero-programs) {
  border: 1px solid rgba(255,255,255,.94);
  background: linear-gradient(130deg,#f7fbff 0%,#eff8ff 46%,#dcefff 100%);
  box-shadow: 0 18px 48px rgba(44,100,152,.09);
}
html body.public-body :is(.sg-hero-home,.sg-hero-programs) .sg-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: #255f9b;
  font-weight: 750;
  letter-spacing: .045em;
}
html body.public-body :is(.sg-hero-home,.sg-hero-programs) h1 {
  text-wrap: balance;
  letter-spacing: -.046em!important;
  line-height: 1.055!important;
  color: #0c1e43;
}
html body.public-body :is(.sg-hero-home,.sg-hero-programs) h1 em {
  color: #0969dd;
}
html body.public-body :is(.sg-hero-home,.sg-hero-programs) .sg-hero-copy>p {
  color: var(--dx-text-muted);
  line-height: 1.63!important;
  max-width: 58ch;
}
html body.public-body .sg-hero-home .sg-actions>a:first-child,
html body.public-body .sg-hero-programs .sg-actions>a:first-child {
  box-shadow: 0 9px 21px rgba(4,90,195,.19);
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) {
  gap: 17px!important;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card {
  position: relative;
  border: 1px solid rgba(208,228,248,.88)!important;
  border-radius: 22px!important;
  background: linear-gradient(170deg,rgba(255,255,255,.97),rgba(247,251,255,.94))!important;
  box-shadow: 0 9px 24px rgba(23,66,118,.075)!important;
  transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card:hover {
  transform: translateY(-4px);
  border-color: #9dccfa!important;
  box-shadow: 0 17px 32px rgba(23,66,118,.14)!important;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card:focus-visible {
  outline: 3px solid #0c69dc!important;
  outline-offset: 4px!important;
  transform: none;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card h3 {
  color: #102345;
  letter-spacing: -.032em!important;
  text-wrap: balance;
  font-size: 19px!important;
  line-height: 1.19!important;
  margin-top: 13px!important;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card>p {
  color: #455d80!important;
  font-size: 13px!important;
  line-height: 1.53!important;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .sg-card-art {
  border-radius: 16px!important;
  overflow: hidden;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .sg-card-editorial {
  object-fit: cover;
  transition: transform .35s ease;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card:hover .sg-card-editorial {
  transform: scale(1.035);
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .sg-card-price {
  border-top-color: #dce9f7!important;
  padding-top: 12px!important;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .sg-card-price>strong {
  color: #0864d0;
  font-variant-numeric: tabular-nums;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .sg-card-bottom {
  gap: 8px;
  border-top: 1px solid #e3edf9;
  padding-top: 12px;
  margin-top: 12px;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .dx-card-more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  color: #095bb7;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .dx-card-more>.sg-arrow {
  display: inline-grid;
  place-items: center;
  margin-left: 0;
  color: #0b64cf;
  background: #e4f2ff;
  border: 1px solid #d3e8fa;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card:hover .dx-card-more>.sg-arrow {
  background: #0b64cf;
  color: #fff;
}
html body.public-body .sg-frame:has(>.sg-program-grid.home-grid) .sg-head h2,
html body.public-body .sg-frame:has(>.sg-program-grid.catalog-grid) .sg-head h2 {
  letter-spacing: -.045em!important;
  text-wrap: balance;
  color: var(--dx-text);
}
html body.public-body .sg-head>p {
  color: var(--dx-text-muted);
  line-height: 1.5;
}
html body.public-body .dx-discovery-note {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 2px 0 17px!important;
  padding: 13px 16px;
  font-size: 13px!important;
  line-height: 1.5;
  color: #355778;
  background: linear-gradient(115deg,#e8f4ff,#f7fbff);
  border: 1px solid #cee5fa;
  border-radius: 14px;
}
html body.public-body .dx-discovery-note strong {
  font-weight: 800;
  color: #19436e;
}
html body.public-body .dx-note-dot {
  display: inline-block;
  flex: 0 0 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: #137bdd;
  box-shadow: 0 0 0 4px #d2e9fe;
}
html body.public-body .sg-filterbar {
  border-radius: 17px;
}
html body.public-body .sg-filterbar button:focus-visible,
html body.public-body .sg-filterbar a:focus-visible {
  outline: 3px solid #0969d9;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) {
    gap: 13px!important;
  }
  html body.public-body :is(.sg-hero-home,.sg-hero-programs) .sg-hero-copy>p {
    line-height: 1.52!important;
  }
}
@media (max-width: 600px) {
  html body.public-body :is(.sg-hero-home,.sg-hero-programs) {
    background: linear-gradient(155deg,#fafdff,#e9f5ff 80%,#e1f0ff)!important;
  }
  html body.public-body :is(.sg-hero-home,.sg-hero-programs) h1 {
    font-size: clamp(32px,8.5vw,39px)!important;
    line-height: 1.07!important;
    letter-spacing: -.042em!important;
  }
  html body.public-body :is(.sg-hero-home,.sg-hero-programs) .sg-hero-copy>p {
    font-size: 14px!important;
    line-height: 1.5!important;
  }
  html body.public-body .sg-hero-home .sg-actions {
    display: grid!important;
    grid-template-columns: minmax(0,1fr);
  }
  html body.public-body .sg-hero-home .sg-actions>a {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  html body.public-body .sg-hero-home .sg-device {
    margin-top: -28px!important;
  }
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) {
    grid-template-columns: minmax(0,1fr)!important;
  }
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card {
    border-radius: 20px!important;
    padding: 12px!important;
  }
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card h3 {
    font-size: 21px!important;
  }
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card>p {
    font-size: 14px!important;
  }
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .sg-card-art {
    height: 160px!important;
  }
  html body.public-body .dx-discovery-note {
    padding: 12px 13px;
    margin-bottom: 13px!important;
    font-size: 12px!important;
  }
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .dx-card-more {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card,
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid) .sg-card-editorial {
    transition: none!important;
  }
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card:hover,
  html body.public-body .sg-program-grid:is(.home-grid,.catalog-grid)>.sg-program-card:hover .sg-card-editorial {
    transform: none!important;
  }
}


/* Designrunde 2 – Produktdetailseiten: Navigation, Status und Leseführung */
html body.public-body .dx-product-breadcrumb {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
  margin: 15px 20px 13px;
  padding: 0 6px;
  color:#547092;
  font-size:13px;
  line-height:1.5;
}
html body.public-body .dx-product-breadcrumb a {
  color:#285c92;
  font-weight:650;
  text-decoration:none;
}
html body.public-body .dx-product-breadcrumb a:hover { text-decoration:underline }
html body.public-body .dx-product-breadcrumb [aria-current=page] {
  color:#163c67;
  font-weight:800;
}
html body.public-body .dx-product-overview {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,1.12fr);
  align-items:center;
  gap:22px;
  padding:18px 22px;
  border:1px solid #d7e6f6;
  background:linear-gradient(115deg,rgba(250,253,255,.98),rgba(231,244,255,.90));
  box-shadow:0 8px 28px rgba(33,87,149,.065);
}
html body.public-body .dx-product-overview-status {
  display:flex;
  align-items:flex-start;
  gap:13px;
  min-width:0;
}
html body.public-body .dx-product-overview-indicator {
  display:block;
  width:10px;
  height:10px;
  flex:0 0 10px;
  margin-top:5px;
  border-radius:50%;
  background:#317fd3;
  box-shadow:0 0 0 5px #d8eaff;
}
html body.public-body .dx-product-overview-status strong {
  display:block;
  font-size:15px;
  line-height:1.35;
  color:#143e6c;
  font-weight:800;
}
html body.public-body .dx-product-overview-status p {
  margin:4px 0 0;
  color:#476584;
  font-size:12px;
  line-height:1.5;
  max-width:57ch;
}
html body.public-body .dx-product-section-links {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
html body.public-body .dx-product-section-links a {
  display:flex;
  min-width:0;
  min-height:42px;
  gap:6px;
  align-items:center;
  justify-content:space-between;
  padding:9px 12px;
  border:1px solid #d9e9fa;
  border-radius:11px;
  background:rgba(255,255,255,.92);
  color:#16538d;
  font-size:12px;
  font-weight:750;
  line-height:1.3;
  text-decoration:none;
  transition:background .16s ease,border-color .16s ease;
}
html body.public-body .dx-product-section-links a span {font-size:16px;color:#2478d0}
html body.public-body .dx-product-section-links a:hover {
  background:#e3f2ff;
  border-color:#9acbfa;
}
html body.public-body .dx-product-section-links a:focus-visible,
html body.public-body .dx-product-breadcrumb a:focus-visible {
  outline:3px solid #0b67cf;
  outline-offset:3px;
}
html body.public-body main:has(.dx-product-overview)>.sg-hero {
  border:1px solid #f7fbff;
  box-shadow:0 15px 45px rgba(35,77,120,.08);
}
html body.public-body main:has(.dx-product-overview)>.sg-frame:has(.sg-feature-grid) .sg-head h2,
html body.public-body main:has(.dx-product-overview)>.sg-frame:has(.sg-release-gallery) .sg-head h2 {
  text-wrap:balance;
  letter-spacing:-.04em!important;
}
html body.public-body main:has(.dx-product-overview) .sg-feature-grid>.sg-feature-card {
  border:1px solid #dfeafa;
  border-radius:19px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,250,255,.95));
  box-shadow:0 5px 16px rgba(20,65,108,.05);
}
html body.public-body main:has(.dx-product-overview) .sg-feature-card h3 {
  color:#153c69;
  letter-spacing:-.018em;
}
html body.public-body main:has(.dx-product-overview) .sg-feature-card p {
  color:#49647f;
  line-height:1.5;
}
html body.public-body main:has(.dx-product-overview) .sg-feature-card>a {
  font-weight:750;
  text-underline-offset:3px;
}
html body.public-body main:has(.dx-product-overview) :is(.sg-product-details,.sg-more,.sg-product-context)>summary {
  min-height:46px;
  font-weight:750;
}
html body.public-body main:has(.dx-product-overview) #funktionen,
html body.public-body main:has(.dx-product-overview) #produktbilder,
html body.public-body main:has(.dx-product-overview) #arbeitsweise,
html body.public-body main:has(.dx-product-overview) #fragen {
  scroll-margin-top:100px;
}
@media (max-width:900px) {
  html body.public-body .dx-product-overview {
    grid-template-columns:1fr;
    gap:13px;
    padding:17px;
  }
  html body.public-body .mobile-nav nav {
    max-height:min(72dvh,600px);
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }
  html body.public-body .mobile-nav nav a {
    display:flex;
    align-items:center;
    min-height:44px;
    border-radius:9px;
    padding:10px 13px;
    font-weight:650;
  }
  html body.public-body .mobile-nav nav a[aria-current=page] {
    color:#0755ad;
    background:#deefff;
    font-weight:800;
  }
  html body.public-body .mobile-nav nav a:focus-visible {
    outline:3px solid #0c6cdb;
    outline-offset:-2px;
  }
  html body.public-body .mobile-nav summary:focus-visible {
    outline:3px solid #0c6cdb;
    outline-offset:2px;
  }
}
@media (max-width:600px) {
  html body.public-body .dx-product-breadcrumb {
    margin:9px 8px 10px;
    padding:0 3px;
    font-size:12px;
    gap:7px;
  }
  html body.public-body .dx-product-overview {
    padding:15px 13px;
    border-radius:18px;
    gap:12px;
  }
  html body.public-body .dx-product-overview-status strong {font-size:14px}
  html body.public-body .dx-product-overview-status p {font-size:12px}
  html body.public-body .dx-product-section-links {gap:7px}
  html body.public-body .dx-product-section-links a {
    min-height:45px;
    font-size:12px;
    padding:8px 9px;
  }
  html body.public-body main:has(.dx-product-overview) .sg-feature-grid>.sg-feature-card {
    padding:14px 13px;
  }
  html body.public-body main:has(.dx-product-overview) .sg-feature-card h3 {font-size:17px!important}
  html body.public-body main:has(.dx-product-overview) .sg-feature-card p {font-size:13px!important}
}
@media (prefers-reduced-motion:reduce) {
  html body.public-body .dx-product-section-links a {transition:none}
}
