/* ==========================================================================
   REstyle Brand Bento Design System (Ultra-Refined Commercial Edition)
   Pure Monolithic CSS Architecture - Zero External Dependencies
   Style: Clean Hanseatic Apothecary & Medical Engineering
   Palette: Graphite, Navy (#0A192F), Azure (#0284C7), Emerald (#10B981)
   ========================================================================== */

:root {
  /* Color Palette */
  --res-bg-page: #FAF9F6;
  --res-bg-surface: #FFFFFF;
  --res-bg-surface-alt: #F4F1EA;
  --res-bg-subtle: #F8FAFC;
  --res-bg-pedestal: radial-gradient(circle at 50% 38%, #FFFFFF 0%, #F3EFE9 100%);
  
  --res-navy: #0A192F;
  --res-navy-light: #1E293B;
  --res-graphite: #18181B;
  --res-slate: #1E293B;
  --res-slate-muted: #475569;
  --res-silver: #E2E8F0;
  --res-silver-light: #F1F5F9;

  --res-azure: #0284C7;
  --res-azure-hover: #0369A1;
  --res-azure-subtle: #E0F2FE;
  
  --res-cobalt: #2563EB;
  --res-emerald: #10B981;
  --res-emerald-dark: #047857;
  --res-emerald-subtle: #ECFDF5;
  
  --res-amber: #D97706;
  --res-amber-subtle: #FEF3C7;
  --res-red: #DC2626;
  --res-red-subtle: #FEE2E2;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  /* Elevation & Borders */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  --border-light: 1px solid var(--res-silver);
  --border-subtle: 1px solid rgba(226, 232, 240, 0.8);
  --border-navy: 1px solid var(--res-navy);
  --border-azure: 1px solid var(--res-azure);

  --shadow-xs: 0 1px 2px rgba(10, 25, 47, 0.04);
  --shadow-sm: 0 2px 4px rgba(10, 25, 47, 0.05), 0 1px 2px rgba(10, 25, 47, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(10, 25, 47, 0.08), 0 2px 6px -1px rgba(10, 25, 47, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(10, 25, 47, 0.1), 0 4px 8px -2px rgba(10, 25, 47, 0.04);
  --shadow-xl: 0 24px 38px -6px rgba(10, 25, 47, 0.12), 0 10px 16px -4px rgba(10, 25, 47, 0.05);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --container-max: 1240px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--res-graphite);
  background-color: var(--res-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  box-sizing: border-box;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--res-azure);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--res-azure-hover);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--res-azure);
  outline-offset: 2px;
}

/* Animations */
@keyframes almHeartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); color: var(--res-red); }
  100% { transform: scale(1); }
}

@keyframes almPulseLive {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes almFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes almShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Layout Utilities */
.res-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.res-main {
  flex: 1 0 auto;
}

/* Top Announcement Bar */
.res-topbar {
  background: var(--res-navy);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.01em;
}

.res-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.res-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Navigation Header (Unified Multi-Tier Architecture) */
.res-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 25, 47, 0.08);
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(10, 25, 47, 0.08);
}

.res-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 2rem;
  row-gap: 0;
  padding: 0.65rem 0 0;
  transition: padding 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-header.is-scrolled .res-header-inner {
  padding: 0.35rem 0 0;
}

.res-header.is-scrolled .res-search-input {
  padding: 0.38rem 0.85rem 0.38rem 2.15rem;
}

.res-header.is-scrolled .res-nav {
  margin-top: 0.32rem;
  padding: 0.3rem 0 0.28rem;
}

.res-brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--res-navy);
  text-decoration: none;
  white-space: nowrap;
}

.res-brand-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  background: var(--res-navy);
  color: #FFFFFF;
  border-radius: var(--radius-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Search Box in Header - Row 1 Center */
.res-search-box {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}

.res-search-input {
  width: 100%;
  padding: 0.5rem 0.85rem 0.5rem 2.25rem;
  font-size: 0.835rem;
  color: var(--res-navy);
  border: var(--border-light);
  border-radius: var(--radius-pill);
  background: var(--res-bg-subtle);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.res-search-input::placeholder {
  color: #64748B;
}

.res-search-input:focus {
  outline: none;
  border-color: var(--res-azure);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.res-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--res-slate-muted);
  pointer-events: none;
}

/* Action buttons (Wishlist, Cart, Mobile Toggle) - Row 1 Right */
.res-header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Navigation Row - Row 2, Full Width across all columns! */
.res-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1.2vw, 1.15rem);
  width: 100%;
  border-top: 1px solid rgba(10, 25, 47, 0.06);
  padding: 0.42rem 0 0.38rem;
  margin-top: 0.45rem;
  overflow: visible !important;
  white-space: nowrap !important;
  position: relative;
}

.res-nav::-webkit-scrollbar {
  display: none;
}

.res-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Hover bridge directly on parent dropdown to guarantee 100% gapless mouse transit */
.res-nav-item--has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  background: transparent;
  pointer-events: auto;
  z-index: 340;
}

.res-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: clamp(0.77rem, 0.86vw, 0.85rem);
  font-weight: 600;
  color: var(--res-slate);
  padding: 0.28rem clamp(0.45rem, 0.58vw, 0.65rem);
  border-radius: var(--radius-pill);
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  border-bottom: none;
  position: relative;
}

.res-nav-link:hover {
  color: var(--res-navy);
  background: rgba(2, 132, 199, 0.08);
}

.res-nav-link.active {
  color: var(--res-azure);
  background: rgba(2, 132, 199, 0.1);
  font-weight: 700;
}

/* Micro-icons in Navigation links */
.res-nav-icon {
  width: 14px;
  height: 14px;
  color: var(--res-slate-muted);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.res-nav-link:hover .res-nav-icon,
.res-nav-link.active .res-nav-icon {
  color: var(--res-azure);
}

/* Chevron indicator for dropdown */
.res-nav-chevron {
  width: 12px;
  height: 12px;
  color: var(--res-slate-muted);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast);
  margin-left: -0.15rem;
  flex-shrink: 0;
}

.res-nav-item--has-dropdown:hover .res-nav-chevron,
.res-nav-item--has-dropdown.is-open .res-nav-chevron {
  transform: rotate(180deg);
  color: var(--res-azure);
}

/* Sale / Discount Badge in Nav */
.res-nav-pill-sale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 4px rgba(217, 119, 6, 0.35);
  margin-left: 0.15rem;
  transition: box-shadow var(--transition-fast);
}

.res-nav-link:hover .res-nav-pill-sale {
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.5);
}

/* Pulsing Beacon Dot for Track Shipment */
.res-nav-beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: almBeaconPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  margin-right: -0.1rem;
  flex-shrink: 0;
}

@keyframes almBeaconPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============================================================
   ARCHITECTURAL FLYOUT MEGA-MENU (KATALOG & PRODUCT GROUPS)
   ============================================================ */
.res-flyout-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: -12px;
  width: min(760px, calc(100vw - 32px));
  background: #FFFFFF !important; /* 100% Opaque Solid Pure White - Zero Ghosting / Bleed-through */
  border: 1px solid rgba(10, 25, 47, 0.09);
  border-radius: 16px;
  box-shadow: 
    0 26px 64px -10px rgba(10, 25, 47, 0.2),
    0 4px 18px rgba(10, 25, 47, 0.05),
    0 0 0 1px rgba(10, 25, 47, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transform-origin: top left;
  /* Grace delay (0.12s) prevents flickering when cursor momentarily drifts */
  transition: opacity 0.16s ease 0.12s,
              transform 0.16s ease 0.12s,
              visibility 0.16s ease 0.12s;
  z-index: 350;
  overflow: hidden;
  white-space: normal !important;
}

/* Open on hover, focus-within or via active class: Opens immediately with 0s delay */
.res-nav-item--has-dropdown:hover .res-flyout-menu,
.res-nav-item--has-dropdown:focus-within .res-flyout-menu,
.res-nav-item--has-dropdown.is-open .res-flyout-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s !important;
}

.res-flyout-inner {
  padding: 1.25rem 1.35rem 1.15rem;
}

/* Flyout Top Header */
.res-flyout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(10, 25, 47, 0.07);
}

.res-flyout-header-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.735rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--res-slate-muted);
}

.res-flyout-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--res-azure);
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.7);
}

.res-flyout-header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--res-azure);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.res-flyout-header-link:hover {
  color: #0369A1;
  transform: translateX(2px);
}

/* 2x2 Grid for Product Categories */
.res-flyout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

/* Category Card: Equal Height & Perfectly Symmetrical */
.res-flyout-card {
  display: flex;
  align-items: stretch;
  gap: 0.95rem;
  padding: 1rem 1.05rem;
  background: #FAF9F6;
  border: 1px solid rgba(10, 25, 47, 0.06);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.res-flyout-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5px;
  height: 100%;
  background: var(--res-azure);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.res-flyout-card:hover {
  background: #FFFFFF;
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 10px 28px -4px rgba(2, 132, 199, 0.14), 0 2px 6px rgba(10, 25, 47, 0.04);
}

.res-flyout-card:hover::after {
  opacity: 1;
}

/* Category Card Icons */
.res-flyout-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-flyout-card:hover .res-flyout-card-icon {
  transform: scale(1.08);
}

.res-flyout-card-icon svg {
  width: 22px;
  height: 22px;
}

.res-icon-azure {
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.res-icon-slate {
  background: rgba(10, 25, 47, 0.08);
  color: #0A192F;
  border: 1px solid rgba(10, 25, 47, 0.15);
}

.res-icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.res-icon-gold {
  background: rgba(217, 119, 6, 0.1);
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

/* Category Card Content */
.res-flyout-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.res-flyout-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.915rem;
  font-weight: 700;
  color: var(--res-navy);
  margin-bottom: 0.25rem;
}

.res-flyout-tag {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.16rem 0.42rem;
  border-radius: 4px;
  background: rgba(10, 25, 47, 0.05);
  color: var(--res-slate);
  transition: all var(--transition-fast);
}

.res-flyout-card:hover .res-flyout-tag {
  background: rgba(2, 132, 199, 0.12);
  color: var(--res-azure);
}

.res-flyout-card-desc {
  font-size: 0.76rem;
  color: var(--res-slate-muted);
  line-height: 1.38;
  margin: 0 0 0.6rem;
  min-height: 2.3em; /* Allocates exact uniform height for 2 lines on all cards */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bottom Meta sticks to bottom of body for pixel-perfect baseline alignment across all cards */
.res-flyout-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(10, 25, 47, 0.09);
}

.res-meta-pill {
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--res-slate);
}

.res-meta-price {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--res-azure);
}

/* Flyout Bottom Footer Highlight (System-Pakete) */
.res-flyout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(10, 25, 47, 0.03) 100%);
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: 12px;
}

.res-flyout-footer-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.res-flyout-badge-sale {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
  flex-shrink: 0;
}

.res-flyout-footer-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.15rem;
}

.res-flyout-footer-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--res-navy);
}

.res-flyout-footer-text span {
  font-size: 0.715rem;
  color: var(--res-slate-muted);
  line-height: 1.3;
}

.res-flyout-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--res-navy);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.res-flyout-footer-btn:hover {
  background: var(--res-azure);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

/* Mobile Category Pills inside Mobile Drawer */
.res-mobile-cat-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: var(--res-bg-subtle);
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--res-navy);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.res-mobile-cat-pill:hover,
.res-mobile-cat-pill:active {
  background: var(--res-azure);
  color: #FFFFFF;
  border-color: var(--res-azure);
}

/* Live Search Results Dropdown */
.res-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: min(360px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  background: #FFFFFF;
  border: var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-height: 400px;
  overflow-y: auto;
  z-index: 150;
  display: none;
}

.res-mobile-nav .res-search-dropdown {
  min-width: 100%;
  max-width: 100%;
  position: static;
  margin-top: 0.5rem;
}

.res-search-dropdown.active {
  display: block;
  animation: almFadeIn 0.2s ease;
}

.res-search-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--res-silver-light);
  transition: background var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.res-search-item:last-child {
  border-bottom: none;
}

.res-search-item:hover {
  background: var(--res-bg-subtle);
}

.res-search-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #FAF9F6;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2px;
  box-sizing: border-box;
}

.res-search-meta {
  flex: 1;
  min-width: 0;
}

.res-search-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--res-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.res-search-sub {
  font-size: 0.75rem;
  color: var(--res-slate-muted);
}

.res-search-price {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--res-azure);
}

/* Header Action Buttons */
.res-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.res-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: var(--border-light);
  background: #FFFFFF;
  color: var(--res-navy);
  transition: all var(--transition-fast);
}

.res-action-btn:hover {
  background: var(--res-bg-subtle);
  border-color: var(--res-azure);
  color: var(--res-azure);
}

.res-action-btn.active-pop {
  animation: almHeartPop 0.4s ease;
}

.res-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--res-azure);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px #FFFFFF;
}

.res-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

/* Mobile Nav & Mobile Bottom Navigation Bar - Strictly Hidden on Desktop Screens */
.res-mobile-nav,
.res-mobile-bottom-nav {
  display: none !important;
}

/* Bento Grid System */
.res-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.35rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.res-bento-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.res-bento-card {
  background: var(--res-bg-surface);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.res-bento-card:hover {
  box-shadow: var(--shadow-md);
}

.res-bento-card.highlight {
  border-color: var(--res-azure);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
}

.res-bento-card.apothecary {
  background: var(--res-bg-surface);
  border-top: 3px solid var(--res-navy);
}

.res-col-3 { grid-column: span 3; }
.res-col-4 { grid-column: span 4; }
.res-col-5 { grid-column: span 5; }
.res-col-6 { grid-column: span 6; }
.res-col-7 { grid-column: span 7; }
.res-col-8 { grid-column: span 8; }
.res-col-12 { grid-column: span 12; }

/* Buttons & Inputs */
.res-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 44px; /* Apple HIG standard */
  cursor: pointer;
  letter-spacing: 0.01em;
}

.res-btn-primary {
  background: var(--res-navy);
  color: #FFFFFF;
}

.res-btn-primary:hover {
  background: var(--res-navy-light);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.res-btn-azure {
  background: var(--res-azure);
  color: #FFFFFF;
}

.res-btn-azure:hover {
  background: var(--res-azure-hover);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.res-btn-outline {
  border: var(--border-light);
  background: #FFFFFF;
  color: var(--res-navy);
}

.res-btn-outline:hover {
  border-color: var(--res-azure);
  color: var(--res-azure);
  background: var(--res-bg-subtle);
}

/* Outline Buttons on Dark Banners / Cards */
.res-btn-outline-light,
.res-bento-card[style*="0A192F"] .res-btn-outline,
.res-bento-card[style*="linear-gradient"] .res-btn-outline {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(4px);
  text-decoration: none !important;
}

.res-btn-outline-light:hover,
.res-bento-card[style*="0A192F"] .res-btn-outline:hover,
.res-bento-card[style*="linear-gradient"] .res-btn-outline:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.res-btn-danger {
  background: var(--res-red-subtle);
  color: var(--res-red);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.res-btn-danger:hover {
  background: var(--res-red);
  color: #FFFFFF;
}

.res-btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.825rem;
  min-height: 36px;
}

.res-btn-block {
  width: 100%;
}

/* Forms */
.res-form-group {
  margin-bottom: 1.25rem;
}

.res-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--res-slate);
  margin-bottom: 0.35rem;
}

.res-input, .res-select, .res-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--res-navy);
  border: var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.res-input::placeholder, .res-textarea::placeholder {
  color: #64748B;
}

.res-input:focus, .res-select:focus, .res-textarea:focus {
  outline: none;
  border-color: var(--res-azure);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16);
}

/* Badges & Tags */
.res-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.res-tag-navy { background: var(--res-navy); color: #FFFFFF; font-weight: 700; }
.res-tag-azure { background: var(--res-azure-subtle); color: #0369A1; border: 1px solid rgba(2, 132, 199, 0.3); font-weight: 700; }
.res-tag-emerald { background: var(--res-emerald-subtle); color: #065F46; border: 1px solid rgba(16, 185, 129, 0.35); font-weight: 700; }
.res-tag-amber { background: var(--res-amber-subtle); color: #92400E; border: 1px solid rgba(217, 119, 6, 0.35); font-weight: 700; }

/* Pulsating indicator */
.res-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--res-emerald);
  animation: almPulseLive 1.8s infinite;
}

/* Product Card Grid (3 Columns on Desktop, Max 9 per Page) */
/* Product Card Grid: Clean 4 Columns on Desktop for Sleek Compact Presentation */
.res-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  width: 100%;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .res-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .res-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .res-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}

.res-product-card {
  background: #FFFFFF;
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.res-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(10, 25, 47, 0.08), 0 3px 8px -2px rgba(2, 132, 199, 0.06);
  border-color: var(--res-azure);
}

.res-product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 25, 47, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  flex-shrink: 0;
  padding: 0;
  box-sizing: border-box;
}

.res-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-product-card:hover .res-product-img {
  transform: scale(1.025);
}

.res-stock-pill {
  position: absolute;
  bottom: 0.45rem;
  left: 0.45rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--res-emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 3;
  pointer-events: none;
}

