/* phase7b: precision consolidation fix for current B2B release */
html, body {
  min-height: 100%;
}

body.b2b-p7b-home,
body.b2b-p7b-shop,
body.b2b-p7b-orders,
body.b2b-p7b-profile {
  --b2b-p7b-text: #eef6ff;
  --b2b-p7b-muted: rgba(220, 238, 255, 0.78);
  --b2b-p7b-line: rgba(110, 206, 255, 0.24);
  --b2b-p7b-panel: rgba(5, 16, 34, 0.72);
  --b2b-p7b-panel-2: rgba(8, 24, 48, 0.78);
  --b2b-p7b-accent: #5fd2ff;
  --b2b-p7b-accent-2: #9be7ff;
  color: var(--b2b-p7b-text);
}

body.b2b-p7b-shop :where(.price,.amount,.total,.subtotal,[class*="price"],[class*="amount"],[class*="total"],[data-price],[data-amount]),
body.b2b-p7b-orders :where(.price,.amount,.total,.subtotal,[class*="price"],[class*="amount"],[class*="total"],[data-price],[data-amount]) {
  color: #f2fbff !important;
  text-shadow: 0 0 10px rgba(95,210,255,0.12);
}

body.b2b-p7b-shop :where(.price,.amount,.total,.subtotal,[class*="price"],[class*="amount"],[class*="total"],[data-price],[data-amount]) strong,
body.b2b-p7b-orders :where(.price,.amount,.total,.subtotal,[class*="price"],[class*="amount"],[class*="total"],[data-price],[data-amount]) strong {
  color: #ffffff !important;
}

body.b2b-p7b-home .b2b-p7b-home-guard {
  display: none;
}

body.b2b-p7b-home.b2b-p7b-home-empty .b2b-p7b-home-guard {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48vh;
  margin: 28px auto 0;
  width: min(92vw, 1180px);
  border-radius: 28px;
  border: 1px solid rgba(95,210,255,0.2);
  background: linear-gradient(180deg, rgba(10,24,48,0.78), rgba(6,16,34,0.82));
  box-shadow: 0 18px 60px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.03);
  color: var(--b2b-p7b-muted);
  font-size: 15px;
  letter-spacing: 0.02em;
}

body.b2b-p7b-shop .b2b-p7b-desktop-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 24px !important;
  align-items: start !important;
}

body.b2b-p7b-shop .b2b-p7b-products-column,
body.b2b-p7b-shop .b2b-p7b-cart-column {
  min-width: 0;
}

body.b2b-p7b-shop .b2b-p7b-cart-column {
  position: sticky !important;
  top: 96px !important;
  align-self: start !important;
  z-index: 10 !important;
}

body.b2b-p7b-shop .b2b-p7b-pagination-host {
  margin-top: 18px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

body.b2b-p7b-shop .b2b-p7b-pagination-host > * {
  float: none !important;
}

body.b2b-p7b-shop .b2b-p7b-pagination-host :where(button,a,span) {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

body.b2b-p7b-mobile .b2b-p7b-mobile-only {
  display: block !important;
}

body.b2b-p7b-mobile .b2b-p7b-desktop-only {
  display: none !important;
}

body.b2b-p7b-mobile .b2b-p7b-lang-scroll {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px !important;
}
body.b2b-p7b-mobile .b2b-p7b-lang-scroll::-webkit-scrollbar { display: none; }

body.b2b-p7b-mobile .b2b-p7b-mobile-cart-fab {
  position: fixed !important;
  right: 18px !important;
  bottom: 88px !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: radial-gradient(circle at 35% 30%, rgba(155,231,255,0.98), rgba(63,186,255,0.92));
  box-shadow: 0 12px 28px rgba(0,0,0,0.28), 0 0 0 6px rgba(95,210,255,0.12);
  color: #04121f !important;
  font-weight: 800;
  z-index: 5000 !important;
  cursor: pointer;
  pointer-events: auto !important;
}

body.b2b-p7b-mobile .b2b-p7b-mobile-cart-fab[data-count]::after {
  content: attr(data-count);
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b2337;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

body.b2b-p7b-mobile .b2b-p7b-cart-drawer,
body.b2b-p7b-mobile .b2b-p7b-cart-drawer * {
  pointer-events: auto !important;
}

body.b2b-p7b-mobile .b2b-p7b-cart-drawer {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 5001 !important;
  max-height: 72vh !important;
  overflow: auto !important;
  border-top-left-radius: 24px !important;
  border-top-right-radius: 24px !important;
  background: linear-gradient(180deg, rgba(8,24,48,0.96), rgba(4,14,30,0.98)) !important;
  box-shadow: 0 -18px 48px rgba(0,0,0,0.34) !important;
  color: #eef6ff !important;
}

body.b2b-p7b-mobile .b2b-p7b-cart-drawer :where(button,[role="button"],a,input,select,textarea) {
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

body.b2b-p7b-mobile .b2b-p7b-cart-drawer :where(.price,.amount,.total,.subtotal,[class*="price"],[class*="amount"],[class*="total"],[data-price],[data-amount]),
body.b2b-p7b-mobile .b2b-p7b-cart-drawer :where(p,span,strong,small,div,label) {
  color: #eef6ff !important;
}

body.b2b-p7b-mobile .b2b-p7b-hide-mobile-header {
  display: none !important;
}

body.b2b-p7b-orders .b2b-p7b-orders-shell {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
}

body.b2b-p7b-orders .b2b-p7b-order-card {
  background: linear-gradient(180deg, rgba(8,24,48,0.76), rgba(5,16,34,0.82)) !important;
  border: 1px solid rgba(95,210,255,0.18) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2) !important;
}

@media (max-width: 1023px) {
  body.b2b-p7b-shop .b2b-p7b-desktop-shell {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.b2b-p7b-shop .b2b-p7b-cart-column {
    position: static !important;
    top: auto !important;
  }
}
