body.assist-open {
  overflow: hidden;
}

:root {
  --assist-drawer-width: clamp(440px, 32vw, 500px);
}

.assist-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: rgba(0, 6, 12, 0.68);
  opacity: 0;
  transition: opacity 220ms ease;
}

.db-assist-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
}

.assist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 9999;
  width: min(520px, 100vw);
  max-width: 100vw;
  height: 100vh;
  min-width: 0;
  padding: 30px 24px 32px;
  overflow-y: auto;
  color: #ffffff;
  border-left: 1px solid rgba(0, 158, 234, 0.72);
  background:
    radial-gradient(circle at 4% 7%, rgba(0, 158, 234, 0.28), transparent 15rem),
    radial-gradient(circle at 86% 76%, rgba(107, 209, 47, 0.12), transparent 16rem),
    linear-gradient(90deg, rgba(0, 158, 234, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(3, 16, 31, 0.98), rgba(2, 7, 13, 0.98));
  box-shadow: -28px 0 84px rgba(0, 0, 0, 0.56), 0 0 36px rgba(0, 158, 234, 0.28);
  transform: translateX(105%);
  transition: transform 260ms cubic-bezier(0.22, 0.82, 0.2, 1);
}

.db-assist-drawer,
.db-assist-modal {
  position: fixed;
  z-index: 9999;
}

.db-assist-drawer {
  top: 0;
  right: 0;
  height: 100vh;
  width: min(520px, 100vw);
}

body.assist-open .assist-overlay {
  pointer-events: auto;
  opacity: 1;
}

body.assist-open .assist-drawer {
  transform: translateX(0);
}

.assist-drawer-header {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.assist-close {
  position: absolute;
  top: -12px;
  right: -6px;
  z-index: 10000;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(2, 7, 13, 0.95);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.db-assist-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10000;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 7, 13, 0.95);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.db-assist-close:hover,
.db-assist-close:focus-visible {
  color: #6bd12f;
  border-color: #6bd12f;
  box-shadow: 0 0 18px rgba(107, 209, 47, 0.25);
}

.assist-close:hover,
.assist-close:focus-visible {
  color: #6bd12f;
  border-color: #6bd12f;
  box-shadow: 0 0 18px rgba(107, 209, 47, 0.25);
  transform: rotate(90deg);
}

.assist-close svg,
.assist-section h2 svg,
.assist-input-row svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assist-logo {
  display: inline-flex;
  align-items: center;
  justify-self: center;
}

.assist-logo img {
  width: 176px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 158, 234, 0.18));
}

.assist-header-spacer {
  width: 42px;
  height: 42px;
}

.assist-section {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(0, 158, 234, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 158, 234, 0.13), transparent 15rem),
    linear-gradient(145deg, rgba(3, 20, 38, 0.9), rgba(1, 9, 18, 0.82));
  box-shadow: inset 0 0 30px rgba(0, 158, 234, 0.1);
}

.assist-section + .assist-section {
  margin-top: 14px;
}

.assist-section h2 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.assist-section h2 svg {
  color: #6bd12f;
  filter: drop-shadow(0 0 10px rgba(107, 209, 47, 0.56));
}

.assist-brand-list {
  display: grid;
}

.assist-brand-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 146px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 158, 234, 0.18);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.assist-brand-row:hover,
.assist-brand-row:focus-visible {
  color: #6bd12f;
  transform: translateX(3px);
}

.assist-brand-logo {
  width: 140px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

.assist-brand-logo img {
  display: block;
  width: 100%;
  max-width: 136px;
  max-height: 40px;
  height: auto;
  object-fit: contain;
}

.assist-chevron {
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  opacity: 0.88;
}

.assist-outline-button {
  min-height: 48px;
  margin-top: 16px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(107, 209, 47, 0.7);
  border-radius: 5px;
  color: #6bd12f;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.assist-outline-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.assist-outline-button:hover,
.assist-outline-button:focus-visible {
  background: rgba(107, 209, 47, 0.12);
  box-shadow: 0 0 22px rgba(107, 209, 47, 0.24);
  transform: translateY(-1px);
}

.assist-ai {
  overflow: hidden;
  padding: 22px 22px 24px;
}

.assist-ai::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 158, 234, 0.2), transparent 70%);
  pointer-events: none;
}