.res-wishlist-toggle,
.res-spotlight-card > .res-wishlist-toggle {
  position: absolute !important;
  top: 0.65rem !important;
  right: 0.65rem !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10 !important;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.12), 0 0 0 1px rgba(10, 25, 47, 0.04);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.res-wishlist-toggle svg {
  width: 16px;
  height: 16px;
  stroke: #64748B;
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease, fill 0.2s ease, filter 0.2s ease;
  pointer-events: none;
}

.res-wishlist-toggle:hover {
  transform: scale(1.12);
  color: #E11D48;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22);
}

.res-wishlist-toggle:hover svg {
  stroke: #E11D48;
}

.res-wishlist-toggle.active {
  color: #E11D48;
  background: #FFFFFF;
  border-color: #FECDD3;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.18);
}

.res-wishlist-toggle.active svg {
  stroke: #E11D48;
  fill: #E11D48;
}

.res-wishlist-toggle.active-pop {
  animation: almHeartPopSimple 0.24s ease-out !important;
}

@keyframes almHeartPopSimple {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* Floating Heart Feedback Particle */
.res-floating-heart {
  position: fixed;
  z-index: 100000;
  pointer-events: none;
  font-size: 1.35rem;
  line-height: 1;
  animation: almFloatUpFade 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes almFloatUpFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, -130%) scale(1.35);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -240%) scale(1.05);
  }
}

/* Header Counter Bounce Bump */
.res-counter-bump {
  animation: almCounterBump 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes almCounterBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.45); background: #E11D48 !important; }
  100% { transform: scale(1); }
}

/* Global Toast Notification System (Medical Luxury Edition) */
.res-toast-notification {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(24px) scale(0.96);
  background: var(--res-navy);
  color: #FFFFFF;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100099 !important; /* Above all dialogs and cart drawers */
  opacity: 0;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
}

.res-toast-notification.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.res-toast-notification .res-toast-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.res-toast-notification .res-toast-msg {
  line-height: 1.35;
}

.res-toast-notification.res-toast-success {
  background: #064E3B !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
}

.res-toast-notification.res-toast-error {
  background: #7F1D1D !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
}

.res-toast-notification.res-toast-warning {
  background: #78350F !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}

.res-toast-notification.res-toast-info {
  background: #0A192F !important;
  border-color: rgba(2, 132, 199, 0.45) !important;
}

/* Branded Confirm Dialog Modal (Replaces Native Browser confirm()) */
.res-confirm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100090 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  animation: almFadeIn 0.2s ease;
}

.res-confirm-modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 24px 60px rgba(10, 25, 47, 0.35);
  border: 1px solid rgba(10, 25, 47, 0.1);
  text-align: center;
  animation: almZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.res-confirm-modal-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.res-confirm-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--res-navy);
  margin: 0 0 0.5rem 0;
}

.res-confirm-modal-text {
  font-size: 0.88rem;
  color: var(--res-slate);
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.res-confirm-modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.res-confirm-modal-actions .res-btn {
  flex: 1 1 0;
}

.res-btn-danger {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  border: 1px solid #B91C1C !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
  transition: all 0.2s ease;
}

.res-btn-danger:hover {
  background: #B91C1C !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.res-product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
  min-height: 1.3rem;
}

.res-sku-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  color: #0369A1;
  background: var(--res-azure-subtle);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.res-cat-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--res-slate-muted);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.res-product-sku {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--res-azure);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
  min-height: 1rem;
  line-height: 1rem;
}

.res-product-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--res-navy);
  line-height: 1.3;
  margin-bottom: 0.35rem;
  min-height: 2.4rem;
  max-height: 2.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.res-product-title a {
  color: var(--res-navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.res-product-card:hover .res-product-title a {
  color: var(--res-azure);
}

.res-product-desc {
  font-size: 0.78rem;
  color: var(--res-slate);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  min-height: 2.2rem;
  max-height: 2.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.res-product-footer {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  padding-top: 0.65rem;
  border-top: 1px solid var(--res-silver-light);
  margin-top: auto !important;
  gap: 0.4rem;
  width: 100%;
}

.res-product-price-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.res-product-price {
  font-family: var(--font-mono);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--res-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.res-product-footer div:first-child > div:last-child,
.res-product-price-sub {
  font-size: 0.65rem;
  color: var(--res-slate-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

.res-product-vat-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--res-slate-muted);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.res-product-footer .res-btn {
  padding: 0.55rem 0.95rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  border-radius: var(--radius-sm) !important;
  background: var(--res-azure) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25) !important;
  transition: all var(--transition-fast) !important;
  flex-shrink: 0 !important;
}

.res-product-footer .res-btn:hover {
  background: var(--res-azure-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4) !important;
}

/* ==========================================================================
   Katalog Header Cockpit & Interactive Toolbar System
   ========================================================================== */
.res-catalog-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 55%, rgba(2, 132, 199, 0.04) 100%);
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(10, 25, 47, 0.03);
  position: relative;
  overflow: hidden;
}

.res-catalog-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.res-catalog-badges {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.res-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  background: rgba(10, 25, 47, 0.04);
  border: 1px solid rgba(10, 25, 47, 0.08);
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--res-slate);
  letter-spacing: -0.01em;
}

.res-catalog-stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.775rem;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.res-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: res-pulse 2s infinite ease-in-out;
}

.res-catalog-title {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--res-navy);
  margin-bottom: 0.65rem;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.res-catalog-lead {
  color: var(--res-slate);
  max-width: 820px;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* 4 Trust Micro-Cards in Catalog Hero */
.res-catalog-usps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 1080px) {
  .res-catalog-usps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .res-catalog-usps {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

.res-usp-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(10, 25, 47, 0.02);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.res-usp-card:hover {
  border-color: rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

.res-usp-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--res-azure);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.res-usp-svg {
  width: 17px;
  height: 17px;
}

.res-usp-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.res-usp-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--res-navy);
  line-height: 1.25;
}

.res-usp-sub {
  font-size: 0.72rem;
  color: var(--res-slate-muted);
  line-height: 1.2;
  margin-top: 0.15rem;
}

/* Dedicated Integrated Catalog Control Center (Filter + Toolbar) */
.res-catalog-control-panel {
  background: #FFFFFF;
  border: 1px solid var(--res-border);
  border-radius: 16px;
  padding: 0.85rem 1.15rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(10, 25, 47, 0.03);
}

.res-filter-bar-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
}

.res-filter-bar-wrap::-webkit-scrollbar {
  display: none;
}

.res-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  width: 100%;
}

.res-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(10, 25, 47, 0.12);
  background: #F8FAFC;
  font-size: 0.785rem;
  font-weight: 600;
  color: var(--res-slate);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  transition: all 0.18s ease;
}

.res-filter-chip:hover {
  background: #FFFFFF;
  border-color: var(--res-azure);
  color: var(--res-azure);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
}

.res-filter-chip.active {
  background: var(--res-navy);
  border-color: var(--res-navy);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.18);
}

.res-chip-icon {
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.9;
}

.res-filter-count {
  font-size: 0.725rem;
  background: rgba(0, 0, 0, 0.07);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.res-filter-chip.active .res-filter-count {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Secondary Subbar (Live Count + Sort Dropdown) */
.res-catalog-subbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10, 25, 47, 0.04);
}

.res-catalog-count-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.835rem;
  color: var(--res-slate);
  font-weight: 500;
  min-width: 0;
}

.res-filter-status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.res-filter-count-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.835rem;
  color: var(--res-slate);
  white-space: nowrap;
}

.res-filter-count-wrap strong {
  color: var(--res-navy);
  font-weight: 700;
}

.res-count-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--res-azure);
  display: inline-block;
  flex-shrink: 0;
}

/* Active Category Removable Chip */
.res-active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.28);
  color: var(--res-azure);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem 0.25rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  text-decoration: none;
}

.res-filter-chip-name {
  white-space: nowrap;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.res-filter-chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.16);
  color: var(--res-azure);
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.res-active-filter-chip:hover {
  background: #FFF1F2;
  border-color: #FECDD3;
  color: #E11D48;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.12);
}

.res-active-filter-chip:hover .res-filter-chip-x {
  background: #E11D48;
  color: #FFFFFF;
}

.res-filter-page-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--res-slate-muted);
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.res-filter-reset-link {
  display: none !important; /* Replaced by intuitive .res-active-filter-chip */
}

.res-catalog-sort-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.res-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.815rem;
  font-weight: 700;
  color: var(--res-navy);
  white-space: nowrap;
}

.res-sort-icon {
  width: 15px;
  height: 15px;
  color: var(--res-azure);
}

.res-sort-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.res-sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0.45rem 2.2rem 0.45rem 0.85rem;
  font-size: 0.815rem;
  font-weight: 600;
  color: var(--res-navy);
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-width: 195px;
  height: 38px;
  box-shadow: 0 1px 2px rgba(10, 25, 47, 0.04);
}

.res-sort-select:hover,
.res-sort-select:focus {
  border-color: var(--res-azure);
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.res-sort-chevron {
  position: absolute;
  right: 0.75rem;
  pointer-events: none;
  width: 15px;
  height: 15px;
  color: var(--res-slate-muted);
}

/* Catalog Pagination (Max 9 Items per Page) */
.res-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  flex-wrap: wrap;
}

.res-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 40px;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(10, 25, 47, 0.12);
  background: #FFFFFF;
  color: var(--res-navy);
  font-size: 0.835rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  box-shadow: 0 1px 3px rgba(10, 25, 47, 0.03);
}

.res-pagination-btn:hover:not(:disabled) {
  border-color: var(--res-azure);
  color: var(--res-azure);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.15);
}

.res-pagination-btn.active {
  background: var(--res-navy);
  border-color: var(--res-navy);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(10, 25, 47, 0.22);
  cursor: default;
}

.res-pagination-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  border-color: rgba(10, 25, 47, 0.08);
  background: #F8FAFC;
  transform: none !important;
  box-shadow: none !important;
}

.res-pagination-info {
  font-size: 0.815rem;
  color: var(--res-slate-muted);
  font-weight: 500;
  margin-left: 0.75rem;
  display: inline-flex;
  align-items: center;
}

/* Slide-Over Drawer Cart */
.res-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100050 !important;
  visibility: hidden;
  transition: visibility var(--transition-normal);
}

.res-cart-drawer.active {
  visibility: visible;
}

.res-cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 100051 !important;
}

.res-cart-drawer.active .res-cart-overlay {
  opacity: 1;
}

.res-cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 100052 !important;
}

.res-cart-drawer.active .res-cart-panel {
  transform: translateX(0);
}

.res-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: var(--border-light);
  background: var(--res-bg-subtle);
}

.res-cart-header-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--res-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.res-cart-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--res-navy);
  border: var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  min-height: 40px;
  transition: all var(--transition-fast);
}

.res-cart-close-btn:hover {
  background: var(--res-silver-light);
  border-color: var(--res-azure);
  color: var(--res-azure);
}

/* Free Delivery Bar */
.res-free-shipping-box {
  padding: 0.85rem 1.5rem;
  background: var(--res-azure-subtle);
  border-bottom: 1px solid rgba(2, 132, 199, 0.2);
}

.res-free-shipping-text {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--res-azure-hover);
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
}

.res-progress-track {
  height: 7px;
  background: rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.res-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  border-radius: var(--radius-pill);
  transition: width 0.35s ease;
}

/* Cart Items Container */
.res-cart-items {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 25, 47, 0.18) transparent;
}

.res-cart-items::-webkit-scrollbar {
  width: 5px;
}

.res-cart-items::-webkit-scrollbar-track {
  background: transparent;
}

.res-cart-items::-webkit-scrollbar-thumb {
  background: rgba(10, 25, 47, 0.18);
  border-radius: 9999px;
}

/* Cart Item Card: Strict 2-Row Bento Layout */
.res-cart-item {
  display: flex;
  gap: 0.85rem;
  touch-action: pan-y;
  background: #FFFFFF;
  border: var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
}

.res-cart-item:hover {
  border-color: var(--res-silver);
}

.res-cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--res-bg-pedestal);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 3px;
  box-sizing: border-box;
}

.res-cart-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.res-cart-row-1 {
  display: flex;
  flex-direction: column;
}

.res-cart-item-sku {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--res-slate-muted);
  white-space: nowrap;
}

.res-cart-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--res-navy);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.res-cart-row-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 0.5rem;
}

.res-qty-selector {
  display: inline-flex;
  align-items: center;
  border: var(--border-light);
  border-radius: var(--radius-xs);
  background: var(--res-bg-subtle);
}

.res-qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--res-navy);
  transition: background var(--transition-fast);
}

.res-qty-btn:hover {
  background: var(--res-silver);
}

.res-qty-val {
  width: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.res-cart-item-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--res-navy);
}

.res-cart-item-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  border: 1px solid var(--res-silver);
  color: var(--res-slate-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  margin-left: auto;
  box-sizing: border-box;
}

.res-cart-item-del:hover {
  color: #DC2626;
  background: #FEE2E2;
  border-color: #FCA5A5;
  transform: scale(1.06);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}

.res-cart-item-del:active {
  transform: scale(0.94);
}

.res-cart-item-del .res-del-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.1;
}

/* Cart Footer */
.res-cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: var(--border-light);
  background: var(--res-bg-subtle);
}

.res-promo-box {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  align-items: center;
}

.res-promo-input {
  flex: 1;
  padding: 0.38rem 0.65rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  min-height: 36px;
  max-height: 36px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

#res-apply-promo-btn {
  padding: 0.38rem 0.8rem;
  font-size: 0.78rem;
  min-height: 36px;
  max-height: 36px;
  white-space: nowrap;
  font-weight: 600;
}

.res-cart-totals {
  margin-bottom: 1rem;
}

.res-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--res-slate);
  margin-bottom: 0.35rem;
}

.res-total-row.grand-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--res-navy);
  border-top: 1px solid var(--res-silver);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

/* Discrete Checkout Item Rows with Thumbnails */
.res-checkout-item-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--res-silver-light);
}

.res-checkout-item-card:last-child {
  border-bottom: none;
}

.res-checkout-item-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  border: 1px solid #CBD5E1;
  background: #FAF9F6;
  overflow: visible;
  flex-shrink: 0;
  padding: 3px !important;
  box-sizing: border-box !important;
}

.res-checkout-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  border-radius: inherit;
  display: block;
}

.res-checkout-item-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--res-azure);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 1px 3px rgba(10, 25, 47, 0.25);
  border: 1.5px solid #FFFFFF;
}

.res-checkout-item-info {
  flex: 1;
  min-width: 0;
}

.res-checkout-item-sku {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--res-slate-muted);
  letter-spacing: 0.04em;
}

.res-checkout-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--res-navy);
  line-height: 1.3;
  margin: 0.1rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.res-checkout-item-variant {
  font-size: 0.72rem;
  color: var(--res-azure);
  font-weight: 600;
}

.res-checkout-item-price {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--res-navy);
  text-align: right;
  flex-shrink: 0;
}

.res-checkout-item-unitprice {
  font-size: 0.68rem;
  color: var(--res-slate-muted);
  font-weight: normal;
}

/* Order Confirmation Centered Action Bar */
.res-confirm-action-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2.25rem auto 1.5rem auto;
  max-width: 600px;
  width: 100%;
}

.res-confirm-action-bar .res-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  min-height: 48px;
  box-shadow: 0 1px 3px rgba(10, 25, 47, 0.08);
  white-space: nowrap;
}

/* Order Confirmation Table Strict Responsive Styles */
.res-confirm-table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  margin-bottom: 1.5rem !important;
  box-sizing: border-box !important;
}

.res-confirm-table th {
  padding: 0.65rem 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--res-slate-muted);
  border-bottom: 2px solid var(--res-silver);
  box-sizing: border-box;
}

.res-confirm-table td {
  padding: 0.75rem 0.4rem;
  vertical-align: middle;
  box-sizing: border-box;
}

.res-confirm-table th.res-col-art,
.res-confirm-table td.res-col-art {
  width: auto;
  text-align: left;
  overflow: hidden;
}

.res-confirm-table th.res-col-qty,
.res-confirm-table td.res-col-qty {
  width: 52px;
  text-align: center;
  white-space: nowrap;
}

.res-confirm-table th.res-col-price,
.res-confirm-table td.res-col-price {
  width: 90px;
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--res-navy);
}

.res-confirm-art-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  overflow: hidden;
}

.res-confirm-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain !important;
  background: #FAF9F6;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  padding: 2px !important;
  flex-shrink: 0;
  box-sizing: border-box;
}

.res-confirm-art-info {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.res-confirm-sku {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--res-slate-muted);
  letter-spacing: 0.04em;
}

.res-confirm-name {
  font-weight: 700;
  color: var(--res-navy);
  font-size: 0.86rem;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.res-confirm-variant {
  font-size: 0.7rem;
  color: var(--res-azure);
  font-weight: 600;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.res-confirm-qty-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
}

/* Cart Header Actions & Clear Cart Button */
.res-cart-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--res-bg-subtle);
  border: 1px solid var(--res-silver-light);
  border-radius: var(--radius-sm);
}

.res-cart-header-count {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--res-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.res-btn-clear-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.res-btn-clear-cart:hover {
  background: #FEE2E2;
  border-color: #F87171;
  color: #B91C1C;
}

.res-drawer-clear-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: #DC2626;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.2rem 0.4rem;
}

.res-drawer-clear-btn:hover {
  color: #B91C1C;
}

