/* P1.44.0.3 coherent dark surfaces; colors only, no price or content mutation. */
html[data-aw-contrast="dark"] {
  --aw-dark-canvas: #0b1620;
  --aw-dark-canvas-2: #0f1d29;
  --aw-dark-surface: #162532;
  --aw-dark-surface-2: #1c2d3b;
  --aw-dark-surface-soft: #223543;
  --aw-dark-text: #f3f7fb;
  --aw-dark-muted: #b9c7d4;
  --aw-dark-line: #405566;
  --aw-dark-link: #9dcbff;
  --aw-dark-gold: #f2c66d;
  --portal-bg: var(--aw-dark-canvas);
  --portal-text: var(--aw-dark-text);
  --portal-muted: var(--aw-dark-muted);
  --portal-line: var(--aw-dark-line);
  --portal-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  --portal-soft-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
html[data-aw-contrast="dark"] body.portal-ui {
  color: var(--aw-dark-text) !important;
  background:
    radial-gradient(circle at 78% -10%, rgba(44, 91, 137, .25), transparent 30%),
    linear-gradient(180deg, var(--aw-dark-canvas-2), var(--aw-dark-canvas)) !important;
}
html[data-aw-contrast="dark"] :where(.site-head.portal-head, .portal-head) {
  color: var(--aw-dark-text) !important;
  background: rgba(15, 29, 41, .97) !important;
  border-color: var(--aw-dark-line) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3) !important;
}
html[data-aw-contrast="dark"] .portal-brand img { content: url('/assets/brand/apowarenkorb-logo-footer.webp'); }
html[data-aw-contrast="dark"] .portal-category-nav {
  color: var(--aw-dark-text) !important;
  background: #0c1924 !important;
  border-color: var(--aw-dark-line) !important;
}
html[data-aw-contrast="dark"] :where(.portal-category-nav a, .header-action, .portal-brand, .head-search-hint) { color: var(--aw-dark-text) !important; }
html[data-aw-contrast="dark"] :where(.header-action small, .head-search-hint) { color: var(--aw-dark-muted) !important; }
html[data-aw-contrast="dark"] .header-action .ui-icon {
  color: var(--aw-dark-link) !important;
  background: var(--aw-dark-surface) !important;
  border-color: var(--aw-dark-line) !important;
}
html[data-aw-contrast="dark"] .portal-head .nav-basket-link {
  color: var(--aw-dark-text) !important;
  background: linear-gradient(145deg, #293342, #3b3426) !important;
  border-color: #8a6c35 !important;
}
html[data-aw-contrast="dark"] .portal-head .nav-basket-link .ui-icon {
  background: #182838 !important;
  border-color: #6d8295 !important;
}
html[data-aw-contrast="dark"] :where(.head-search input, .portal-home-search .search-row input, .product-search input, input, select, textarea) {
  color: var(--aw-dark-text) !important;
  background: #0b1721 !important;
  border-color: var(--aw-dark-line) !important;
  caret-color: var(--aw-dark-link);
}
html[data-aw-contrast="dark"] :where(input, textarea)::placeholder { color: #8295a7 !important; opacity: 1; }
html[data-aw-contrast="dark"] :where(.page-band, .compact-page-band, .category-hero, .product-page .product-page-band-compact) {
  color: var(--aw-dark-text) !important;
  background:
    radial-gradient(circle at 82% 20%, rgba(64, 100, 132, .22), transparent 30%),
    linear-gradient(135deg, #152635, #0d1b27) !important;
  border-color: var(--aw-dark-line) !important;
}
html[data-aw-contrast="dark"] main :where(h1, h2, h3, h4, h5, h6, strong, summary, label) { color: var(--aw-dark-text) !important; }
html[data-aw-contrast="dark"] main :where(p, li, dt, dd, address, small, figcaption) { color: var(--aw-dark-muted) !important; }
html[data-aw-contrast="dark"] main a:not(.main-action):not(.aw-button):not(.small-action):not(.outline-action) { color: var(--aw-dark-link) !important; }
html[data-aw-contrast="dark"] .eyebrow { color: #9dcbff !important; }
html[data-aw-contrast="dark"] :where(
  .content-card,
  .legal-card,
  .contact-card,
  .contact-side,
  .search-panel,
  .detail-card,
  .detail-layout,
  .portal-module,
  .home-product-panel,
  .portal-basket-hero,
  .portal-benefit-band,
  .product-card,
  .portal-product-card,
  .saved-product-card,
  .basket-card,
  .best-total-panel,
  .variant-card,
  .offer-list,
  .offer-row,
  .single-offer-card,
  .product-summary,
  .product-description-card,
  .product-source-card,
  .product-freshness-card,
  .product-price-history-card,
  .product-comparison-summary,
  .product-information-disclaimer,
  .product-fact-block,
  .ingredient-info-card,
  .provider-profile,
  .provider-offer-card-v2,
  .provider-offer-card-v3,
  .search-result-item,
  .categories-hub-card,
  .about-grid article,
  .press-card,
  .policy-card,
  .communication-category-card,
  .market-watch-card,
  .wishlist-autopilot-card,
  .account-alert-card,
  .account-link-list a,
  .account-product-list article,
  .wishlist-alert-list article,
  .savings-list article,
  .reader-preferences-shell
) {
  color: var(--aw-dark-text) !important;
  background: var(--aw-dark-surface) !important;
  border-color: var(--aw-dark-line) !important;
  box-shadow: var(--portal-soft-shadow) !important;
}
html[data-aw-contrast="dark"] :where(
  .portal-service-strip,
  .portal-quick-facts,
  .result-toolbar,
  .category-secondary-filters,
  .category-filter-form,
  .category-filter-head,
  .category-filter-fields,
  .category-filter-actions,
  .basket-summary-strip article,
  .order-plan-part,
  .order-part-facts span,
  .shared-plan-summary article,
  .shared-plan-part,
  .product-source-documents,
  .product-safety-notices,
  .product-shortage-notices,
  .communication-boundary-grid article,
  .communication-toggle,
  .communication-device-summary span,
  .price-history-stats > div,
  .product-fact-grid > *,
  .fact-list > *,
  .data-strip > *,
  .product-summary-highlights li,
  .offer-facts span,
  .category-list-module,
  .steps-module,
  .compact-products-module,
  .wishlist-module-small,
  .shop-logo-module,
  .deals-module,
  .pharma-brand-module
) {
  color: var(--aw-dark-text) !important;
  background: var(--aw-dark-surface-2) !important;
  border-color: var(--aw-dark-line) !important;
}
html[data-aw-contrast="dark"] :where(
  .portal-ui .product-card.portal-product-card .product-facts span,
  .offer-facts span,
  .data-strip span,
  .hero-metrics span,
  .status-pill,
  .category-page .category-facts-soft span,
  .product-summary-highlights li,
  .order-part-facts span
) {
  color: var(--aw-dark-text) !important;
  background: var(--aw-dark-surface-soft) !important;
  border-color: var(--aw-dark-line) !important;
}
html[data-aw-contrast="dark"] :where(
  .product-media,
  .portal-product-card .product-media,
  .detail-image,
  .compact-product-media,
  .offer-shop-logo,
  .shop-card-logo,
  .provider-logo-tile,
  .pharma-brand-tile,
  .payment-badge-logo,
  .compact-product-list img,
  .provider-profile-brand img
) {
  background: #f8fafc !important;
  border-color: #ced8e2 !important;
}
html[data-aw-contrast="dark"] :where(.product-media img, .detail-image img, .offer-shop-logo img, .shop-card-logo img, .provider-logo-tile img) { opacity: 1 !important; }
html[data-aw-contrast="dark"] :where(.outline-action, .small-action, .aw-button-secondary, a.outline-action, button.outline-action) {
  color: var(--aw-dark-text) !important;
  background: #1b2d3b !important;
  border-color: #60778b !important;
}
html[data-aw-contrast="dark"] :where(.outline-action, .small-action, .aw-button-secondary):hover { background: #263d4f !important; border-color: #89a7bf !important; }
html[data-aw-contrast="dark"] :where(.main-action, .aw-button-primary, .product-mobile-cta, .product-offers-jump, .gold-action) { color: #fff !important; }
html[data-aw-contrast="dark"] :where(.offer-delivery, .delivery-line, .best-shop) { color: #86e5ad !important; }
html[data-aw-contrast="dark"] :where(.price-advantage-badge, .offer-promotion-badge) {
  color: #ffe0a0 !important;
  background: #3b2d16 !important;
  border-color: #86652d !important;
}
html[data-aw-contrast="dark"] :where(.empty-state-inline, .note, .legal-note, .basket-inline-note, .price-history-note) {
  color: var(--aw-dark-muted) !important;
  background: var(--aw-dark-surface-2) !important;
  border-color: var(--aw-dark-line) !important;
}
html[data-aw-contrast="dark"] :where(.price-history-stats strong, .detail-price-stack, .offer-total-line, .fact-price, .variant-price) { color: var(--aw-dark-text) !important; }
html[data-aw-contrast="dark"] :where(.portal-home-search, .head-search) button {
  color: #fff !important;
  background: linear-gradient(180deg, #164f8f, #0a3263) !important;
  border-color: #4c7dab !important;
}
html[data-aw-contrast="dark"] hr,
html[data-aw-contrast="dark"] :where(table, th, td) { border-color: var(--aw-dark-line) !important; }
html[data-aw-contrast="dark"] th { color: var(--aw-dark-text) !important; background: var(--aw-dark-surface-2) !important; }
html[data-aw-contrast="dark"] td { color: var(--aw-dark-muted) !important; background: var(--aw-dark-surface) !important; }
html[data-aw-contrast="dark"] .site-foot.portal-footer {
  color: #fff !important;
  background: radial-gradient(circle at 80% 10%, rgba(43, 91, 153, .35), transparent 25%), linear-gradient(180deg, #08275b, #031a3d) !important;
}
html[data-aw-contrast="dark"] .site-foot.portal-footer :where(h2, strong) { color: #fff !important; }
html[data-aw-contrast="dark"] .site-foot.portal-footer :where(a, p, li, button) { color: rgba(255, 255, 255, .82) !important; }
html[data-aw-contrast="dark"] .site-foot.portal-footer :where(a, button):hover { color: #fff !important; }

/* P1.44.0.3 mobile fixed-action colors; geometry remains in the reader layout asset. */
html[data-aw-contrast="dark"] body.product-page .product-mobile-cta {
  color: var(--aw-dark-text) !important;
  background: rgba(8, 39, 91, .98) !important;
  border-color: rgba(157, 203, 255, .28) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .42) !important;
}
html[data-aw-contrast="dark"] body.product-page .product-mobile-cta .main-action {
  color: #08275b !important;
  background: #f7fbff !important;
  border-color: #c8d9e9 !important;
}