.assist-ai::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 188px;
  bottom: 58px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 158, 234, 0.58), transparent);
  pointer-events: none;
}

.assist-ai-heading {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 14px;
  align-items: center;
}

.assist-buddy {
  width: 150px;
  height: 194px;
  justify-self: start;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0 22px rgba(0, 158, 234, 0.28)) drop-shadow(0 0 20px rgba(107, 209, 47, 0.16));
}

.assist-ai-heading h2 {
  margin-bottom: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.assist-ai-heading h2 img {
  width: 48px;
  height: auto;
  object-fit: contain;
}

.assist-ai-heading h2 span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 24px;
  margin-left: 2px;
  border-radius: 5px;
  color: #06110a;
  background: #009eea;
  box-shadow: 0 0 14px rgba(0, 158, 234, 0.32);
  font-size: 15px;
  line-height: 1;
}

.assist-ai-heading p,
.assist-ai-copy,
.assist-disclaimer {
  margin: 0;
  color: #b7c3d1;
  font-size: 15px;
  line-height: 1.55;
}

.assist-ai-copy {
  margin: -74px 0 22px 164px;
  max-width: 228px;
}

.assist-ai-copy strong {
  color: #6bd12f;
}

.assist-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  z-index: 1;
}

.assist-quick-actions button {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 6px;
  text-align: center;
  color: #dce7f3;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.assist-quick-actions img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 158, 234, 0.34));
}

.assist-quick-actions button:hover,
.assist-quick-actions button:focus-visible {
  color: #ffffff;
  border-color: rgba(0, 158, 234, 0.72);
  box-shadow: inset 0 0 18px rgba(0, 158, 234, 0.08);
  transform: translateY(-1px);
}

.assist-input-row {
  min-height: 66px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: center;
  gap: 10px;
  padding: 0 13px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(2, 7, 13, 0.48);
}

.assist-input-row:focus-within {
  border-color: #009eea;
  box-shadow: 0 0 0 3px rgba(0, 158, 234, 0.14);
}

.assist-input-row input {
  min-width: 0;
  color: #ffffff;
  border: 0;
  outline: none;
  background: transparent;
}

.assist-input-row button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #06110a;
  border: 0;
  border-radius: 7px;
  background: transparent;
  transition: transform 180ms ease, filter 180ms ease;
}

.assist-input-row button:hover,
.assist-input-row button:focus-visible {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px rgba(107, 209, 47, 0.45));
}

.assist-input-row button img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.assist-disclaimer {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
}

.assist-learn-more {
  margin-top: 6px;
  display: block;
  color: #6bd12f;
  text-align: center;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 20px;
}

.assist-chat-panel {
  position: fixed;
  top: 18px;
  bottom: 18px;
  right: calc(min(520px, 100vw) + 18px);
  left: auto;
  z-index: 9999;
  width: min(420px, calc(100vw - min(520px, 100vw) - 36px));
  min-width: min(340px, calc(100vw - min(520px, 100vw) - 36px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(0, 158, 234, 0.5);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 158, 234, 0.2), transparent 17rem),
    radial-gradient(circle at 100% 100%, rgba(107, 209, 47, 0.12), transparent 14rem),
    linear-gradient(180deg, rgba(3, 17, 32, 0.98), rgba(1, 8, 17, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 158, 234, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-16px) scale(0.985);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 0.82, 0.2, 1);
}

body.assist-chat-active .assist-chat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.assist-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(0, 158, 234, 0.2);
  background: rgba(1, 9, 18, 0.64);
}

.assist-chat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6bd12f;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}