/* Bento Full Cart Item Card (Modern UI/UX Architecture) */
.res-cart-card {
  padding: 1.15rem 1.25rem !important;
  margin-bottom: 1rem !important;
  background: #FFFFFF !important;
  border: 1px solid var(--res-silver) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 1px 3px rgba(10, 25, 47, 0.04) !important;
  transition: all var(--transition-fast) !important;
}

.res-cart-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.07) !important;
}

.res-cart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--res-silver-light);
}

.res-cart-card-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--res-slate-muted);
}

.res-cart-card-meta .res-cart-sku {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--res-slate);
}

.res-cart-card-meta .res-cart-unit-price {
  color: var(--res-slate-muted);
}

.res-cart-card-del {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  border: 1px solid var(--res-silver);
  color: var(--res-slate-muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.res-cart-card-del:hover {
  color: #DC2626;
  background: #FEF2F2;
  border-color: #FECACA;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15);
}

.res-cart-card-del:active {
  transform: scale(0.96);
}

.res-cart-card-del .res-del-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.1;
}

.res-drawer-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #F8FAFC;
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-xs);
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--res-slate-muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.res-drawer-clear-btn:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.15);
}

.res-btn-clear-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-sm);
  color: var(--res-slate-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.res-btn-clear-cart:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.res-cart-card-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.res-cart-card-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: #FAF9F6;
  border: 1px solid #CBD5E1;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px !important;
  box-sizing: border-box !important;
}

.res-cart-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
}

.res-cart-card-info {
  flex: 1;
  min-width: 0;
}

.res-cart-card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--res-navy);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast);
}

.res-cart-card-title:hover {
  color: var(--res-azure);
}

.res-cart-card-variant {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--res-azure);
  background: var(--res-azure-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
}

.res-cart-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--res-silver-light);
}

.res-cart-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.res-cart-total-label {
  font-size: 0.78rem;
  color: var(--res-slate-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.res-cart-total-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--res-navy);
}

/* Product Detail Page Specifics */
.res-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--res-slate-muted);
  margin-bottom: 1.35rem;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.res-back-link:hover {
  color: var(--res-azure);
}

.res-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.res-detail-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #FAF9F6;
  border-radius: var(--radius-md);
  border: var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth);
  padding: 0.5rem;
  box-sizing: border-box;
}

/* System-Pakete Luxury Image Wrap */
.res-bundle-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 200px;
  background: #FAF9F6;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 25, 47, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0;
  box-sizing: border-box;
}

.res-bundle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-bento-card:hover .res-bundle-img {
  transform: scale(1.025);
}

@media (max-width: 900px) {
  .res-bundle-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: 180px;
  }
}

.res-detail-thumbs {
  display: flex;
  gap: 0.75rem;
}

.res-detail-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: var(--res-bg-pedestal);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.res-detail-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--res-silver);
}

.res-detail-thumb.active {
  border-color: var(--res-azure);
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--res-azure-subtle);
}

/* Clean Single-Image Showcase & Trust Pills (Zero residual thumbs) */
.res-detail-gallery-clean {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.res-detail-main-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(10, 25, 47, 0.08);
  background: #FAF9F6;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-sizing: border-box;
}

.res-detail-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-detail-main-img-box:hover img {
  transform: scale(1.025);
}

.res-detail-trust-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.res-trust-pill-mini {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  background: #FFFFFF;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: #1E293B;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.res-trust-pill-mini svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.res-trust-pill-mini strong {
  color: var(--res-navy);
}

/* Product Variation Selector */
.res-variant-selector-wrap {
  margin-bottom: 0.95rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.res-variant-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.4rem;
}

.res-variant-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(10, 25, 47, 0.15);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  position: relative;
  min-height: 44px;
}

.res-variant-chip:hover {
  border-color: var(--res-azure);
  background: rgba(2, 132, 199, 0.04);
}

.res-variant-chip.active {
  border-color: var(--res-azure);
  background: rgba(2, 132, 199, 0.08);
  box-shadow: 0 0 0 1.5px var(--res-azure);
}

.res-variant-chip-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--res-navy);
  line-height: 1.15;
}

.res-variant-chip.active .res-variant-chip-title {
  color: var(--res-azure);
}

.res-variant-chip-sub {
  font-size: 0.64rem;
  color: #64748B;
  margin-top: 0.12rem;
  line-height: 1.1;
}

.res-variant-chip-badge {
  position: absolute;
  top: -6px;
  right: 4px;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.08rem 0.35rem;
  border-radius: 3px;
  line-height: 1.1;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.25);
}

/* Detailed Product Page Ergonomic Tabs */
.res-detail-tabs-wrap {
  margin-top: 2rem;
  background: #FFFFFF;
  border: 1px solid var(--res-silver-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.res-detail-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--res-silver-light);
  background: #F8FAFC;
  overflow-x: auto;
  scrollbar-width: none;
}

.res-detail-tabs-header::-webkit-scrollbar {
  display: none;
}

.res-detail-tab-btn {
  padding: 0.95rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--res-slate);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.res-detail-tab-btn:hover {
  color: var(--res-azure);
  background: rgba(255, 255, 255, 0.6);
}

.res-detail-tab-btn.active {
  color: var(--res-azure);
  border-bottom-color: var(--res-azure);
  background: #FFFFFF;
}

.res-detail-tab-content {
  padding: 1.75rem;
}

.res-detail-tab-pane {
  display: none;
}

.res-detail-tab-pane.active {
  display: block;
}

/* Wishlist Toolbar & Clear Button */
.res-wishlist-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--res-silver-light);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.res-wishlist-count-badge {
  font-size: 0.88rem;
  color: var(--res-slate);
}

.res-wishlist-count-badge strong {
  color: var(--res-navy);
  font-size: 1rem;
}

.res-btn-clear-wishlist {
  background: rgba(220, 38, 38, 0.05);
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.res-btn-clear-wishlist:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
  transform: translateY(-1px);
}

.res-cart-item-variant {
  font-size: 0.72rem;
  color: #0284C7;
  font-weight: 600;
  background: rgba(2, 132, 199, 0.08);
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-top: 0.2rem;
}

/* Tier Discount Selector */
.res-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.res-tier-card {
  border: var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
  text-align: center;
  cursor: pointer;
  background: #FFFFFF;
  transition: all var(--transition-fast);
  position: relative;
}

.res-tier-card:hover {
  border-color: var(--res-azure);
  transform: translateY(-2px);
}

.res-tier-card.active {
  border-color: var(--res-navy);
  background: var(--res-azure-subtle);
  box-shadow: 0 0 0 2px var(--res-navy);
}

.res-tier-badge {
  position: absolute;
  top: -8px;
  right: 5px;
  background: var(--res-emerald);
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

.res-tier-qty {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--res-navy);
}

.res-tier-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--res-azure);
  margin: 0.2rem 0;
}

.res-tier-sub {
  font-size: 0.7rem;
  color: var(--res-slate-muted);
}

/* Dedicated Price Box (Directly above Add-to-Cart) */
.res-detail-price-box {
  background: #FFFFFF;
  border: 1px solid var(--res-silver);
  border-left: 4px solid var(--res-azure);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-xs);
}

.res-price-main-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.res-price-val {
  font-family: var(--font-mono);
  font-size: 1.85rem; /* Strict requirement: 1.85rem */
  font-weight: 800;
  color: var(--res-navy);
  letter-spacing: -0.02em;
}

.res-price-old {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--res-slate-muted);
  text-decoration: line-through;
}

.res-price-save-badge {
  background: var(--res-emerald);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.res-price-tax-note {
  font-size: 0.785rem;
  color: var(--res-slate-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Order Confirmation Page (bestellung-bestaetigt.html) */
.res-confirm-container {
  max-width: 820px;
  margin: 2rem auto;
}

.res-confirm-card {
  background: #FFFFFF;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem; /* Strict requirement: 2.5rem 2.75rem desktop */
  box-shadow: var(--shadow-lg);
}

.res-status-hero {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: var(--border-light);
  margin-bottom: 2rem;
}

.res-status-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: var(--res-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--res-emerald-dark);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* 4-Step Logistics Stepper - Precise Geometric Alignment */
.res-stepper {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  margin: 2rem 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.res-stepper::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--res-silver);
  z-index: 1;
}

.res-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0 !important;
  width: 25% !important;
  max-width: 25% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.res-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--res-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--res-slate-muted);
  margin: 0 auto 0.5rem auto;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all var(--transition-fast);
}

.res-step-item.completed .res-step-circle {
  background: var(--res-emerald);
  border-color: var(--res-emerald);
  color: #FFFFFF;
}

.res-step-item.active .res-step-circle {
  background: #FFFFFF;
  border-color: var(--res-azure);
  color: var(--res-azure);
  box-shadow: 0 0 0 4px var(--res-azure-subtle);
}

.res-step-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--res-slate);
}

/* Confirmation Support Buttons (Side-by-side auto-width on desktop) */
.res-confirm-support-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.res-confirm-support-actions .res-btn {
  width: auto; /* Strict desktop requirement: width auto, side by side */
  flex: 0 0 auto;
}

/* Customer Service Form Topic Selector (kundenservice.html) */
.res-topic-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.res-topic-btn {
  flex: 1 1 auto; /* Strict desktop requirement: proportional fill */
  min-height: 44px; /* Strict requirement: 44px min-height */
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--res-navy);
  text-align: center;
  transition: all var(--transition-fast);
}

.res-topic-btn:hover {
  border-color: var(--res-azure);
  background: var(--res-bg-subtle);
}

.res-topic-btn.active {
  background: var(--res-navy);
  color: #FFFFFF;
  border-color: var(--res-navy);
  box-shadow: var(--shadow-sm);
}

/* Diagnostic Quiz Components (Expanded Clinical System) */
.res-quiz-container {
  background: #FFFFFF;
  border: 1px solid rgba(10, 25, 47, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 10px 30px -4px rgba(10, 25, 47, 0.06);
}

@media (max-width: 680px) {
  .res-quiz-container {
    padding: 1.5rem 1.25rem;
  }
}

.res-quiz-step {
  display: none;
}

.res-quiz-step.active {
  display: block;
  animation: almFadeIn 0.3s ease;
}

.res-quiz-progress-track {
  height: 6px;
  background: rgba(10, 25, 47, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.res-quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--res-azure) 0%, var(--res-emerald) 100%);
  transition: width 0.35s ease;
  border-radius: 9999px;
}

.res-quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 1rem;
}

@media (max-width: 768px) {
  .res-quiz-options {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin: 1rem 0 !important;
  }

  .res-quiz-opt-card {
    padding: 0.65rem 0.55rem !important;
    min-height: auto !important;
    height: 100% !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0.35rem !important;
    box-sizing: border-box !important;
  }

  .res-quiz-opt-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  .res-quiz-opt-tag {
    font-size: 0.6rem !important;
    padding: 0.12rem 0.4rem !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }

  .res-quiz-opt-title {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--res-navy) !important;
  }

  .res-quiz-opt-desc {
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
    color: var(--res-slate) !important;
    margin: 0 !important;
  }
}

.res-quiz-opt-card {
  border: 1.5px solid rgba(10, 25, 47, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 115px;
  position: relative;
}

.res-quiz-opt-card:hover {
  border-color: var(--res-azure);
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

.res-quiz-opt-card.selected {
  border-color: var(--res-azure);
  background: rgba(2, 132, 199, 0.05);
  box-shadow: 0 0 0 2px var(--res-azure);
}

.res-quiz-opt-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.res-quiz-opt-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--res-navy);
  line-height: 1.3;
}

.res-quiz-opt-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--res-azure);
  white-space: nowrap;
  flex-shrink: 0;
}

.res-quiz-opt-desc {
  font-size: 0.815rem;
  color: var(--res-slate);
  line-height: 1.45;
}

/* Diagnostic Result Badge & Elements */
.res-quiz-diagnosis-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* DSGVO Cookie Consent Banner (Desktop & Global) */
.res-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 480px;
  width: calc(100% - 3rem);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 25, 47, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.22), 0 4px 12px rgba(10, 25, 47, 0.06);
  padding: 1.35rem 1.45rem;
  z-index: 100040;
  display: none;
  box-sizing: border-box;
}

.res-cookie-banner.active {
  display: block;
  animation: almZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-cookie-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--res-navy);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.res-cookie-text {
  font-size: 0.82rem;
  color: var(--res-slate);
  margin-bottom: 1.15rem;
  line-height: 1.52;
}

.res-cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.res-cookie-actions #res-cookie-accept-all {
  flex: 1 1 auto;
  font-weight: 700;
  padding: 0.55rem 1rem;
}

.res-cookie-actions #res-cookie-essential-only {
  flex: 1 1 auto;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
}

.res-cookie-actions #res-cookie-toggle-settings {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--res-azure);
  background: transparent;
  border: none;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.res-cookie-actions #res-cookie-toggle-settings:hover {
  color: var(--res-azure-hover);
}

/* Floating Cookie Settings Trigger Badge (Persistent Quick Access) */
.res-cookie-floating-badge {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 9995;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(10, 25, 47, 0.12);
  box-shadow: 0 4px 18px rgba(10, 25, 47, 0.08), 0 1px 3px rgba(10, 25, 47, 0.04);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  color: var(--res-navy);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}

.res-cookie-floating-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.22);
  border-color: var(--res-azure);
  color: var(--res-azure);
  background: #FFFFFF;
}

.res-cookie-floating-badge:active {
  transform: translateY(0) scale(0.96);
}

.res-cookie-badge-svg {
  width: 18px;
  height: 18px;
  color: var(--res-azure);
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.res-cookie-floating-badge:hover .res-cookie-badge-svg {
  transform: rotate(15deg);
}

.res-cookie-badge-hint {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
  line-height: 1;
}

/* Hide floating badge while the main banner is actively requesting consent */
.res-cookie-banner.active ~ .res-cookie-floating-badge,
body:has(.res-cookie-banner.active) .res-cookie-floating-badge {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.res-cookie-modal {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: var(--border-light);
}

.res-cookie-modal.active {
  display: block;
}

.res-cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

/* ============================================================
   MODERN INTERACTIVE CLINICAL FOOTER (2026 EDITION)
   Compact 4-Pillar Layout, Interactive Micro-Tools & High-Legibility
   ============================================================ */
.res-footer-trust-strip {
  display: none !important;
}

.res-footer {
  background: #050C18; /* Rich Hanseatic Obsidian Navy */
  color: #FFFFFF;
  padding: 2rem 0 1.25rem;
  margin-top: 3.5rem;
  border-top: 2px solid var(--res-azure);
  position: relative;
  z-index: 10;
}

/* 1. Sleek Integrated Guarantee Ribbon (Ultra-Slim & Interactive) */
.res-footer-guarantee-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.res-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  min-width: 0;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-guarantee-item:hover {
  background: rgba(2, 132, 199, 0.09);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.res-guarantee-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(2, 132, 199, 0.15);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.res-guarantee-item:hover .res-guarantee-icon {
  background: var(--res-azure);
  color: #FFFFFF;
  transform: scale(1.05);
}

.res-guarantee-icon svg {
  width: 16px;
  height: 16px;
}

.res-guarantee-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.res-guarantee-body strong {
  font-size: 0.81rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.res-guarantee-body span {
  font-size: 0.71rem;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2. Main 4-Column Balanced Grid */
.res-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 1.15fr 1.25fr;
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.res-footer-col-contact .res-brand {
  margin-bottom: 0.4rem !important;
}

.res-footer-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.res-footer-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.res-footer-pill-count {
  background: var(--res-azure);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
  margin-left: auto;
}

.res-footer-accordion {
  display: block;
}

.res-footer-accordion > summary {
  list-style: none;
  cursor: default;
}

.res-footer-accordion > summary::-webkit-details-marker {
  display: none;
}

.res-footer-title-left {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.res-acc-arrow {
  display: none;
}

.res-footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.res-footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.res-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #CBD5E1;
}

.res-footer-c-icon {
  width: 16px;
  height: 16px;
  color: var(--res-azure);
  flex-shrink: 0;
  margin-top: 2px;
}

.res-footer-c-text strong {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.75rem;
  display: block;
}

.res-footer-c-sub {
  color: #94A3B8;
  font-size: 0.68rem;
  display: block;
}

.res-footer-contact-actions {
  display: none;
}

.res-footer-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #E2E8F0;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.res-footer-contact-chip:hover {
  background: rgba(2, 132, 199, 0.15);
  border-color: var(--res-azure);
  color: #FFFFFF;
}

.res-footer-contact-chip svg {
  width: 14px;
  height: 14px;
  color: var(--res-azure);
  flex-shrink: 0;
}

.res-footer-address-mini {
  font-size: 0.70rem;
  color: #94A3B8;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.res-title-icon {
  font-size: 0.9rem;
}

.res-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

.res-footer-link {
  color: #94A3B8;
  font-size: 0.79rem;
  line-height: 1.45;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.res-footer-link:hover {
  color: #38BDF8;
  transform: translateX(3px);
}

.res-link-strong {
  color: #E2E8F0 !important;
}

.res-link-highlight {
  color: #FBBF24 !important;
  font-weight: 700;
}

.res-link-interactive {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.res-micro-tag {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  margin-left: auto;
}

/* Contact Details in Col 1 */
.res-footer-contact-box {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.res-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.res-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--res-azure);
  flex-shrink: 0;
  margin-top: 2px;
}

.res-contact-item strong {
  color: #FFFFFF;
  font-weight: 700;
}

.res-contact-item small {
  display: block;
  font-size: 0.70rem;
  color: #94A3B8;
  margin-top: 1px;
}

.res-footer-link-highlight {
  color: #38BDF8;
  text-decoration: none;
  font-weight: 600;
}

.res-footer-link-highlight:hover {
  text-decoration: underline;
}

.res-hwg-notice {
  font-size: 0.715rem;
  color: #94A3B8;
  line-height: 1.4;
  border-left: 2px solid var(--res-azure);
  padding-left: 0.55rem;
  margin-top: 0.55rem;
}

/* Interactive Quick Package Tracker Widget (Col 4) */
.res-footer-tracker-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
}

.res-tracker-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 0.45rem;
}

.res-tracker-header svg {
  width: 13px;
  height: 13px;
  color: var(--res-azure);
}

.res-footer-tracker-form {
  display: flex;
  gap: 0.35rem;
}

.res-footer-tracker-input {
  flex: 1;
  min-width: 0;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  font-size: 0.74rem;
  color: #FFFFFF;
  font-family: var(--font-mono);
  transition: all 0.15s ease;
}

.res-footer-tracker-input::placeholder {
  color: #64748B;
}

.res-footer-tracker-input:focus {
  outline: none;
  border-color: var(--res-azure);
  background: rgba(0, 0, 0, 0.45);
}

.res-footer-tracker-btn {
  background: var(--res-azure);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.res-footer-tracker-btn:hover {
  background: #026aa2;
  transform: translateY(-1px);
}

/* Compact Interactive Seal Badges (Col 4) */
.res-footer-seals-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.res-seal-chip-mini {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  color: #CBD5E1;
  transition: all 0.15s ease;
  min-width: 0;
}

.res-seal-chip-mini:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.res-seal-chip-mini img,
.res-seal-chip-mini svg {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.res-seal-chip-mini span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3. Payment, Shipping & Security Trust Bar (Symmetrical Full-Width) */
.res-footer-trust-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.res-trust-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.res-trust-group--shipping {
  margin-left: auto;
  justify-content: flex-end;
}

.res-trust-group-title {
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  white-space: nowrap;
}

.res-trust-badges {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.res-footer .res-badge-pill,
.res-trust-badges .res-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 0.70rem;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.res-footer .res-badge-pill:hover,
.res-trust-badges .res-badge-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.res-badge-discreet {
  background: rgba(2, 132, 199, 0.15);
  border-color: rgba(2, 132, 199, 0.4);
  color: #38BDF8;
  font-weight: 700;
}

/* 4. Bottom Copyright, Legal Links & Back to Top */
.res-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.73rem;
  color: #64748B;
  padding-top: 0.35rem;
  width: 100%;
}

.res-footer-copyright {
  color: #94A3B8;
  font-size: 0.73rem;
  white-space: nowrap;
}

.res-footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.res-legal-desk,
.res-copy-desk {
  display: inline;
}

.res-legal-mob,
.res-copy-mob {
  display: none;
}

.res-badge-desk-only {
  display: inline-flex;
}

.res-footer-legal-link {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.73rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.res-footer-legal-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.res-sep {
  color: #475569;
}

.res-footer-back-to-top {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #94A3B8;
  font-size: 0.70rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.res-footer-back-to-top svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.res-footer-back-to-top:hover {
  background: var(--res-azure);
  color: #FFFFFF;
  border-color: var(--res-azure);
  transform: translateY(-2px);
}

.res-footer-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Responsive Footer Breakpoints */
@media (max-width: 1100px) {
  .res-footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr 1.15fr;
    gap: 1.25rem;
  }
  .res-footer-guarantee-ribbon {
    gap: 0.65rem;
  }
}

@media (max-width: 960px) {
  .res-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .res-footer-guarantee-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .res-footer-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .res-trust-group--shipping {
    margin-left: 0;
  }
  .res-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .res-footer-legal-links {
    flex-wrap: wrap;
    gap: 0.4rem 0.65rem;
  }
}

@media (max-width: 540px) {
  .res-trust-badges {
    flex-wrap: wrap;
  }
}


@media (max-width: 768px) {
  .res-nav, .res-search-box {
    display: none;
  }

  .res-menu-toggle {
    display: inline-flex;
  }

  .res-mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    z-index: 95;
    padding: 1.5rem;
    overflow-y: auto;
  }

  .res-mobile-nav.active {
    display: block;
  }

  .res-mobile-nav .res-nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid #CBD5E1;
  }

  .res-bento-grid {
    grid-template-columns: 1fr;
  }

  .res-col-3, .res-col-4, .res-col-5, .res-col-6, .res-col-7, .res-col-8, .res-col-12 {
    grid-column: span 1;
  }

  /* Confirmation Page Mobile Padding */
  .res-confirm-card {
    padding: 1.25rem 1rem; /* Strict requirement: 1.25rem 1rem mobile */
    border-radius: var(--radius-md);
  }

  /* Confirmation Support Buttons Mobile: 50% / 50% grid */
  .res-confirm-support-actions {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Strict requirement: 50% / 50% grid */
    gap: 0.5rem;
  }

  .res-confirm-support-actions .res-btn {
    width: 100%;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }

  /* Support Topic Selector Mobile 2-column grid: 2 + 2 + 1 full */
  .res-topic-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .res-topic-btn {
    flex: none;
    width: 100%;
    min-height: 44px; /* Strict requirement: Apple HIG 44px */
  }

  /* Row 3 button 5 full width */
  .res-topic-btn:nth-child(5) {
    grid-column: 1 / -1;
  }

  .res-footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   PREMIUM GERMAN ENGINEERING & INTERACTIVE UI ENHANCEMENTS (2026 EDITION)
   Inspired by Leica, Braun, Rimowa & Medical-Grade Ergonomics
   ========================================================================== */

/* Modern Keyframe Animations */
@keyframes almShineSweep {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(200%) rotate(45deg); }
}

@keyframes almFloatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes almScanLine {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 0.85; }
  85% { opacity: 0.85; }
  100% { top: 100%; opacity: 0; }
}

@keyframes almRadarRing {
  0% { transform: scale(0.9); opacity: 0.9; }
  50% { transform: scale(1.4); opacity: 0.3; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes almPulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(2, 132, 199, 0.25); }
  50% { box-shadow: 0 0 28px rgba(2, 132, 199, 0.55); }
}

/* Gradient Text Utilities */
.res-text-gradient-azure {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.res-text-gradient-emerald {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.res-text-gradient-navy {
  background: linear-gradient(135deg, #0A192F 0%, #1E3A8A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.res-text-gradient-gold {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Section Architectural Backdrop */
.res-hero-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(2, 132, 199, 0.05) 0%, rgba(250, 249, 246, 0.8) 60%, var(--res-bg-page) 100%);
  border-bottom: var(--border-light);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.res-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: 
    linear-gradient(rgba(10, 25, 47, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 25, 47, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.7;
}

/* Quick Navigation Ribbon (Docked Seamlessly in Header) */
.res-quick-nav-bar {
  background: transparent;
  border-top: 1px solid rgba(10, 25, 47, 0.05);
  padding: 0.32rem 0 0.36rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-quick-nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.38rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  white-space: nowrap !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 0.75rem;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .res-quick-nav-inner {
    justify-content: center;
  }
}

.res-quick-nav-inner::-webkit-scrollbar {
  display: none;
}

.res-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--res-slate);
  background: rgba(10, 25, 47, 0.035);
  border: 1px solid rgba(10, 25, 47, 0.07);
  border-radius: var(--radius-pill);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.res-pill-icon {
  width: 13px;
  height: 13px;
  color: var(--res-slate-muted);
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.res-quick-pill:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--res-navy);
  border-color: rgba(2, 132, 199, 0.3);
}

.res-quick-pill:hover .res-pill-icon {
  color: var(--res-azure);
}

.res-quick-pill.active {
  background: var(--res-navy);
  color: #FFFFFF;
  border-color: var(--res-navy);
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.18);
}

.res-quick-pill.active .res-pill-icon {
  color: #FFFFFF;
}

.res-quick-pill.accent-azure.active {
  background: var(--res-azure);
  border-color: var(--res-azure);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

/* Anchor Jump Offset */
[id] {
  scroll-margin-top: 140px;
}

/* Metric Ticker Grid (3 Clinical Figures) */
.res-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--res-silver);
}

.res-metric-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.res-metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--res-azure);
  border-radius: 4px 0 0 4px;
}

.res-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--res-azure);
}

.res-metric-val {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--res-navy);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.res-metric-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--res-slate);
  margin-bottom: 0.2rem;
}

.res-metric-sub {
  font-size: 0.725rem;
  color: var(--res-slate-muted);
  line-height: 1.35;
}

/* Interactive Hero Product Showcase */
.res-hero-showcase {
  background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, #F5F1EA 100%);
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.res-hero-showcase:hover {
  box-shadow: 0 20px 40px -10px rgba(10, 25, 47, 0.16);
  border-color: var(--res-azure);
}

.res-showcase-badge-floating {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(10, 25, 47, 0.92);
  color: #FFFFFF;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-xs);
}

.res-showcase-rating-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--res-navy);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid var(--res-silver);
  box-shadow: var(--shadow-xs);
}

.res-showcase-gallery {
  position: relative;
  margin: 1.5rem 0 1rem;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-showcase-main-img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  transition: transform var(--transition-smooth);
  filter: drop-shadow(0 12px 20px rgba(10, 25, 47, 0.12));
}

.res-hero-showcase:hover .res-showcase-main-img {
  transform: scale(1.05) translateY(-4px);
}

/* Micro-Tab Switcher for Showcase Preview */
.res-showcase-tabs {
  display: inline-flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--res-silver);
  margin-bottom: 1.25rem;
}

.res-showcase-tab-btn {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--res-slate);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  background: transparent;
}

.res-showcase-tab-btn.active {
  background: var(--res-navy);
  color: #FFFFFF;
  box-shadow: var(--shadow-xs);
}

/* Shimmer Buttons */
.res-btn-shimmer {
  position: relative;
  overflow: hidden;
}

.res-btn-shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.res-btn-shimmer:hover::after {
  animation: almShineSweep 1.2s ease-in-out;
}

/* Animated Pressure Scanner Container */
.res-pressure-scanner-box {
  position: relative;
  background: #0B132B;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 16px 32px rgba(11, 19, 43, 0.25);
  border: 1px solid rgba(2, 132, 199, 0.35);
  overflow: hidden;
}

.res-scanner-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #38BDF8 50%, transparent 100%);
  box-shadow: 0 0 12px #38BDF8;
  animation: almScanLine 3.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
  z-index: 5;
}

.res-pressure-hud {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #38BDF8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 6;
}

/* Timeline Cards (Brand Story) */
.res-story-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.res-timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  transition: all var(--transition-fast);
}

.res-timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--res-azure);
  box-shadow: var(--shadow-md);
}

.res-timeline-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--res-azure);
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--res-azure-subtle);
  border-radius: var(--radius-xs);
}

/* Mobile Doctor Switcher (Desktop hidden) */
.res-doctor-switcher-wrap {
  display: none;
}
.res-doctor-item {
  display: block;
}

/* Verified Doctor Authority Card */
.res-doctor-card {
  background: #FFFFFF;
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.res-doctor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--res-azure);
}

.res-doctor-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.res-doctor-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--res-azure);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.res-doctor-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--res-azure);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 0 0 2px #FFFFFF;
}

/* Accordion Smooth Micro-Interactions (Luxury Edition) */
details.res-bento-card summary {
  list-style: none;
  position: relative;
  padding-right: 3.25rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

details.res-bento-card summary::-webkit-details-marker {
  display: none;
}

details.res-bento-card summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #F0F9FF;
  border: 1.5px solid rgba(2, 132, 199, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284C7' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px 16px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  box-sizing: border-box;
}

details.res-bento-card summary:hover::after {
  background-color: #0284C7;
  border-color: #0284C7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E");
  transform: translateY(-50%) scale(1.08) rotate(0deg);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

details.res-bento-card[open] summary::after {
  content: "";
  transform: translateY(-50%) rotate(45deg);
  background-color: #0A192F;
  border-color: #0A192F;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E");
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.25);
}

details.res-bento-card[open] summary:hover::after {
  background-color: #0284C7;
  border-color: #0284C7;
  transform: translateY(-50%) rotate(45deg) scale(1.08);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

details.res-bento-card[open] {
  border-color: var(--res-azure);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

/* FAQ Section Base (Desktop) */
.res-faq-section {
  padding: 4.5rem 0;
  background: #FFFFFF;
}

.res-faq-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.res-faq-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--res-navy);
  margin-bottom: 0.75rem;
}

.res-faq-subtitle {
  color: var(--res-slate);
  font-size: 1.05rem;
  line-height: 1.65;
}

.res-faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.res-faq-item {
  padding: 1.35rem 1.75rem;
  transition: all var(--transition-fast);
}

.res-faq-question {
  font-weight: 700;
  color: var(--res-navy);
  font-size: 1.1rem;
  line-height: 1.45;
}

.res-faq-answer {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--res-slate);
  line-height: 1.75;
}

/* Tarn-Logistik Protocol Visual Stepper */
.res-stepper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.res-step-card {
  background: #FFFFFF;
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
}

.res-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--res-azure);
  box-shadow: var(--shadow-md);
}

.res-step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--res-navy);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #FFFFFF;
}

.res-step-icon {
  font-size: 2.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.res-step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--res-navy);
  margin-bottom: 0.35rem;
}

.res-step-desc {
  font-size: 0.85rem;
  color: var(--res-slate);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .res-metric-grid {
    grid-template-columns: 1fr;
  }
  .res-story-timeline {
    grid-template-columns: 1fr;
  }
  .res-stepper-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}


/* ==========================================================================
   ADVANCED INTERACTIVE WORKBENCH, CURTAIN & SPOTLIGHT SYSTEM (2026 EDITION)
   ========================================================================== */

/* Cursor Spotlight Glow for Bento Cards */
.res-spotlight-card {
  position: relative;
  background: var(--res-bg-surface);
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.res-spotlight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(2, 132, 199, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.res-spotlight-card:hover::before {
  opacity: 1;
}

.res-spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--res-azure);
  box-shadow: 0 16px 32px -4px rgba(10, 25, 47, 0.08), 0 4px 12px -2px rgba(2, 132, 199, 0.06);
}

.res-spotlight-card > *:not(.res-wishlist-toggle) {
  position: relative;
  z-index: 2;
}

/* Biomechanical Interactive Workbench UI */
.res-workbench-panel {
  background: #0B132B;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: #FFFFFF;
  box-shadow: 0 24px 48px rgba(11, 19, 43, 0.35);
  position: relative;
  overflow: hidden;
}

.res-workbench-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.res-angle-slider-wrap {
  margin: 1.5rem 0;
  position: relative;
}

.res-angle-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #DC2626 0%, #F59E0B 40%, #10B981 85%, #0284C7 100%);
  outline: none;
  cursor: pointer;
}

.res-angle-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #0284C7;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.res-angle-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.res-workbench-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: stretch;
}

.res-preset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 84px;
}

.res-preset-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38BDF8;
}

.res-preset-btn.active {
  background: rgba(2, 132, 199, 0.25);
  border-color: #38BDF8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

.res-preset-title {
  font-size: 0.835rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.res-preset-sub {
  font-size: 0.715rem;
  color: #94A3B8;
  line-height: 1.35;
}

/* Biomechanical Telemetry Gauge HUD */
.res-telemetry-hud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: stretch;
}

@media (max-width: 600px) {
  .res-workbench-presets,
  .res-telemetry-hud-grid {
    grid-template-columns: 1fr;
  }
}

.res-telemetry-tile {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 0.95rem 0.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 120px;
}

.res-telemetry-val {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.res-telemetry-label {
  font-size: 0.725rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.res-telemetry-status {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  line-height: 1.25;
}

.res-telemetry-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  margin-bottom: 0.25rem;
  display: inline-block;
  line-height: 1.2;
}

/* Interactive Split Curtain (Discreet Delivery Unboxing Slider) */
.res-curtain-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.12);
  border: 1px solid var(--res-silver);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
  --split-pos: 50%;
  background: #18181B;
}

.res-curtain-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
}

.res-curtain-layer.inside {
  z-index: 1;
}

.res-curtain-layer.outside {
  z-index: 2;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--split-pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--split-pos, 50%)) 0 0);
  will-change: clip-path;
  transition: none;
}

.res-curtain-layer img,
.res-curtain-layer svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  display: block;
}

/* Vertical Razor-Sharp Divider Line */
.res-curtain-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-pos, 50%);
  width: 3px;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
  z-index: 8;
  pointer-events: none;
  will-change: left;
  transition: opacity 0.2s ease;
}

/* Round Grab Handle */
.res-curtain-handle {
  position: absolute;
  top: 50%;
  left: clamp(24px, var(--split-pos, 50%), calc(100% - 24px));
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--res-navy);
  border: 3px solid var(--res-azure);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  z-index: 10;
  cursor: ew-resize;
  pointer-events: auto;
  user-select: none;
  will-change: left, transform;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.res-curtain-container:hover .res-curtain-handle,