.assist-chat-header h2 {
  margin: 2px 0 0;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.assist-chat-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.assist-chat-close:hover,
.assist-chat-close:focus-visible {
  color: #6bd12f;
  border-color: rgba(107, 209, 47, 0.52);
  transform: translateY(-1px);
}

.assist-chat-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assist-chat-body {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
}

.assist-chat-empty {
  margin: auto 0;
  padding: 22px;
  text-align: center;
  border: 1px solid rgba(0, 158, 234, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.assist-chat-empty strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.assist-chat-empty span {
  color: #b7c3d1;
  font-size: 14px;
  line-height: 1.5;
}

.assist-message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px;
  color: #eaf4ff;
  font-size: 14px;
  line-height: 1.5;
}

.assist-message-user {
  align-self: flex-end;
  color: #06110a;
  border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, #7de13b, #57c91d);
  box-shadow: 0 0 18px rgba(107, 209, 47, 0.18);
}

.assist-message-bot,
.assist-message-error {
  align-self: flex-start;
  border: 1px solid rgba(0, 158, 234, 0.24);
  border-bottom-left-radius: 4px;
  background: rgba(5, 22, 40, 0.85);
}

.assist-message-error {
  border-color: rgba(255, 88, 88, 0.44);
}

.assist-thinking {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.assist-thinking i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6bd12f;
  animation: assistDots 900ms infinite ease-in-out;
}

.assist-thinking i:nth-child(2) {
  animation-delay: 120ms;
}

.assist-thinking i:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes assistDots {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.assist-product-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 158, 234, 0.26);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(5, 24, 44, 0.82), rgba(2, 8, 15, 0.78));
}

.assist-product-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 158, 234, 0.2);
}

.assist-product-card strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.assist-product-card span {
  display: block;
  margin-top: 4px;
  color: #b7c3d1;
  font-size: 12px;
  line-height: 1.35;
}

.assist-product-card em {
  display: block;
  margin-top: 6px;
  color: #6bd12f;
  font-style: normal;
  font-weight: 800;
}

.assist-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.assist-product-actions a,
.assist-product-actions button,
.assist-followup-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 6px;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}

.assist-product-actions a {
  color: #06110a;
  background: #6bd12f;
}

.assist-product-actions button,
.assist-followup-chip {
  color: #ffffff;
  border: 1px solid rgba(0, 158, 234, 0.42);
  background: rgba(255, 255, 255, 0.045);
}

.assist-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.assist-chat-input-row {
  min-height: 64px;
  margin: 0 18px 18px;
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(2, 7, 13, 0.72);
}

.assist-chat-input-row:focus-within {
  border-color: #009eea;
  box-shadow: 0 0 0 3px rgba(0, 158, 234, 0.14);
}

.assist-chat-input-row input {
  min-width: 0;
  color: #ffffff;
  border: 0;
  outline: 0;
  background: transparent;
}

.assist-chat-input-row button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.assist-chat-input-row button img {
  width: 42px;
  height: 42px;
}

.db-assist-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 900;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #ffffff;
  border: 1px solid rgba(0, 158, 234, 0.35);
  border-radius: 6px;
  background: rgba(2, 7, 13, 0.95);
  box-shadow: 0 0 24px rgba(0, 158, 234, 0.18);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.db-assist-float:hover,
.db-assist-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 38px rgba(107, 209, 47, 0.48), 0 0 42px rgba(0, 158, 234, 0.24);
}