.res-curtain-container.is-dragging .res-curtain-handle {
  transform: translate(-50%, -50%) scale(1.15);
  border-color: #38BDF8;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.65), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.res-curtain-badge {
  position: absolute;
  bottom: 1rem;
  z-index: 5;
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.res-curtain-badge.left { left: 1rem; }
.res-curtain-badge.right { right: 1rem; }

/* Quick comparison presets underneath */
.res-curtain-presets-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.res-curtain-preset {
  background: #FFFFFF;
  border: 1px solid var(--res-silver);
  color: var(--res-slate);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.res-curtain-preset:hover {
  border-color: var(--res-azure);
  color: var(--res-azure);
}

.res-curtain-preset.active {
  background: var(--res-navy);
  border-color: var(--res-navy);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.2);
}

.res-curtain-preset-text-desk {
  display: inline;
}

.res-curtain-preset-text-mob {
  display: none;
}

/* Interactive Layer Exploder (X-Ray Decompression Inspector) */
.res-xray-box {
  background: #FFFFFF;
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.res-xray-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.res-xray-nav::-webkit-scrollbar {
  display: none;
}

.res-xray-tab {
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--res-slate);
  background: var(--res-bg-subtle);
  border: 1px solid var(--res-silver);
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.res-xray-tab:hover {
  border-color: var(--res-azure);
  color: var(--res-azure);
}

.res-xray-tab.active {
  background: var(--res-navy);
  color: #FFFFFF;
  border-color: var(--res-navy);
  box-shadow: var(--shadow-xs);
}

.res-xray-content {
  background: var(--res-bg-pedestal);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Cumulative Sit-Time Pressure Calculator */
.res-calc-card {
  background: linear-gradient(135deg, #0A192F 0%, #0F2D54 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
}

.res-calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
  margin: 1.25rem 0;
}

.res-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #38BDF8;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  cursor: pointer;
}

.res-calc-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.res-calc-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E2E8F0;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.res-calc-chip:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38BDF8;
  color: #FFFFFF;
}

.res-calc-chip.active {
  background: #0284C7;
  border-color: #38BDF8;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.res-calc-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.res-calc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #38BDF8);
  border-radius: 4px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.res-wb-status-bar {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  .res-workbench-presets {
    grid-template-columns: 1fr;
  }
  .res-telemetry-hud-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   STRICT RESPONSIVE OVERFLOW & FLUID ADAPTATION SYSTEM (MULTI-DEVICE)
   ========================================================================== */

/* Laptop & Tablet Breakpoint (<= 1100px) */
@media (max-width: 1100px) {
  .res-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    max-width: 100%;
  }

  .res-nav {
    gap: 0.85rem;
  }

  .res-nav-link {
    font-size: 0.825rem;
  }

  .res-search-box {
    width: 190px;
  }

  /* Prevent Hero Overflow */
  .res-hero-section .res-bento-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    width: 100%;
    min-width: 0;
  }

  .res-hero-section .res-col-7,
  .res-hero-section .res-col-5 {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .res-hero-showcase {
    max-width: 540px;
    margin: 0 auto;
  }

  /* Prevent Workbench Overflow */
  .res-workbench-panel .res-bento-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    min-width: 0;
  }

  .res-workbench-panel .res-col-7,
  .res-workbench-panel .res-col-5 {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Prevent Calculator Overflow */
  .res-calc-card .res-bento-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    min-width: 0;
  }

  .res-calc-card .res-col-7,
  .res-calc-card .res-col-5 {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Prevent Story & Expert Overflow */
  .res-bento-grid .res-col-6,
  .res-bento-grid .res-col-7,
  .res-bento-grid .res-col-5 {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* Mobile & Small Tablet Breakpoint (<= 768px) */
@media (max-width: 768px) {
  .res-topbar {
    display: none; /* Hide topbar on mobile to save vertical real estate */
  }

  .res-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  .res-header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 48px !important;
    padding: 0 !important;
  }

  .res-brand {
    font-size: 1.05rem !important;
    gap: 0.35rem !important;
  }

  .res-brand svg {
    width: 20px !important;
    height: 20px !important;
  }

  .res-brand-badge {
    display: none !important;
  }

  .res-nav, .res-search-box {
    display: none !important;
  }

  .res-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  .res-action-btn,
  .res-menu-toggle,
  .res-cart-toggle,
  .res-wishlist-toggle-hdr {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: var(--radius-sm) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .res-action-btn svg,
  .res-menu-toggle svg,
  .res-cart-toggle svg,
  .res-wishlist-toggle-hdr svg {
    width: 17px !important;
    height: 17px !important;
  }

  .res-header-actions .res-badge-count {
    top: -3px !important;
    right: -3px !important;
    min-width: 15px !important;
    height: 15px !important;
    font-size: 0.58rem !important;
    padding: 0 3px !important;
    line-height: 15px !important;
  }

  .res-mobile-nav {
    display: none;
    position: fixed;
    top: 48px !important;
    left: 0;
    right: 0;
    bottom: calc(52px + env(safe-area-inset-bottom, 0px)) !important;
    background: #FFFFFF;
    z-index: 999;
    padding: 1.15rem;
    overflow-y: auto;
  }

  .res-header:has(.res-quick-nav-bar) ~ .res-mobile-nav,
  .res-quick-nav-bar ~ .res-mobile-nav {
    top: 76px !important;
  }

  .res-mobile-nav.active {
    display: block !important;
  }

  .res-quick-nav-bar {
    padding: 0.16rem 0 !important;
    border-top: 1px solid rgba(10, 25, 47, 0.05) !important;
  }

  .res-quick-nav-inner {
    justify-content: flex-start;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 1rem;
  }

  .res-quick-pill {
    padding: 0.26rem 0.55rem;
    font-size: 0.74rem;
    scroll-snap-align: center;
  }

  .res-bento-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .res-col-1, .res-col-2, .res-col-3, .res-col-4, .res-col-5, .res-col-6, .res-col-7, .res-col-8, .res-col-9, .res-col-10, .res-col-11, .res-col-12 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Compact Section Paddings on Mobile */
  section,
  .res-hero-section,
  .res-main {
    padding: 1.85rem 0 1.35rem !important;
  }

  /* Ultra-Compact 3-Column Metric Grid on Mobile (Zero Vertical Waste) */
  .res-metric-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    padding: 0 !important;
    margin-top: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .res-metric-card {
    padding: 0.45rem 0.25rem !important;
    min-height: auto !important;
    text-align: center !important;
    border-radius: var(--radius-xs) !important;
  }

  .res-metric-val {
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
  }

  .res-metric-label {
    font-size: 0.65rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .res-metric-sub {
    display: none !important;
  }

  .res-workbench-panel {
    padding: 1rem 0.85rem;
  }

  .res-calc-card {
    padding: 1rem 0.85rem;
  }

  .res-xray-box {
    padding: 1rem 0.85rem;
  }

  /* Universal 2x2 Ergonomic Compact Grid for Logistics Stepper with Balanced Indentation (Photo 2) */
  .res-stepper-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    padding: 0.65rem 0 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1.5rem !important;
  }

  .res-stepper-grid::-webkit-scrollbar {
    display: none !important;
  }

  .res-step-card {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 1.15rem 0.75rem 0.95rem !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
    box-shadow: 0 1px 3px rgba(10, 25, 47, 0.04) !important;
    text-align: center !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .res-step-card .res-step-num {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    top: -11px !important;
    box-shadow: 0 0 0 3px #FFFFFF !important;
    background: var(--res-navy) !important;
    color: #FFFFFF !important;
  }

  .res-step-icon {
    font-size: 1.55rem !important;
    margin: 0.15rem 0 0.35rem !important;
    line-height: 1 !important;
  }

  .res-step-title,
  .res-step-card h4 {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.25 !important;
    color: var(--res-navy) !important;
  }

  .res-step-desc,
  .res-step-card p {
    font-size: 0.72rem !important;
    line-height: 1.38 !important;
    color: var(--res-slate) !important;
    margin: 0 !important;
  }

  /* Protocol Button with Balanced Touch Paddings */
  #tarnlogistik .res-btn,
  .res-tarn-section .res-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 1.15rem !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--res-navy) !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
    box-shadow: 0 1px 2px rgba(10, 25, 47, 0.03) !important;
  }

  #tarnlogistik .res-btn:active,
  .res-tarn-section .res-btn:active {
    border-color: var(--res-azure) !important;
    color: var(--res-azure) !important;
    background: rgba(2, 132, 199, 0.05) !important;
  }

  /* Universal Vertical Stack for Historical Story Timeline (Full Width, Zero Clipping) */
  .res-story-timeline {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: visible !important;
    gap: 0.65rem !important;
    padding: 0 !important;
    margin-top: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .res-story-timeline::-webkit-scrollbar {
    display: none !important;
  }

  .res-timeline-card,
  .res-story-timeline .res-spotlight-card {
    flex: 1 1 auto !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0.85rem 0.85rem !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  /* Ultra-Compact 3-Column Telemetry & Presets Cockpit */
  .res-telemetry-hud-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    padding: 0.4rem 0 0 !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .res-telemetry-tile {
    padding: 0.5rem 0.2rem !important;
    min-height: auto !important;
    height: auto !important;
    text-align: center !important;
    border-radius: var(--radius-xs) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .res-telemetry-label {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 0.15rem !important;
    width: 100% !important;
  }

  .res-telemetry-val {
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 0.2rem !important;
  }

  .res-telemetry-status {
    font-size: 0.56rem !important;
    padding: 0.12rem 0.35rem !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 95% !important;
  }

  .res-workbench-presets {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    margin-top: 0.65rem !important;
    width: 100% !important;
  }

  .res-preset-btn {
    min-height: auto !important;
    height: auto !important;
    padding: 0.55rem 0.25rem !important;
    text-align: center !important;
    border-radius: var(--radius-xs) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .res-preset-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.15rem !important;
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .res-preset-sub {
    display: none !important;
  }

  /* Compact Touch Action Buttons */
  .res-menu-toggle,
  .res-cart-toggle,
  .res-wishlist-toggle-hdr {
    min-width: 34px !important;
    min-height: 34px !important;
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Prevent iOS Safari Viewport Auto-Zoom on Input Focus */
  .res-input,
  .res-select,
  .res-textarea,
  .res-search-input {
    font-size: 16px !important;
  }

  /* Compact, App-Like Mobile Typography */
  h1 {
    font-size: clamp(1.25rem, 4.2vw, 1.55rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.55rem !important;
  }

  h2 {
    font-size: clamp(1.08rem, 3.4vw, 1.25rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }

  h3 {
    font-size: clamp(0.92rem, 2.8vw, 1.05rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.35rem !important;
  }

  p, .res-lead {
    font-size: 0.82rem !important;
    line-height: 1.48 !important;
    margin-bottom: 0.65rem !important;
  }

  .res-tag {
    font-size: 0.65rem !important;
    padding: 0.18rem 0.45rem !important;
  }

  /* Mobile Navigation Drawer Enhancements with High-Contrast Layout */
  /* Mobile Navigation Drawer: Full-width even distribution, strictly NO OVALS/CAPSULES */
  .res-mobile-nav {
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 36px rgba(10, 25, 47, 0.16);
    border-bottom: 3px solid var(--res-azure);
    padding: 0 !important; /* Zero padding: items fill drawer edge-to-edge evenly */
    background: #FFFFFF !important;
  }

  .res-mobile-nav > div:first-child {
    padding: 0.65rem 1.15rem !important;
    margin-bottom: 0 !important;
    background: #F8FAFC !important;
    border-bottom: 1px solid #CBD5E1 !important;
  }

  .res-mobile-nav .res-search-input {
    border: 1.5px solid #CBD5E1 !important;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat 12px center !important;
    background-size: 16px 16px !important;
    color: var(--res-navy) !important;
    box-shadow: 0 1px 3px rgba(10, 25, 47, 0.04);
    border-radius: 8px !important;
    padding: 0.6rem 0.85rem 0.6rem 2.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
  }

  .res-mobile-nav .res-search-input::placeholder {
    color: #64748B !important;
    font-weight: 500;
  }

  .res-mobile-nav .res-search-input:focus {
    border-color: var(--res-azure) !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18) !important;
  }

  .res-mobile-nav .res-nav-link {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    border: none !important;
    border-bottom: 1px solid #CBD5E1 !important;
    border-radius: 0 !important; /* STRICTLY ZERO OVALS/CAPSULES */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: var(--res-navy) !important;
    background: #FFFFFF !important;
    text-decoration: none !important;
    transition: background var(--transition-fast), color var(--transition-fast) !important;
  }

  .res-mobile-nav .res-nav-link::after {
    content: '›' !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    color: #94A3B8 !important;
    font-weight: 400 !important;
    margin-left: auto !important;
  }

  .res-mobile-nav .res-nav-link:active,
  .res-mobile-nav .res-nav-link:hover {
    background: #F8FAFC !important;
    color: var(--res-azure) !important;
    border-left: 3px solid var(--res-azure) !important;
    padding-left: calc(1.15rem - 3px) !important;
  }

  .res-mobile-cat-pill {
    padding: 0.4rem 0.55rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-align: center;
  }

  /* Mobile Katalog Accordion in Side Menu (Split Link & Expand Button with Crisp Borders) */
  .res-mobile-katalog-accordion {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    border: none !important;
  }

  .res-mobile-katalog-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: none !important;
    border-bottom: 1px solid #CBD5E1 !important;
    border-radius: 0 !important; /* STRICTLY ZERO OVALS */
    background: #FFFFFF !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .res-mobile-katalog-main-link {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--res-navy) !important;
    border-radius: 0 !important; /* NO OVALS */
    text-decoration: none !important;
    border: none !important;
    background: #FFFFFF !important;
    transition: background var(--transition-fast), color var(--transition-fast) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .res-mobile-katalog-main-link:active,
  .res-mobile-katalog-main-link:hover {
    background: #F8FAFC !important;
    color: var(--res-azure) !important;
  }

  .res-mobile-katalog-expand-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: #F8FAFC !important;
    border: none !important;
    border-left: 1px solid #CBD5E1 !important;
    border-radius: 0 !important; /* NO OVALS */
    color: var(--res-navy) !important;
    cursor: pointer !important;
    transition: background var(--transition-fast), color var(--transition-fast) !important;
    padding: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .res-mobile-katalog-expand-btn:active,
  .res-mobile-katalog-expand-btn.active {
    background: rgba(2, 132, 199, 0.12);
    color: var(--res-azure);
  }

  .res-mobile-acc-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .res-mobile-badge-count {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.5rem;
    background: rgba(2, 132, 199, 0.1);
    color: #0369A1;
    border: 1px solid rgba(2, 132, 199, 0.35);
    border-radius: var(--radius-pill);
  }

  .res-mobile-acc-chevron {
    width: 18px;
    height: 18px;
    color: var(--res-navy);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    flex-shrink: 0;
  }

  .res-mobile-katalog-expand-btn.active .res-mobile-acc-chevron,
  .res-mobile-katalog-expand-btn[aria-expanded="true"] .res-mobile-acc-chevron {
    transform: rotate(180deg);
    color: var(--res-azure);
  }

  .res-mobile-accordion-dropdown {
    padding: 0.65rem 0.35rem 0.95rem;
    animation: almSlideDownMobile 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes almSlideDownMobile {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .res-mobile-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
  }

  .res-mobile-cat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.75rem;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--res-navy);
    transition: all var(--transition-fast);
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(10, 25, 47, 0.04);
    min-width: 0;
  }

  .res-mobile-cat-item:active {
    background: rgba(2, 132, 199, 0.08);
    border-color: var(--res-azure);
  }

  .res-cat-icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
  }

  .res-cat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }

  .res-cat-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--res-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .res-cat-sub {
    font-size: 0.64rem;
    color: var(--res-slate-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .res-mobile-cat-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.15rem;
    background: #FFFFFF;
    border: 1px dashed var(--res-azure);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--res-azure);
    text-decoration: none;
    transition: all var(--transition-fast);
  }

  .res-mobile-cat-all-link:active {
    background: rgba(2, 132, 199, 0.08);
  }

  /* Catalog Cockpit Mobile Ergonomics (Photo 3) */
  .res-catalog-hero {
    padding: 1.5rem 1.25rem !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%) !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 2px 8px rgba(10, 25, 47, 0.04) !important;
  }

  .res-catalog-badges .res-badge-pill,
  .res-catalog-hero .res-badge-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.32rem 0.65rem !important;
    border-radius: var(--radius-pill) !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: var(--res-navy) !important;
    letter-spacing: -0.01em !important;
    box-shadow: 0 1px 2px rgba(10, 25, 47, 0.04) !important;
  }

  .res-catalog-title {
    font-size: clamp(1.4rem, 4.5vw, 1.75rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.65rem !important;
    color: var(--res-navy) !important;
  }

  .res-catalog-lead {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: var(--res-slate) !important;
    margin-bottom: 1.35rem !important;
  }

  .res-catalog-usps {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
  }

  .res-usp-card {
    padding: 0.85rem 1rem !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
    box-shadow: 0 1px 2px rgba(10, 25, 47, 0.03) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
  }

  .res-usp-title {
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    color: var(--res-navy) !important;
    margin-bottom: 0.15rem !important;
    line-height: 1.25 !important;
  }

  .res-usp-sub {
    font-size: 0.74rem !important;
    color: var(--res-slate-muted) !important;
    line-height: 1.35 !important;
  }

  .res-usp-icon-box {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(2, 132, 199, 0.08) !important;
    color: var(--res-azure) !important;
    flex-shrink: 0 !important;
  }

  .res-catalog-control-panel {
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
  }

  .res-filter-bar-wrap {
    scroll-behavior: smooth !important;
    scroll-padding: 0 1rem !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .res-filter-bar {
    gap: 0.45rem;
    padding-bottom: 0.2rem;
  }

  .res-filter-chip {
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    min-height: 38px;
    scroll-snap-align: center;
  }

  .res-catalog-subbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    margin-top: 0.65rem !important;
    padding: 0.65rem 0.75rem !important;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(10, 25, 47, 0.03) !important;
  }

  .res-catalog-count-pill {
    width: 100% !important;
    display: block !important;
  }

  .res-filter-status-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  .res-filter-count-wrap {
    font-size: 0.78rem !important;
  }

  .res-active-filter-chip {
    padding: 0.22rem 0.5rem 0.22rem 0.6rem !important;
    font-size: 0.72rem !important;
    max-width: 62% !important;
  }

  .res-filter-chip-name {
    max-width: 110px !important;
  }

  .res-catalog-sort-box {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    border-top: 1px solid #E2E8F0 !important;
    padding-top: 0.5rem !important;
    margin-top: 0.1rem !important;
  }

  .res-sort-label {
    font-size: 0.76rem !important;
    flex-shrink: 0 !important;
  }

  .res-sort-select-wrapper {
    flex: 1 !important;
    width: 100% !important;
  }

  .res-sort-select {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 0.78rem !important;
    padding: 0.4rem 1.85rem 0.4rem 0.65rem !important;
    height: 35px !important;
    border-radius: 7px !important;
    background: #F8FAFC !important;
  }

  .res-sort-chevron {
    right: 0.55rem !important;
  }

  /* Product Detail Page Mobile Adaptation */
  .res-detail-gallery-clean {
    gap: 0.65rem;
  }

  .res-detail-main-img-box {
    max-height: 380px;
    padding: 0.45rem;
  }

  .res-detail-trust-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .res-trust-pill-mini {
    padding: 0.5rem 0.6rem;
    font-size: 0.73rem;
  }

  .res-detail-buybox {
    padding: 1.15rem 0.95rem !important;
    border-radius: var(--radius-md);
  }

  .res-variant-selector-wrap {
    margin-bottom: 1rem;
  }

  .res-variant-chips-grid {
    gap: 0.4rem;
  }

  .res-variant-chip {
    padding: 0.45rem 0.65rem;
    font-size: 0.76rem;
    min-height: 38px;
  }

  .res-tier-grid {
    gap: 0.4rem;
  }

  .res-tier-card {
    padding: 0.65rem 0.3rem;
  }

  .res-tier-qty {
    font-size: 0.78rem;
  }

  .res-tier-price {
    font-size: 0.92rem;
  }

  .res-tier-sub {
    font-size: 0.65rem;
  }

  .res-detail-price-box {
    padding: 0.85rem 1rem;
  }

  .res-price-val {
    font-size: 1.55rem;
  }

  .res-detail-tabs-wrap {
    margin-top: 1.35rem;
    border-radius: 12px;
  }

  .res-detail-tab-btn {
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
  }

  .res-detail-tab-content {
    padding: 1.15rem 0.9rem;
  }

  .res-detail-tab-pane table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Cart Drawer Mobile Layout (Super Smooth Touch Scroll & Compact Footer) */
  .res-cart-panel {
    max-width: 100%;
    width: 100%;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    touch-action: pan-y;
  }

  .res-cart-header {
    flex-shrink: 0 !important;
    padding: 0.85rem 1rem !important;
  }

  .res-free-shipping-box {
    flex-shrink: 0 !important;
    padding: 0.55rem 1rem !important;
  }

  .res-free-shipping-text {
    font-size: 0.76rem !important;
    margin-bottom: 0.25rem !important;
  }

  .res-cart-items {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    padding: 0.75rem 0.9rem 1.25rem !important;
    gap: 0.6rem !important;
    scroll-behavior: smooth;
  }

  .res-cart-item {
    padding: 0.6rem 0.65rem !important;
    gap: 0.65rem !important;
    touch-action: pan-y !important;
    border-radius: 10px !important;
  }

  .res-cart-item-img {
    width: 56px !important;
    height: 56px !important;
  }

  .res-cart-item-name {
    font-size: 0.82rem !important;
  }

  .res-cart-item-sku {
    font-size: 0.66rem !important;
  }

  .res-cart-item-price {
    font-size: 0.88rem !important;
  }

  .res-cart-footer {
    flex-shrink: 0 !important;
    padding: 0.7rem 0.95rem 0.85rem !important;
    background: #FAF9F6 !important;
    border-top: 1px solid rgba(10, 25, 47, 0.1) !important;
    box-shadow: 0 -4px 16px rgba(10, 25, 47, 0.05) !important;
    touch-action: pan-y !important;
  }

  .res-promo-box {
    margin-bottom: 0.45rem !important;
    gap: 0.35rem !important;
  }

  .res-promo-input {
    min-height: 32px !important;
    max-height: 32px !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  #res-apply-promo-btn {
    min-height: 32px !important;
    max-height: 32px !important;
    font-size: 0.72rem !important;
    padding: 0.25rem 0.65rem !important;
  }

  .res-cart-totals {
    margin-bottom: 0.45rem !important;
  }

  .res-total-row {
    font-size: 0.78rem !important;
    margin-bottom: 0.18rem !important;
  }

  .res-total-row.grand-total {
    font-size: 1.02rem !important;
    padding-top: 0.35rem !important;
    margin-top: 0.35rem !important;
  }

  #res-drawer-tax {
    font-size: 0.68rem !important;
  }

  #res-drawer-checkout-btn {
    font-size: 0.92rem !important;
    min-height: 42px !important;
    padding: 0.6rem 0.9rem !important;
    margin-bottom: 0.35rem !important;
  }

  .res-cart-footer .res-btn-outline {
    min-height: 30px !important;
    padding: 0.3rem 0.6rem !important;
    font-size: 0.74rem !important;
  }

  /* Full Cart Page Mobile */
  .res-qty-selector {
    min-height: 36px;
  }

  .res-qty-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .res-qty-val {
    width: 36px;
    font-size: 0.9rem;
  }

  /* Checkout Page Mobile */
  .res-form-group {
    margin-bottom: 1rem;
  }

  .res-label {
    font-size: 0.825rem;
  }

  /* Discreet Delivery Curtain Slider Mobile */
  .res-curtain-container {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
  }

  .res-curtain-handle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .res-curtain-badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.55rem;
    bottom: 0.5rem;
  }

  .res-curtain-badge.left { left: 0.5rem; }
  .res-curtain-badge.right { right: 0.5rem; }

  .res-curtain-preset {
    padding: 0.35rem 0.75rem;
    font-size: 0.74rem;
  }

  /* System-Pakete Mobile */
  .res-bundle-img-wrap {
    aspect-ratio: 4 / 3;
    min-height: 220px;
    margin-bottom: 0.85rem;
    padding: 0;
  }

  /* Wishlist Toolbar Mobile */
  .res-wishlist-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .res-btn-clear-wishlist {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 1rem;
  }
}

/* Extra-Compact Smartphone Screen Optimization (<= 480px) */
@media (max-width: 480px) {
  html {
    font-size: 14px !important;
  }

  .res-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .res-main,
  section,
  .res-hero-section {
    padding: 1.35rem 0 1rem !important;
  }

  /* Ultra-Compact Headlines & Typography */
  h1 {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.45rem !important;
  }

  h2 {
    font-size: 1.08rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.4rem !important;
  }

  h3 {
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.3rem !important;
  }

  p, .res-lead {
    font-size: 0.78rem !important;
    line-height: 1.42 !important;
    margin-bottom: 0.5rem !important;
  }

  .res-bento-card {
    padding: 0.85rem 0.7rem !important;
    border-radius: 10px !important;
  }

  /* 2-Column Mobile Product Grid with Proportional Touch Cards */
  .res-product-grid:not(.res-product-slider-mobile) {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.55rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .res-product-card {
    padding: 0.55rem !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    border: 1px solid #CBD5E1 !important;
    box-shadow: 0 1px 3px rgba(10, 25, 47, 0.04) !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
  }

  .res-product-img-wrap {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    max-height: none !important;
    padding: 0 !important;
    margin-bottom: 0.45rem !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    border: 1px solid rgba(10, 25, 47, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .res-product-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    padding: 0 !important;
  }

  .res-product-card .res-wishlist-toggle,
  .res-spotlight-card > .res-wishlist-toggle {
    top: 0.45rem !important;
    right: 0.45rem !important;
    width: 30px !important;
    height: 30px !important;
  }

  .res-product-card .res-wishlist-toggle svg {
    width: 15px !important;
    height: 15px !important;
  }

  .res-stock-pill {
    font-size: 0.54rem !important;
    padding: 0.1rem 0.32rem !important;
    bottom: 0.25rem !important;
    left: 0.25rem !important;
  }

  .res-product-meta-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15rem !important;
    margin-bottom: 0.2rem !important;
    min-height: auto !important;
  }

  .res-sku-badge {
    font-size: 0.58rem !important;
    padding: 0.08rem 0.3rem !important;
  }

  .res-cat-badge {
    font-size: 0.6rem !important;
    color: var(--res-slate-muted) !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .res-product-title {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.5em !important;
    max-height: 2.5em !important;
  }

  .res-product-desc {
    display: none !important; /* Conceal description in 2-column mobile tiles for clean alignment */
  }

  .res-product-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.35rem !important;
    padding-top: 0.45rem !important;
    border-top: 1px solid var(--res-silver-light) !important;
    margin-top: auto !important;
    width: 100% !important;
  }

  .res-product-price-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 0.35rem !important;
    width: 100% !important;
    margin-bottom: 0.15rem !important;
  }

  .res-product-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: var(--res-navy) !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
  }

  .res-product-vat-tag {
    font-size: 0.62rem !important;
    color: var(--res-slate-muted) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  .res-product-price-sub {
    display: none !important; /* Eliminate text collision, stock status is already visible in top pill */
  }

  .res-product-footer .res-btn {
    width: 100% !important;
    padding: 0.46rem 0.55rem !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    min-height: 34px !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Interactive Quiz Mobile Polish */
  .res-quiz-container {
    padding: 1rem 0.75rem;
    border-radius: 12px;
  }

  .res-quiz-opt-card {
    padding: 0.85rem;
    min-height: 85px;
  }

  /* Biomechanics Workbench Mobile Polish */
  .res-workbench-panel {
    padding: 0.75rem 0.6rem !important;
    border-radius: 12px;
  }

  .res-telemetry-tile {
    padding: 0.45rem 0.2rem !important;
    min-height: auto !important;
  }

  /* Footer Extra-Compact & Intuitive Accordion Mobile Layout */
  .res-footer {
    padding: 1rem 0 0.65rem !important;
    margin-top: 1.25rem !important;
  }

  /* Guarantee Ribbon: Ultra-Compact 2x2 micro-grid */
  .res-footer-guarantee-ribbon {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.25rem !important;
    padding: 0.25rem 0 0.5rem !important;
    margin-bottom: 0.65rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .res-guarantee-item {
    padding: 0.25rem 0.35rem !important;
    gap: 0.3rem !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 6px !important;
  }

  .res-guarantee-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  .res-guarantee-item strong {
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
    display: block !important;
  }

  .res-guarantee-item span {
    font-size: 0.58rem !important;
    line-height: 1.1 !important;
    display: block !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  /* Footer Grid on Mobile: 1-Column Stack of Compact Modules */
  .res-footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    margin-bottom: 0.75rem !important;
  }

  .res-footer-col {
    width: 100% !important;
  }

  /* Col 1 Contact Row */
  .res-footer-brand-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.35rem !important;
  }

  .res-footer-contact-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    margin: 0.45rem 0 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 8px !important;
    padding: 0.6rem 0.65rem !important;
  }

  .res-footer-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
    color: #CBD5E1 !important;
  }

  .res-footer-c-icon {
    width: 14px !important;
    height: 14px !important;
    color: var(--res-azure) !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }

  .res-footer-c-text strong {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.70rem !important;
    display: block !important;
  }

  .res-footer-c-sub {
    color: #94A3B8 !important;
    font-size: 0.62rem !important;
    display: block !important;
  }

  .res-footer-contact-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.35rem !important;
    margin: 0.35rem 0 !important;
  }

  .res-footer-contact-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    padding: 0.35rem 0.45rem !important;
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
  }

  .res-hwg-notice {
    font-size: 0.60rem !important;
    line-height: 1.25 !important;
    margin-top: 0.2rem !important;
    margin-bottom: 0.4rem !important;
    opacity: 0.6 !important;
    text-align: center !important;
  }

  /* Mobile Collapsible Accordions for Sortiment, Klinik & Service */
  .res-footer-accordion {
    width: 100% !important;
  }

  .res-footer-accordion > summary.res-footer-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.5rem 0.65rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 0.78rem !important;
    margin-bottom: 0.35rem !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border-bottom: none !important;
  }

  .res-footer-title-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }

  .res-acc-arrow {
    display: inline-block !important;
    font-size: 0.75rem !important;
    transition: transform 0.2s ease !important;
    color: var(--res-azure) !important;
  }

  details[open] > summary.res-footer-title .res-acc-arrow {
    transform: rotate(180deg) !important;
  }

  details[open] > summary.res-footer-title {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background: rgba(2, 132, 199, 0.12) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    margin-bottom: 0 !important;
  }

  .res-footer-accordion .res-footer-links,
  .res-footer-accordion .res-footer-accordion-body {
    padding: 0.5rem 0.65rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: none !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    margin-bottom: 0.4rem !important;
  }

  .res-title-icon {
    font-size: 0.85rem !important;
  }

  .res-footer-pill-count {
    font-size: 0.55rem !important;
    padding: 0.08rem 0.3rem !important;
  }

  .res-footer-links {
    gap: 0.25rem !important;
  }

  .res-footer-link {
    font-size: 0.70rem !important;
    line-height: 1.25 !important;
    padding: 0.1rem 0 !important;
  }

  .res-micro-tag {
    font-size: 0.50rem !important;
    padding: 0.05rem 0.2rem !important;
    margin-left: 0.2rem !important;
  }

  .res-footer-tracker-box {
    padding: 0.5rem 0.55rem !important;
    margin-bottom: 0.5rem !important;
    border-radius: 6px !important;
  }

  .res-tracker-header {
    font-size: 0.70rem !important;
    margin-bottom: 0.3rem !important;
  }

  .res-footer-tracker-input {
    font-size: 0.70rem !important;
    padding: 0.35rem 0.5rem !important;
  }

  .res-footer-tracker-btn {
    font-size: 0.70rem !important;
    padding: 0.35rem 0.65rem !important;
  }

  .res-footer-seals-mini {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.25rem !important;
    margin-top: 0.5rem !important;
  }

  .res-seal-chip-mini {
    padding: 0.25rem 0.35rem !important;
    font-size: 0.64rem !important;
    justify-content: center !important;
  }

  /* Mobile Streamlined Trust Row: Remove redundant titles and secondary badges */
  .res-trust-group-title {
    display: none !important;
  }

  .res-badge-desk-only {
    display: none !important;
  }

  .res-footer-trust-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.25rem !important;
    padding: 0.35rem 0 !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .res-trust-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin: 0 !important;
  }

  .res-trust-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.2rem !important;
  }

  .res-footer .res-badge-pill,
  .res-trust-badges .res-badge-pill {
    font-size: 0.62rem !important;
    padding: 0.12rem 0.32rem !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  /* Remove bulky Back-to-Top button on mobile to save vertical space */
  .res-footer-back-to-top {
    display: none !important;
  }

  /* Compact Footer Bottom & 1-Line Legal Links */
  .res-legal-desk,
  .res-copy-desk {
    display: none !important;
  }

  .res-legal-mob,
  .res-copy-mob {
    display: inline !important;
  }

  .res-footer-bottom {
    padding-top: 0.35rem !important;
    margin-top: 0.25rem !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 0.25rem !important;
  }

  .res-footer-copyright {
    font-size: 0.64rem !important;
    color: #94A3B8 !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .res-footer-legal-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.2rem 0.4rem !important;
    margin: 0 !important;
  }

  .res-footer-legal-link {
    font-size: 0.64rem !important;
    color: #94A3B8 !important;
    white-space: nowrap !important;
  }

  .res-sep {
    font-size: 0.55rem !important;
    color: #475569 !important;
  }

  /* FAQ Section Mobile Proportional Typography & Spacing Adaptation */
  .res-faq-section {
    padding: 2.25rem 0 !important;
  }

  .res-faq-header {
    margin: 0 auto 1.5rem !important;
    padding: 0 0.5rem !important;
  }

  .res-faq-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.25 !important;
  }

  .res-faq-subtitle {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
    color: var(--res-slate) !important;
    padding: 0 0.25rem !important;
  }

  .res-faq-list {
    gap: 0.5rem !important;
  }

  .res-faq-item {
    padding: 0.95rem 1rem !important;
    border-radius: 12px !important;
  }

  .res-faq-question {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--res-navy) !important;
    padding-right: 2.75rem !important;
  }

  details.res-bento-card summary::after,
  details.res-bento-card.res-faq-item summary::after {
    width: 32px !important;
    height: 32px !important;
    background-size: 14px 14px !important;
    background-position: center center !important;
    right: 0 !important;
  }

  .res-faq-answer {
    margin-top: 0.55rem !important;
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
    color: var(--res-slate) !important;
  }

  /* Order Confirmation Mobile Receipt & Table Zero-Overflow Architecture */
  .res-confirm-receipt-box {
    padding: 0.85rem 0.65rem !important;
    margin: 1.25rem 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .res-confirm-table {
    table-layout: fixed !important;
    width: 100% !important;
  }

  .res-confirm-table th.res-col-qty,
  .res-confirm-table td.res-col-qty {
    width: 42px !important;
    padding: 0.5rem 0.15rem !important;
  }

  .res-confirm-table th.res-col-price,
  .res-confirm-table td.res-col-price {
    width: 74px !important;
    padding: 0.5rem 0.2rem !important;
    font-size: 0.84rem !important;
  }

  .res-confirm-table th.res-col-art,
  .res-confirm-table td.res-col-art {
    padding: 0.5rem 0.25rem !important;
  }

  .res-confirm-thumb {
    width: 38px !important;
    height: 38px !important;
  }

  .res-confirm-name {
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
  }
}

/* ==========================================================================
   STRICT MOBILE VIEWPORT CONFINEMENT & ZERO-OVERFLOW SAFEGUARDS
   Prevents any element from stretching beyond screen boundaries (320px–480px)
   ========================================================================== */
.res-journal-lead-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.res-logistics-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}

.res-logistics-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  border-top: 1px solid var(--res-silver-light);
  padding-top: 1rem;
  width: 100%;
}

.res-tracking-input-group {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.res-showcase-buy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--res-silver);
  padding-top: 0.85rem;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.res-showcase-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--res-navy);
  line-height: 1.1;
}

.res-showcase-tax-sub {
  font-size: 0.74rem;
  color: var(--res-slate-muted);
  margin-top: 0.15rem;
}

.res-showcase-cart-btn {
  padding: 0.65rem 1.15rem !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  /* Strict zero horizontal scroll without breaking sticky positioning */
  html, body {
    max-width: 100% !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
  }

  .res-main, .res-hero-section, section, footer {
    max-width: 100% !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
  }

  /* Fixed/Sticky Mobile Header During Scroll */
  .res-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(10, 25, 47, 0.08) !important;
    box-shadow: 0 4px 16px rgba(10, 25, 47, 0.06) !important;
  }

  .res-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Journal Lead Card Mobile */
  .res-journal-lead-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  /* Hero Showcase Card Strict Mobile Dimensions */
  .res-hero-showcase {
    padding: 1.15rem 0.9rem !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .res-showcase-gallery {
    margin: 0.75rem 0 0.5rem !important;
    min-height: 180px !important;
    max-height: 220px !important;
    width: 100% !important;
  }

  .res-showcase-main-img {
    max-height: 210px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .res-showcase-tabs {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.25rem !important;
    padding: 2px !important;
    margin-bottom: 0.75rem !important;
    box-sizing: border-box !important;
  }

  .res-showcase-tab-btn {
    flex: 1 1 0 !important;
    padding: 0.35rem 0.35rem !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  /* Stepper Mobile - Precise Vertical & Horizontal Centering */
  .res-stepper {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    margin: 1.25rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .res-stepper::before {
    top: 13px !important;
    left: 12.5% !important;
    right: 12.5% !important;
    height: 2px !important;
  }

  .res-step-item {
    flex: 1 1 0 !important;
    width: 25% !important;
    max-width: 25% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .res-step-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.72rem !important;
    margin: 0 auto 0.35rem auto !important;
    flex-shrink: 0 !important;
  }

  .res-step-title {
    font-size: 0.65rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
    padding: 0 2px !important;
  }

  /* Compact Cart Drawer Promo Box on Mobile */
  .res-promo-box {
    gap: 0.35rem !important;
    margin-bottom: 0.65rem !important;
  }

  .res-promo-input {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.78rem !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  #res-apply-promo-btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.76rem !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  /* Checkout Mobile Adaptation: Order Summary Displayed First with Product Thumbnails */
  .res-checkout-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .res-checkout-grid > .res-checkout-summary-col {
    order: -1 !important;
    margin-bottom: 1.25rem !important;
  }

  .res-checkout-grid > .res-checkout-form-col {
    order: 1 !important;
  }

  .res-checkout-item-card {
    gap: 0.65rem !important;
    padding: 0.55rem 0 !important;
  }

  .res-checkout-item-thumb {
    width: 46px !important;
    height: 46px !important;
  }

  /* Order Confirmation Mobile Layout */
  .res-confirm-action-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-bottom: 1.75rem !important;
    padding-bottom: 1.25rem !important;
  }

  .res-confirm-action-bar .res-btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
  }

  .res-confirm-support-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
  }

  .res-confirm-support-actions .res-btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
  }
}