.db-assist-float svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.db-assist-float img {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

@media (max-width: 760px) {
  :root {
    --assist-drawer-width: 100vw;
  }

  .assist-drawer {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    min-width: 0;
    padding: 22px 18px 110px;
    border-left: 0;
    border-right: 0;
  }

  .assist-drawer-header {
    grid-template-columns: 38px 1fr 38px;
  }

  .assist-logo img {
    width: 158px;
  }

  .assist-brand-row {
    grid-template-columns: 128px 1fr 22px;
    font-size: 17px;
  }

  .assist-brand-logo {
    width: 122px;
    height: 42px;
  }

  .assist-brand-logo img {
    max-width: 118px;
    max-height: 36px;
  }

  .assist-ai-heading {
    grid-template-columns: 138px 1fr;
  }

  .assist-buddy {
    width: 138px;
    height: 172px;
  }

  .assist-ai-copy {
    margin: -54px 0 18px 150px;
    max-width: none;
  }

  .assist-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assist-quick-actions button {
    min-height: 74px;
    font-size: 13px;
  }

  .assist-input-row {
    min-height: 64px;
  }

  .assist-chat-panel {
    inset: 0;
    width: 100vw;
    max-width: none;
    min-width: 0;
    height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    transform: translateX(-105%);
  }

  body.assist-chat-active .assist-chat-panel {
    transform: translateX(0);
  }

  .assist-chat-header {
    padding: 16px;
  }

  .assist-chat-body {
    padding: 16px;
  }

  .assist-message {
    max-width: 92%;
  }

  .assist-chat-input-row {
    margin: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .db-assist-float {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
    min-height: 48px;
    padding: 0 14px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .assist-section {
    padding: 18px;
  }

  .assist-ai-heading {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .assist-buddy {
    width: 156px;
    height: 188px;
    justify-self: center;
  }

  .assist-ai-heading h2 {
    justify-content: center;
  }

  .assist-ai-copy {
    margin: 12px 0 18px;
    text-align: center;
  }

  .assist-brand-row {
    grid-template-columns: 112px 1fr 20px;
    gap: 12px;
  }

  .assist-brand-logo {
    width: 108px;
  }

  .assist-brand-logo img {
    max-width: 104px;
  }
}

/* Global pushed drawer shell */
.app-shell[data-app-shell] {
  --left-drawer-width: 0px;
  --right-drawer-width: 0px;
  display: grid;
  grid-template-columns: var(--left-drawer-width) minmax(0, 1fr) var(--right-drawer-width);
  min-height: 100vh;
  background: #02070d;
  transition: grid-template-columns 0.3s ease;
}

.app-shell[data-app-shell].db-assist-open {
  --left-drawer-width: 0px;
  --right-drawer-width: 0px;
}

.app-shell[data-app-shell].cart-open {
  --left-drawer-width: 0px;
  --right-drawer-width: 520px;
}

.app-main[data-app-main] {
  min-width: 0;
}

.app-shell[data-app-shell] > .assist-drawer,
.app-shell[data-app-shell] > .cart-drawer {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  max-width: none;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 158, 234, 0.2), transparent 35%),
    radial-gradient(circle at 92% 12%, rgba(107, 209, 47, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(3, 13, 24, 0.98), rgba(2, 7, 13, 0.98));
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  box-shadow: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.app-shell[data-app-shell] > .assist-drawer.db-assist-drawer {
  position: fixed;
  left: 0;
  right: auto;
  top: 0;
  bottom: auto;
  width: 340px;
  max-width: min(340px, 100vw);
  height: 100vh;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateX(-105%);
  border-right: 1px solid rgba(0, 158, 234, 0.28);
  border-left: 0;
  box-shadow: 28px 0 84px rgba(0, 0, 0, 0.44), 0 0 32px rgba(0, 158, 234, 0.2);
  transition: transform 0.3s ease;
}

.app-shell[data-app-shell] > .assist-drawer {
  border-right: 1px solid rgba(0, 158, 234, 0.34);
}

.app-shell[data-app-shell] > .cart-drawer {
  border-left: 1px solid rgba(0, 158, 234, 0.34);
}

.app-shell[data-app-shell].db-assist-open > .assist-drawer,
.app-shell[data-app-shell].cart-open > .cart-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.app-shell[data-app-shell].db-assist-open > .assist-drawer.db-assist-drawer {
  transform: translateX(0);
}

@media (min-width: 769px) {
  body.assist-open,
  body.cart-open,
  body.drawer-open {
    overflow: auto;
  }
}

.drawer-panel-inner {
  min-height: 100%;
  padding: 24px 22px 28px;
}

.drawer-topbar,
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer-logo {
  display: inline-flex;
  align-items: center;
}

.drawer-logo img {
  width: 168px;
  height: auto;
  display: block;
}

.drawer-close {
  position: static;
  top: auto;
  right: auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 7, 13, 0.95);
  color: #fff;
  font: 400 28px/1 Inter, sans-serif;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.drawer-close:hover,
.drawer-close:focus-visible {
  color: #6bd12f;
  border-color: #6bd12f;
  box-shadow: 0 0 18px rgba(107, 209, 47, 0.25);
  transform: translateY(-1px);
  outline: none;
}

.drawer-topbar .assist-close,
.drawer-topbar .db-assist-close,
.cart-drawer-header .drawer-close {
  position: static;
  top: auto;
  right: auto;
}

.assist-identity {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 26px 0 18px;
}

.assist-bot-avatar {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(0, 158, 234, 0.28);
  filter: drop-shadow(0 0 14px rgba(107, 209, 47, 0.35));
  box-shadow: 0 0 20px rgba(0, 158, 234, 0.2);
}

.db-assist img,
.db-assist-drawer img {
  max-width: 100%;
}

.db-assist-avatar img,
img.db-assist-avatar {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.assist-identity h2,
.cart-drawer-header h2,
.order-summary h3 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
}

.assist-identity h2 {
  font-size: 22px;
}

.assist-identity p {
  margin: 6px 0 0;
  color: #b7c3d1;
  font-size: 14px;
}

.assist-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(0, 158, 234, 0.45);
  border-radius: 7px;
  background: rgba(5, 18, 32, 0.82);
  overflow: hidden;
  box-shadow: inset 0 0 22px rgba(0, 158, 234, 0.08);
}

.assist-search-form input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  outline: 0;
}

.db-assist-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  width: 100%;
}

.db-assist-input {
  width: 100%;
  min-width: 0;
  height: 44px;
}

.assist-search-form input::placeholder {
  color: rgba(183, 195, 209, 0.78);
}

.assist-search-form button {
  height: 44px;
  border: 0;
  border-left: 1px solid rgba(0, 158, 234, 0.28);
  background: rgba(0, 158, 234, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.assist-search-form button:hover,
.assist-search-form button:focus-visible {
  color: #6bd12f;
  outline: none;
}

.assist-inline-response {
  min-height: 18px;
  margin: 9px 0 0;
  color: #6bd12f;
  font-size: 12px;
  line-height: 1.45;
}

.drawer-section {
  padding: 18px 0;
  border-top: 1px solid rgba(0, 158, 234, 0.17);
}

.drawer-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.drawer-section-heading span::before {
  content: "›";
  margin-right: 7px;
  color: #b7c3d1;
}

.drawer-section-heading a,
.drawer-section-heading button {
  border: 0;
  background: transparent;
  color: #009eea;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.assist-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.assist-quick-card,
.assist-category-row,
.recent-product-row,
.saved-list-row {
  display: grid;
  align-items: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(0, 158, 234, 0.2);
  background: rgba(8, 26, 43, 0.68);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.assist-quick-card {
  grid-template-columns: 27px minmax(0, 1fr);
  min-height: 58px;
  gap: 9px;
  padding: 10px;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
}

.assist-quick-card:hover,
.assist-category-row:hover,
.recent-product-row:hover,
.saved-list-row:hover,
.assist-quick-card:focus-visible,
.assist-category-row:focus-visible,
.recent-product-row:focus-visible,
.saved-list-row:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(107, 209, 47, 0.58);
  box-shadow: 0 0 20px rgba(0, 158, 234, 0.14), 0 0 16px rgba(107, 209, 47, 0.12);
  outline: none;
}

.assist-quick-card strong,
.recent-product-row strong,
.saved-list-row strong {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.assist-quick-card small,
.recent-product-row small,
.saved-list-row small {
  display: block;
  margin-top: 2px;
  color: #b7c3d1;
  font-size: 10px;
  line-height: 1.25;
}

.drawer-line-icon {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: #6bd12f;
  filter: drop-shadow(0 0 8px rgba(107, 209, 47, 0.28));
}

.drawer-line-icon svg,
.cart-trust-footer svg,
.shipping-shield svg,
.cart-remove-all svg,
.cart-checkout svg,
.cart-view svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-list {
  display: grid;
  gap: 6px;
}

.assist-category-row {
  grid-template-columns: 28px minmax(0, 1fr) 16px;
  gap: 10px;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 7px;
  color: #dfe7ef;
  font-size: 13px;
  font-weight: 700;
}

.assist-category-row.is-active {
  color: #6bd12f;
  border-color: rgba(107, 209, 47, 0.42);
  background: rgba(107, 209, 47, 0.08);
}

.assist-category-row em,
.recent-product-row em,
.saved-list-row em {
  color: #dfe7ef;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}

.brand-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.brand-mini-grid a {
  color: #dfe7ef;
  text-decoration: none;
  font-size: 13px;
}

.brand-mini-grid a:hover {
  color: #6bd12f;
}

.recent-list,
.saved-list {
  display: grid;
  gap: 8px;
}

.recent-product-row {
  grid-template-columns: 44px minmax(0, 1fr) 14px;
  gap: 10px;
  padding: 8px;
  border-radius: 7px;
}

.recent-product-row img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.saved-list-row {
  grid-template-columns: 28px minmax(0, 1fr) 14px;
  gap: 10px;
  padding: 10px;
  border-radius: 7px;
}

.assist-utility-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 158, 234, 0.17);
}

.assist-utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dfe7ef;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.assist-utility-links svg {
  width: 18px;
  height: 18px;
  color: #b7c3d1;
}

.cart-panel-inner {
  padding: 26px 28px 30px;
}

.cart-drawer-header h2 {
  font-size: 22px;
}

.cart-drawer-header h2 span {
  font-size: 17px;
}

.free-shipping-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  margin: 24px 0;
  padding: 16px;
  border: 1px solid rgba(0, 158, 234, 0.22);
  border-radius: 7px;
  background: rgba(7, 24, 40, 0.78);
}

.shipping-shield {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #009eea;
  border-radius: 8px;
  background: rgba(0, 158, 234, 0.12);
}

.shipping-progress-content strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.shipping-progress-track {
  height: 7px;
  margin: 12px 0 8px;
  border-radius: 999px;
  background: rgba(183, 195, 209, 0.16);
  overflow: hidden;
}

.shipping-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6bd12f, #54d30d);
  box-shadow: 0 0 14px rgba(107, 209, 47, 0.35);
}

.shipping-progress-content p {
  margin: 0;
  text-align: right;
  color: #dfe7ef;
  font-size: 12px;
}

.cart-items {
  display: grid;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 158, 234, 0.17);
}

.cart-item-thumb {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 158, 234, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.cart-item-body {
  position: relative;
  min-width: 0;
  padding-right: 28px;
}

.cart-item-body h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.cart-item-body p {
  margin: 2px 0;
  color: #b7c3d1;
  font-size: 12px;
  line-height: 1.45;
}

.cart-item-price {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.cart-item-status {
  display: block;
  margin-top: 10px;
  color: #6bd12f;
  font-size: 12px;
  font-weight: 800;
}

.cart-item-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 999px;
  background: #6bd12f;
}

.cart-item-body small {
  display: block;
  margin-top: 5px;
  color: #b7c3d1;
  font-size: 12px;
}

.cart-item-remove {
  position: absolute;
  top: -3px;
  right: 0;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: #dfe7ef;
  font-size: 22px;
  cursor: pointer;
}

.cart-item-remove:hover,
.cart-item-remove:focus-visible {
  color: #6bd12f;
  outline: none;
}

.cart-item-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-qty-stepper {
  display: inline-grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  height: 34px;
  border: 1px solid rgba(0, 158, 234, 0.24);
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty-stepper button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #dfe7ef;
  font-size: 16px;
  cursor: pointer;
}

.cart-qty-stepper button:hover,
.cart-qty-stepper button:focus-visible {
  color: #6bd12f;
  background: rgba(107, 209, 47, 0.1);
  outline: none;
}

.cart-qty-stepper span {
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.cart-line-total {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.cart-remove-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 17px 0 18px;
  border: 0;
  background: transparent;
  color: #009eea;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.order-summary {
  padding: 22px 0 0;
  border-top: 1px solid rgba(0, 158, 234, 0.22);
}

.order-summary h3 {
  margin-bottom: 16px;
  font-size: 17px;
}

.order-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.order-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #dfe7ef;
  font-size: 14px;
}

.order-summary dt,
.order-summary dd {
  margin: 0;
}

.order-summary dd {
  text-align: right;
  color: #fff;
  font-weight: 700;
}

.order-total {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 158, 234, 0.18);
  font-weight: 800;
}

.order-summary .order-total dd {
  color: #6bd12f;
  font-size: 24px;
  text-shadow: 0 0 18px rgba(107, 209, 47, 0.25);
}

.cart-cta-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cart-checkout,
.cart-view {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.cart-checkout {
  background: linear-gradient(135deg, #6bd12f, #54d30d);
  color: #061008;
  box-shadow: 0 12px 32px rgba(107, 209, 47, 0.26);
}

.cart-view {
  border: 1px solid rgba(0, 158, 234, 0.35);
  color: #fff;
  background: rgba(2, 7, 13, 0.5);
}

.cart-checkout:hover,
.cart-view:hover,
.cart-checkout:focus-visible,
.cart-view:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.cart-trust-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 158, 234, 0.2);
}

.cart-trust-footer div {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
  color: #009eea;
}

.cart-trust-footer strong,
.cart-trust-footer span {
  display: block;
}

.cart-trust-footer strong {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.cart-trust-footer span {
  color: #b7c3d1;
  font-size: 10px;
  line-height: 1.3;
}

.solutions-icon-link.cart-link::after {
  display: none !important;
}

.cart-link,
[data-cart-open] {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #6bd12f;
  color: #061008;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 14px rgba(107, 209, 47, 0.42);
}

body.drawer-open .db-assist-float {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1180px) and (min-width: 769px) {
  .app-shell[data-app-shell].db-assist-open {
    --left-drawer-width: 0px;
  }

  .app-shell[data-app-shell].cart-open {
    --right-drawer-width: 440px;
  }

  .drawer-panel-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cart-panel-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .app-shell[data-app-shell] {
    display: block;
  }

  .app-shell[data-app-shell] > .assist-drawer,
  .app-shell[data-app-shell] > .cart-drawer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 9999;
    visibility: visible;
    opacity: 1;
    pointer-events: none;
    transition: transform 0.3s ease;
  }

  .app-shell[data-app-shell] > .assist-drawer {
    transform: translateX(-105%);
  }

  .app-shell[data-app-shell] > .cart-drawer {
    transform: translateX(105%);
  }

  .app-shell[data-app-shell].db-assist-open > .assist-drawer,
  .app-shell[data-app-shell].cart-open > .cart-drawer {
    pointer-events: auto;
    transform: translateX(0);
  }

  body.drawer-open {
    overflow: hidden;
  }

  .drawer-panel-inner,
  .cart-panel-inner {
    padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .drawer-logo img {
    width: 148px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-item-thumb {
    width: 72px;
    height: 72px;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
  }

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

@media (max-width: 420px) {
  .assist-quick-grid {
    grid-template-columns: 1fr;
  }

  .free-shipping-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px;
  }

  .shipping-shield {
    width: 40px;
    height: 40px;
  }
}

/* Stable global drawer mount: drawers live outside page flow so page layouts stay intact. */
.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
}

.drawer-root > .db-assist-drawer,
.drawer-root > .cart-drawer {
  position: fixed;
  top: 0;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  padding: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 158, 234, 0.2), transparent 35%),
    radial-gradient(circle at 92% 12%, rgba(107, 209, 47, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(3, 13, 24, 0.98), rgba(2, 7, 13, 0.98));
  color: #fff;
  transition: transform 0.3s ease;
}

.drawer-root > .db-assist-drawer {
  left: 0;
  right: auto;
  width: 340px;
  max-width: min(340px, 100vw);
  transform: translateX(-105%);
  border-right: 1px solid rgba(0, 158, 234, 0.28);
  border-left: 0;
  box-shadow: 28px 0 84px rgba(0, 0, 0, 0.44), 0 0 32px rgba(0, 158, 234, 0.2);
  z-index: 9999;
}

.drawer-root > .cart-drawer {
  right: 0;
  left: auto;
  width: min(520px, 100vw);
  max-width: min(520px, 100vw);
  transform: translateX(105%);
  border-left: 1px solid rgba(0, 158, 234, 0.34);
  border-right: 0;
  box-shadow: -28px 0 84px rgba(0, 0, 0, 0.44), 0 0 32px rgba(0, 158, 234, 0.2);
  z-index: 9999;
}

.drawer-root.db-assist-open > .db-assist-drawer,
.drawer-root.cart-open > .cart-drawer {
  pointer-events: auto;
  transform: translateX(0);
}

.drawer-root .db-assist-avatar {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.drawer-root .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.drawer-root .assist-search-form {
  grid-template-columns: minmax(0, 1fr) 44px;
  grid-template-rows: 44px;
}

.drawer-root .assist-search-form .db-assist-input {
  grid-column: 1;
  grid-row: 1;
}

.drawer-root .assist-search-form button {
  grid-column: 2;
  grid-row: 1;
  width: 44px;
}

@media (max-width: 768px) {
  .drawer-root > .db-assist-drawer,
  .drawer-root > .cart-drawer {
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
  }

  body.drawer-open {
    overflow: hidden;
  }
}