@media (max-width: 540px) {
  .res-logistics-preview-grid,
  .res-logistics-features-grid {
    grid-template-columns: 1fr !important;
  }

  .res-tracking-input-group {
    flex-direction: column !important;
  }

  .res-tracking-input-group .res-btn {
    width: 100% !important;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .res-showcase-buy-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }

  .res-showcase-price-block {
    text-align: center !important;
  }

  .res-showcase-cart-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.75rem !important;
  }
}

/* ==========================================================================
   MOBILE INTERACTIVE SWIPE SLIDERS & LENGTH-OPTIMIZERS (2026 EDITION)
   Transforms tall vertical stacks into silky smooth touch carousels
   ========================================================================== */

/* Product Vitrine Sliders Layout & Spacing */
.res-sortiment-lead-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.res-slider-subhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.res-slider-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--res-navy);
  margin: 0;
}

.res-slider-first {
  margin-bottom: 2.25rem;
}

.res-slider-subhead-second {
  border-top: 1px solid var(--res-silver-light);
  padding-top: 1.75rem;
}

/* Swipe hint badge & mobile switchers hidden on desktop */
.res-mobile-swipe-hint,
.res-mobile-switcher-bar {
  display: none;
}

@media (max-width: 768px) {
  /* ==========================================================================
     GLOBAL HARMONIOUS MOBILE TYPOGRAPHY (PREVENTS OVERSIZED HEADINGS & TEXT WALLS)
     ========================================================================== */
  h1, h1[style], .res-main h1, .res-container h1 {
    font-size: clamp(1.35rem, 5.2vw, 1.55rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.65rem !important;
  }

  h2, h2[style], .res-main h2, .res-container h2 {
    font-size: clamp(1.15rem, 4.4vw, 1.3rem) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 0.5rem !important;
  }

  h3, h3[style], .res-main h3, .res-container h3 {
    font-size: clamp(0.98rem, 3.8vw, 1.12rem) !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
  }

  h4, h4[style], .res-main h4, .res-container h4 {
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
  }

  /* Lead paragraphs under page titles */
  .res-main p[style*="1.05rem"],
  .res-main p[style*="1.1rem"],
  .res-main p[style*="1rem"],
  .res-container > div > p[style*="font-size: 1."] {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  #sortiment {
    padding: 2rem 0 !important;
  }

  .res-sortiment-lead-head {
    margin-bottom: 1.15rem !important;
  }

  .res-slider-subhead {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    margin-bottom: 0.45rem !important;
  }

  .res-slider-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--res-navy) !important;
    margin: 0 !important;
  }

  .res-slider-first {
    margin-bottom: 0.65rem !important;
  }

  .res-slider-subhead-second {
    border-top: 1px solid var(--res-silver-light) !important;
    padding-top: 0.75rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.45rem !important;
  }

  .res-mobile-swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem !important;
    font-weight: 700;
    color: var(--res-azure);
    background: var(--res-azure-subtle);
    padding: 0.18rem 0.5rem !important;
    border-radius: var(--radius-pill);
    margin-bottom: 0.2rem !important;
    border: 1px solid rgba(2, 132, 199, 0.2);
    user-select: none;
    line-height: 1.2 !important;
  }

  /* Product Vitrine Mobile Slider: 2 Sliders with 4 Products Each (2 visible per Viewport, horizontal snap) */
  .res-product-slider-mobile {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.65rem !important;
    padding: 0.25rem 0.15rem 0.85rem 0.15rem !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
  }

  .res-product-slider-mobile::-webkit-scrollbar {
    height: 4px !important;
    display: block !important;
  }

  .res-product-slider-mobile::-webkit-scrollbar-track {
    background: #E2E8F0 !important;
    border-radius: 4px !important;
  }

  .res-product-slider-mobile::-webkit-scrollbar-thumb {
    background: var(--res-azure) !important;
    border-radius: 4px !important;
  }

  .res-product-slider-mobile .res-product-card {
    flex: 0 0 calc(50% - 0.35rem) !important;
    min-width: calc(50% - 0.35rem) !important;
    max-width: calc(50% - 0.35rem) !important;
    width: calc(50% - 0.35rem) !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
    padding: 0.55rem !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
  }

  .res-product-slider-mobile .res-product-img-wrap {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: 140px !important;
    padding: 0 !important;
    margin-bottom: 0.35rem !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .res-product-slider-mobile .res-product-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .res-product-slider-mobile .res-wishlist-toggle {
    width: 24px !important;
    height: 24px !important;
    top: 0.2rem !important;
    right: 0.2rem !important;
    padding: 2px !important;
  }

  .res-product-slider-mobile .res-wishlist-toggle svg {
    width: 13px !important;
    height: 13px !important;
  }

  .res-product-slider-mobile .res-stock-pill {
    font-size: 0.55rem !important;
    padding: 0.1rem 0.35rem !important;
    bottom: 0.2rem !important;
    left: 0.2rem !important;
  }

  .res-product-slider-mobile .res-stock-pill .res-pulse-dot {
    width: 4px !important;
    height: 4px !important;
  }

  .res-product-slider-mobile .res-product-meta-row {
    gap: 0.2rem !important;
    margin-bottom: 0.2rem !important;
  }

  .res-product-slider-mobile .res-sku-badge {
    font-size: 0.55rem !important;
    padding: 0.08rem 0.25rem !important;
  }

  .res-product-slider-mobile .res-cat-badge {
    font-size: 0.58rem !important;
  }

  .res-product-slider-mobile .res-product-title {
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    height: 2.45em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 0.2rem !important;
  }

  .res-product-slider-mobile .res-product-desc {
    font-size: 0.64rem !important;
    line-height: 1.3 !important;
    color: var(--res-slate) !important;
    height: 2.65em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 0.35rem !important;
  }

  .res-product-slider-mobile .res-product-footer {
    border-top: 1px solid var(--res-silver-light) !important;
    padding-top: 0.3rem !important;
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
  }

  .res-product-slider-mobile .res-product-price-box {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: baseline !important;
    gap: 0.35rem !important;
  }

  .res-product-slider-mobile .res-product-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    color: var(--res-navy) !important;
  }

  .res-product-slider-mobile .res-product-price-sub {
    display: none !important;
  }

  .res-product-slider-mobile .res-product-footer .res-btn {
    width: 100% !important;
    padding: 0.38rem 0.45rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    min-height: 30px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Doctor Profiles Interactive Switcher (Replaces slider on mobile) */
  .res-doctor-switcher-wrap {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
  }

  .res-doctor-switcher {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    background: var(--res-bg-subtle) !important;
    border: 1px solid var(--res-silver) !important;
    border-radius: var(--radius-pill) !important;
    padding: 0.2rem !important;
    gap: 0.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .res-doctor-switch-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    padding: 0.45rem 0.3rem !important;
    border-radius: var(--radius-pill) !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: var(--res-slate) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
  }

  .res-doctor-switch-btn.active {
    background: var(--res-navy) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(10, 25, 47, 0.2) !important;
  }

  .res-doc-switch-avatar {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .res-doc-switch-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .res-doc-switch-badge {
    font-size: 0.58rem !important;
    padding: 0.05rem 0.3rem !important;
    border-radius: var(--radius-pill) !important;
    background: rgba(2, 132, 199, 0.15) !important;
    color: var(--res-azure) !important;
  }

  .res-doctor-switch-btn.active .res-doc-switch-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
  }

  .res-doctor-view-grid {
    display: block !important;
    width: 100% !important;
  }

  .res-doctor-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .res-doctor-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1rem 0.85rem !important;
    border-radius: 12px !important;
  }

  /* ==========================================================================
     MOBILE INTERACTIVE SEGMENTED SWITCHERS (REPLACING SWIPE SLIDERS)
     ========================================================================== */
  .res-mobile-switcher-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: stretch !important;
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 3px !important;
    gap: 3px !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .res-mobile-switcher-bar::-webkit-scrollbar {
    display: none !important;
  }

  .res-mobile-switch-btn {
    flex: 1 1 0 !important;
    min-width: fit-content !important;
    padding: 0.46rem 0.28rem !important;
    border: none !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--res-slate) !important;
    font-size: clamp(0.66rem, 2.5vw, 0.74rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    cursor: pointer !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    box-sizing: border-box !important;
  }

  .res-mobile-switch-btn span {
    pointer-events: none !important;
  }

  .res-mobile-switch-btn.active {
    background: #0A192F !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(10, 25, 47, 0.22) !important;
  }

  /* When buttons cannot fit in 1 line on very narrow screens (e.g. <= 340px), wrap into 2x2 grid */
  @media (max-width: 350px) {
    .res-mobile-switch-btn {
      flex: 1 1 calc(50% - 4px) !important;
      min-width: calc(50% - 4px) !important;
      padding: 0.44rem 0.25rem !important;
      font-size: 0.68rem !important;
    }
  }

  /* Switched Container: only active card shown on mobile, taking full 100% width with zero clipping */
  .res-switched-container {
    display: block !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
    padding: 0 !important;
  }

  .res-switched-container > .res-switched-item {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    animation: almFadeIn 0.25s ease-out;
  }

  .res-switched-container > .res-switched-item.active {
    display: block !important;
    width: 100% !important;
  }

  .res-switched-container > .res-switched-item > .res-bento-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* Manufaktur & Material Pillars: Clean vertical stack on mobile without horizontal clipping */
  .res-manufaktur-slider-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    width: 100% !important;
    padding: 0 !important;
    overflow-x: visible !important;
  }

  .res-manufaktur-slider-mobile > div,
  .res-manufaktur-slider-mobile .res-col-6,
  .res-manufaktur-slider-mobile .res-col-3,
  .res-manufaktur-slider-mobile .res-col-5,
  .res-manufaktur-slider-mobile .res-col-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: auto !important;
    box-sizing: border-box !important;
  }

  /* Collapsible Details to Prevent Overly Long Mobile Pages */
  .res-mobile-collapse {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    margin: 0.85rem 0 !important;
    transition: all 0.25s ease !important;
  }

  .res-mobile-collapse[open] {
    background: #FFFFFF !important;
    border-color: var(--res-azure) !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12) !important;
  }

  .res-mobile-collapse summary {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: var(--res-navy) !important;
    cursor: pointer !important;
    user-select: none !important;
    list-style: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  .res-mobile-collapse summary::-webkit-details-marker {
    display: none !important;
  }

  .res-mobile-collapse summary::after {
    content: "+" !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(2, 132, 199, 0.12) !important;
    border: 1px solid rgba(2, 132, 199, 0.25) !important;
    color: var(--res-azure) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease !important;
    flex-shrink: 0 !important;
  }

  .res-mobile-collapse[open] summary::after {
    transform: rotate(45deg) !important;
    background: var(--res-navy) !important;
    border-color: var(--res-navy) !important;
    color: #FFFFFF !important;
  }

  .res-mobile-collapse-body {
    padding-top: 0.75rem !important;
    font-size: 0.82rem !important;
    color: var(--res-slate) !important;
    line-height: 1.6 !important;
    border-top: 1px solid var(--res-silver-light) !important;
    margin-top: 0.5rem !important;
  }
}

/* ==========================================================================
   MOBILE CONTENT CONDENSATION & ADAPTIVE COMPACT LAYOUT (2026 UPDATE)
   Reduces excessive page length, condenses text walls, and optimizes element flow
   ========================================================================== */
/* Desktop fallback for collapsible mobile blocks: completely invisible wrapper */
@media (min-width: 769px) {
  .res-mobile-collapse {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .res-mobile-collapse summary {
    display: none !important;
  }
  .res-mobile-collapse-body {
    display: block !important;
    padding: 0 !important;
  }
}

.res-hide-mobile {
  /* Default desktop: visible */
}

.res-show-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .res-hide-mobile {
    display: none !important;
  }

  .res-show-mobile {
    display: block !important;
  }

  /* Text Clamp Utilities */
  .res-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .res-clamp-3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Hero Mobile Height & Proportions Optimization */
  .res-hero-section h1 {
    font-size: 1.35rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.65rem !important;
    letter-spacing: -0.02em !important;
  }

  .res-hero-section p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.95rem !important;
  }

  /* Biomechanics Simulator / Workbench Screen Height Reduction & Zero Space Waste */
  .res-workbench-panel {
    padding: 0.75rem 0.6rem !important;
  }

  .res-workbench-panel .res-bento-grid {
    gap: 0.75rem !important;
  }

  .res-angle-slider-wrap {
    margin: 0.35rem 0 !important;
  }

  .res-workbench-presets {
    margin-top: 0.45rem !important;
    gap: 0.3rem !important;
  }

  .res-preset-btn {
    min-height: auto !important;
    height: auto !important;
    padding: 0.45rem 0.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .res-preset-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.12rem !important;
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .res-preset-sub {
    display: none !important;
  }

  .res-telemetry-hud-grid {
    margin-top: 0.45rem !important;
    gap: 0.3rem !important;
  }

  .res-telemetry-tile {
    padding: 0.45rem 0.15rem !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  #res-wb-interactive-img {
    height: 175px !important;
  }

  .res-wb-status-bar {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.5rem !important;
    margin-top: 0.4rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  /* Diagnostic Quiz 2-Questions Per Row Clean Mobile Grid */
  .res-quiz-container {
    padding: 0.85rem 0.65rem !important;
  }

  .res-quiz-progress-track {
    margin-bottom: 0.65rem !important;
  }

  .res-quiz-step h3 {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
  }

  .res-quiz-step p {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.65rem !important;
  }

  .res-quiz-options {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    margin: 0.65rem 0 0.35rem !important;
  }

  .res-quiz-opt-card {
    padding: 0.6rem 0.45rem !important;
    min-height: 95px !important;
    height: 100% !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0.25rem !important;
    box-sizing: border-box !important;
  }

  .res-quiz-opt-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.2rem !important;
    margin-bottom: 0.1rem !important;
    width: 100% !important;
  }

  .res-quiz-opt-tag {
    font-size: 0.58rem !important;
    padding: 0.1rem 0.35rem !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .res-quiz-opt-title {
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--res-navy) !important;
  }

  .res-quiz-opt-desc {
    font-size: 0.66rem !important;
    line-height: 1.32 !important;
    color: var(--res-slate) !important;
    margin: 0 !important;
  }

  /* System Pakete Bundles Image: fills 100% of available space */
  .res-bundle-desc {
    display: none !important;
  }

  .res-bundle-img-wrap {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 200px !important;
    max-height: 250px !important;
    padding: 0 !important;
    margin-bottom: 0.75rem !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #FAF9F6 !important;
  }

  .res-bundle-img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Doctor Advice / Editorial Compaction */
  .res-doctor-card {
    padding: 0.75rem 0.65rem !important;
  }

  .res-doctor-avatar-wrap,
  .res-doctor-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }

  .res-doctor-card h3 {
    font-size: 0.95rem !important;
  }

  .res-doctor-card blockquote {
    padding: 0.55rem 0.65rem !important;
    font-size: 0.76rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.65rem !important;
  }

  /* Split Curtain Unboxing Screen Fit */
  .res-curtain-container {
    aspect-ratio: 16 / 10 !important;
    max-height: 220px !important;
  }

  .res-curtain-badge {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.5rem !important;
  }

  .res-curtain-presets-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    width: 100% !important;
    margin-top: 0.65rem !important;
  }

  .res-curtain-preset {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    padding: 0.45rem 0.2rem !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    border-radius: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .res-curtain-preset-text-desk {
    display: none !important;
  }

  .res-curtain-preset-text-mob {
    display: inline !important;
  }

  .res-curtain-instruction-row {
    margin-top: 0.45rem !important;
    font-size: 0.7rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .res-curtain-inst-left,
  .res-curtain-inst-right {
    display: none !important;
  }

  .res-curtain-inst-mid {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* X-Ray Inspector 2-Row Tabs & Compact Layout (Photo 1) */
  #kissen-architektur {
    padding: 2rem 0 !important;
  }

  .res-xray-box {
    padding: 0.85rem 0.65rem !important;
    border-radius: 12px !important;
  }

  .res-xray-nav {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem !important;
    overflow-x: visible !important;
    margin-bottom: 0.75rem !important;
    width: 100% !important;
  }

  .res-xray-tab {
    padding: 0.45rem 0.3rem !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center !important;
    border-radius: 8px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .res-xray-box img {
    max-height: 150px !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  .res-xray-content {
    padding: 0.85rem 0.75rem !important;
    border-radius: 10px !important;
    margin-top: 0.5rem !important;
  }

  .res-xray-content h3 {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }

  .res-xray-content p {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.65rem !important;
  }

  #res-xray-spec {
    font-size: 0.68rem !important;
    padding: 0.4rem 0.65rem !important;
    line-height: 1.3 !important;
  }

  /* Sit-Time Ergonomics Calculator Mobile Normalization (Photo 2) */
  #zeit-rechner {
    padding: 2rem 0 !important;
  }

  .res-calc-card {
    padding: 1rem 0.75rem !important;
    border-radius: 12px !important;
  }

  .res-calc-card .res-bento-grid {
    gap: 0.85rem !important;
  }

  .res-calc-card h2 {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }

  .res-calc-card p {
    font-size: 0.78rem !important;
    line-height: 1.42 !important;
    margin-bottom: 0.85rem !important;
  }

  .res-calc-hours-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    margin-bottom: 0.2rem !important;
  }

  .res-calc-hours-row span:first-child {
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
  }

  #res-calc-hours-val {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .res-calc-slider {
    margin: 0.75rem 0 !important;
    height: 6px !important;
  }

  /* Preset Chips 2x2 Grid: fits 4 presets in 2 rows with zero clipping */
  .res-calc-chips {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
  }

  .res-calc-chip {
    padding: 0.45rem 0.35rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    white-space: nowrap !important;
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .res-calc-year-box {
    margin-top: 0.85rem !important;
    padding: 0.65rem 0.75rem !important;
    border-radius: 8px !important;
  }

  .res-calc-year-box span {
    font-size: 0.72rem !important;
  }

  #res-calc-yearly-hours {
    font-size: 0.85rem !important;
    white-space: nowrap !important;
  }

  .res-calc-telemetry-box {
    padding: 1rem 0.75rem !important;
    margin-top: 0.65rem !important;
    border-radius: 10px !important;
  }

  .res-calc-telemetry-box > div:first-child {
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 0.35rem !important;
  }

  #res-calc-pressure-total {
    font-size: 1.7rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.35rem !important;
    white-space: nowrap !important;
  }

  #res-calc-relief-factor {
    font-size: 0.72rem !important;
    padding: 0.2rem 0.55rem !important;
    margin-bottom: 0.85rem !important;
    display: inline-block !important;
  }

  .res-calc-telemetry-box > div:nth-child(4) {
    padding: 0.65rem 0.75rem !important;
    margin-bottom: 0.85rem !important;
    border-radius: 8px !important;
  }

  #res-calc-recommendation-title {
    font-size: 0.82rem !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.25 !important;
  }

  #res-calc-recommendation-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  #res-calc-cta-btn {
    font-size: 0.78rem !important;
    padding: 0.55rem 0.4rem !important;
    min-height: 38px !important;
    width: 100% !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Product Detail Page (produkt-ansicht.html) Hero Gallery & Buybox Full Fit */
  .res-detail-gallery-clean {
    width: 100% !important;
    gap: 0.65rem !important;
    margin-bottom: 1.15rem !important;
  }

  .res-detail-main-img-box {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 270px !important;
    max-height: 360px !important;
    height: auto !important;
    padding: 0.5rem !important;
    background: #FAF9F6 !important;
    border: 1px solid rgba(10, 25, 47, 0.08) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .res-detail-main-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .res-detail-trust-pills {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem !important;
    margin-top: 0.35rem !important;
  }

  .res-trust-pill-mini {
    padding: 0.45rem 0.5rem !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    border: 1px solid var(--res-silver) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  .res-trust-pill-mini svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0 !important;
  }

  .res-detail-buybox {
    padding: 1.15rem 1rem !important;
    border-radius: 12px !important;
    border: 1px solid var(--res-silver) !important;
    background: #FFFFFF !important;
  }

  .res-detail-buybox h1 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    margin-bottom: 0.35rem !important;
    color: var(--res-navy) !important;
  }

  .res-variant-selector-wrap {
    margin-bottom: 0.75rem !important;
    padding: 0.55rem 0.65rem !important;
    background: #F8FAFC !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
  }

  .res-variant-chips-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)) !important;
    gap: 0.35rem !important;
  }

  .res-variant-chip {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.4rem 0.25rem !important;
    border-radius: 6px !important;
    min-height: 44px !important;
  }

  .res-variant-chip-title {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
  }

  .res-variant-chip-sub {
    font-size: 0.62rem !important;
    color: #64748B !important;
    margin-top: 0.1rem !important;
    line-height: 1.1 !important;
  }

  .res-variant-chip-badge {
    position: absolute !important;
    top: -6px !important;
    right: 3px !important;
    font-size: 0.56rem !important;
    padding: 0.06rem 0.3rem !important;
    border-radius: 3px !important;
  }

  .res-tier-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    margin-bottom: 0.75rem !important;
  }

  .res-tier-card {
    padding: 0.45rem 0.25rem !important;
    border-radius: 8px !important;
    text-align: center !important;
    position: relative !important;
  }

  .res-tier-badge {
    position: absolute !important;
    top: -7px !important;
    right: 4px !important;
    font-size: 0.58rem !important;
    padding: 0.08rem 0.35rem !important;
    border-radius: 3px !important;
    line-height: 1.1 !important;
  }

  .res-tier-qty {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
  }

  .res-tier-price {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    margin: 0.1rem 0 !important;
  }

  .res-tier-sub {
    font-size: 0.62rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .res-detail-price-box {
    padding: 0.75rem 0 !important;
    margin-bottom: 0.75rem !important;
  }

  .res-price-main-row .res-price-val {
    font-size: 1.55rem !important;
  }

  /* Tabs Section on Mobile */
  .res-detail-tabs-wrap {
    margin-top: 1.5rem !important;
    border-radius: 12px !important;
  }

  .res-detail-tabs-header {
    display: flex !important;
    overflow-x: auto !important;
    gap: 0.25rem !important;
    padding: 0.35rem !important;
    background: #F1F5F9 !important;
    border-radius: 10px !important;
    scrollbar-width: none !important;
  }

  .res-detail-tabs-header::-webkit-scrollbar {
    display: none !important;
  }

  .res-detail-tab-btn {
    flex: 1 1 auto !important;
    padding: 0.55rem 0.65rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: 7px !important;
  }

  .res-detail-tab-content {
    padding: 1.15rem 0.85rem !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  /* ==========================================================================
     MOBILE BOTTOM NAVIGATION BAR (FIXED DOCKED FOOTER BAR)
     ========================================================================== */
  body {
    padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .res-mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: calc(52px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(10, 25, 47, 0.08) !important;
    box-shadow: 0 -4px 20px rgba(10, 25, 47, 0.05) !important;
    z-index: 998 !important;
    align-items: stretch !important;
    justify-content: space-around !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    box-sizing: border-box !important;
  }

  .res-bottom-nav-item {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    height: 100% !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px 2px !important;
    color: var(--res-slate-muted) !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    box-sizing: border-box !important;
  }

  .res-bottom-nav-item:active {
    transform: scale(0.92);
  }

  .res-bottom-nav-icon-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 22px !important;
  }

  .res-bottom-nav-icon {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 2 !important;
    stroke: currentColor !important;
    fill: none !important;
    transition: stroke 0.15s ease !important;
  }

  .res-bottom-nav-label {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    color: inherit !important;
  }

  .res-bottom-nav-item.active {
    color: var(--res-azure) !important;
  }

  .res-bottom-nav-item.active .res-bottom-nav-icon {
    stroke: var(--res-azure) !important;
  }

  .res-bottom-nav-item.active .res-bottom-nav-label {
    font-weight: 700 !important;
    color: var(--res-azure) !important;
  }

  .res-bottom-nav-item .res-badge-count {
    position: absolute !important;
    top: -5px !important;
    right: -9px !important;
    font-size: 0.65rem !important;
    min-width: 17px !important;
    height: 17px !important;
    line-height: 1 !important;
    padding: 0 4px !important;
    border: 2px solid #ffffff !important;
    border-radius: var(--radius-pill) !important;
    background: #DC2626 !important; /* Bold vivid contrast red so numbers pop */
    color: #FFFFFF !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.45) !important;
    z-index: 5 !important;
    pointer-events: none !important;
  }

  .res-bottom-nav-item[data-tab="wishlist"] .res-badge-count {
    background: #0284C7 !important; /* Azure blue for wishlist badge */
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.45) !important;
  }

  .res-bottom-nav-item[data-tab="cart"] .res-badge-count {
    background: #DC2626 !important; /* Medical urgent red for cart badge */
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.45) !important;
  }

  .res-toast-notification {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 0.75rem) !important;
    z-index: 9999 !important;
  }

  .res-cookie-banner {
    left: 0.65rem !important;
    right: 0.65rem !important;
    width: auto !important;
    max-width: none !important;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 0.5rem) !important;
    padding: 1rem 1rem 0.85rem !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 36px rgba(10, 25, 47, 0.28) !important;
    z-index: 9990 !important;
  }

  .res-cookie-title {
    font-size: 0.92rem !important;
    margin-bottom: 0.35rem !important;
  }

  .res-cookie-text {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.85rem !important;
  }

  .res-cookie-actions {
    display: flex !important;
    gap: 0.45rem !important;
    flex-direction: column !important;
  }

  .res-cookie-actions #res-cookie-accept-all,
  .res-cookie-actions #res-cookie-essential-only {
    width: 100% !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.82rem !important;
    min-height: 40px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .res-cookie-actions #res-cookie-toggle-settings {
    width: 100% !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.76rem !important;
  }

  /* Floating Cookie Settings Icon on Mobile */
  .res-cookie-floating-badge {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 0.5rem) !important;
    left: 0.65rem !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.16) !important;
    z-index: 9980 !important;
  }

  .res-cookie-floating-badge .res-cookie-badge-hint {
    display: none !important;
  }

  .res-cookie-floating-badge .res-cookie-badge-svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* ==========================================================================
   DSGVO COOKIE SETTINGS MODAL DIALOG (ALWAYS ACCESSIBLE PREFERENCES WINDOW)
   ========================================================================== */
.res-cookie-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100060 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  animation: almFadeIn 0.25s ease;
}

.res-cookie-dialog-card {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(10, 25, 47, 0.35);
  border: 1px solid rgba(10, 25, 47, 0.1);
  overflow: hidden;
  box-sizing: border-box;
  animation: almZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-cookie-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--res-silver-light);
  background: #F8FAFC;
}

.res-cookie-dialog-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.res-cookie-dialog-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.res-cookie-dialog-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--res-navy);
  margin: 0;
  line-height: 1.25;
}

.res-cookie-dialog-subtitle {
  font-size: 0.74rem;
  color: var(--res-slate-muted);
  margin: 0.2rem 0 0 0;
}

.res-cookie-dialog-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--res-slate-muted);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.res-cookie-dialog-close:hover {
  background: #E2E8F0;
  color: var(--res-navy);
}

.res-cookie-dialog-body {
  padding: 1.15rem 1.4rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

.res-cookie-dialog-intro {
  font-size: 0.82rem;
  color: var(--res-slate);
  line-height: 1.55;
  margin: 0 0 1rem 0;
}

.res-cookie-cat-card {
  background: #FAF9F6;
  border: 1px solid var(--res-silver);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.85rem;
  transition: border-color 0.2s ease;
}

.res-cookie-cat-card.is-essential {
  border-left: 4px solid var(--res-emerald);
}

.res-cookie-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.res-cookie-cat-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.res-cookie-cat-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--res-navy);
}

.res-cookie-pill-req {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--res-emerald-dark);
  background: var(--res-emerald-subtle);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
}

.res-cookie-pill-opt {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--res-azure);
  background: var(--res-azure-subtle);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
}

.res-cookie-cat-desc {
  font-size: 0.79rem;
  color: var(--res-slate);
  line-height: 1.48;
  margin: 0 0 0.45rem 0;
}

.res-cookie-cat-meta {
  font-size: 0.72rem;
  color: var(--res-slate-muted);
  border-top: 1px dashed rgba(10, 25, 47, 0.08);
  padding-top: 0.4rem;
}

/* Custom Accessible Toggle Switch */
.res-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.res-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.res-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #CBD5E1;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.res-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.res-toggle-switch input:checked + .res-toggle-slider {
  background-color: var(--res-azure);
}

.res-toggle-switch input:checked + .res-toggle-slider:before {
  transform: translateX(20px);
}

.res-toggle-switch.is-disabled .res-toggle-slider {
  background-color: var(--res-emerald);
  cursor: not-allowed;
  opacity: 0.9;
}

.res-cookie-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  background: #F8FAFC;
  border-top: 1px solid var(--res-silver-light);
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .res-cookie-dialog-overlay {
    padding: 0.4rem;
  }
  .res-cookie-dialog-card {
    max-height: 94vh;
  }
  .res-cookie-dialog-header {
    padding: 0.75rem 0.9rem;
  }
  .res-cookie-dialog-body {
    padding: 0.85rem 0.9rem;
  }
  .res-cookie-dialog-footer {
    padding: 0.75rem 0.9rem;
    flex-direction: column-reverse;
    gap: 0.4rem;
  }
  .res-cookie-dialog-footer .res-btn {
    width: 100% !important;
    text-align: center;
  }
}
