@font-face {
  font-family: "Inter";
  src: url("/ib_biowand_portal/static/src/fonts/inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/ib_biowand_portal/static/src/fonts/inter/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/ib_biowand_portal/static/src/fonts/inter/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/ib_biowand_portal/static/src/fonts/inter/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/ib_biowand_portal/static/src/fonts/inter/Inter-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #9629D6;
  --purple-2: #A855F7;
  --purple-dark: #2D1B69;
  --purple-50: #FAF5FF;
  --purple-100: #F3E8FF;
  --purple-200: #E9D5FF;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --green: #22C55E;
  --green-50: #F0FDF4;
  --blue: #3B82F6;
  --blue-50: #EFF6FF;
  --amber: #F59E0B;
  --amber-50: #FFFBEB;
  --red: #EF4444;
  --red-50: #FEF2F2;
  --bg: #f8f7fc;
  --line: #e9e5f0;
  --card: #fff;
  --shadow: 0 14px 34px rgba(17, 24, 39, .08);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
  background: #eceaf3;
  color: var(--gray-900);
  overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
}



a {
  text-decoration: none;
  color: inherit
}

.viewer {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  background: #eceaf3
}

.stage {
  width: 100%;
  min-height: calc(var(--h) * min(1, 100vw / var(--w)));
  background: var(--bg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, .06)
}

.stage-inner {
  width: 100%;
  max-width: var(--w);
  min-height: var(--h);
  margin: 0 auto;
  background: var(--bg);
  position: relative
}

.page-white {
  background: #fff
}

.auth-stage {
  background: radial-gradient(circle at 70% 20%, #f7f2ff 0, #ebe7f2 45%, #e9e6ef 100%);
  min-height: var(--h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 0;
}

.topbar {
  height: 64px;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  align-items: center;
  /* padding: 0 158px; */
  gap: 24px;
  max-width: 1110px;
  margin: 0 auto;
}

.header-wrapper{
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-dark);
  letter-spacing: -.04em
}

.brand .biowand_logo {
  width: 110px;
}

.brand span {
  color: var(--purple)
}

.search {
  height: 40px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  color: var(--gray-400);
  font-size: 13px;
  padding: 0 15px;
  gap: 8px;
  margin: auto;
  width: 70%;
}

.search.bw-marketplace-search {
  height: 40px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  color: var(--gray-400);
  font-size: 13px;
  padding: 0 15px;
  gap: 8px;
  margin: auto;
  width: 75%;
  position: relative;
}

.bw-marketplace-search .bw-search-icon-btn {
  border: 0;
  background: transparent;
  color: var(--gray-400);
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
  font-size: 13px;
}

.bw-marketplace-search .bw-search-icon-btn:focus {
  outline: none;
}

.bw-marketplace-search .js-bw-search-input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  outline: 0;
  color: var(--gray-700);
  font: inherit;
  padding: 0;
}

.bw-marketplace-search .js-bw-search-input::placeholder {
  color: var(--gray-400);
}

.bw-marketplace-search .js-bw-search-input::-webkit-search-cancel-button {
  display: none;
}

.top-icons {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  color: var(--gray-500);
  font-size: 17px;
  align-items: center
}

.top-icon {
  position: relative
}

.counter {
  position: absolute;
  right: -9px;
  top: -7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 9px;
  display: grid;
  place-items: center;
  font-weight: 800
}

.counter.red {
  background: #ef4444
}

.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-dot {
  width: 33px;
  height: 33px;
  min-width: 33px;
  min-height: 33px;
  border-radius: 50%;
  background: var(--purple-100);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 0;
  padding: 0;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 190px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
  padding: 8px;
  display: none;
  z-index: 999;
}

.user-menu.open .user-dropdown {
  display: block;
}

.user-dropdown:before {
  content: "";
  position: absolute;
  top: -7px;
  right: 12px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--gray-200);
  border-top: 1px solid var(--gray-200);
  transform: rotate(45deg);
}

.user-dropdown a {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.user-dropdown a:hover {
  background: var(--gray-50);
  color: var(--purple);
  text-decoration: none;
}

.user-dropdown i {
  width: 15px;
  color: var(--purple);
  text-align: center;
}

.wrap {
  max-width: 1110px;
  margin: 0 auto
}

.hero {
  background: #fff;
  padding: 58px 0 72px
}

.hero.compact {
  padding: 45px 0 46px
}

.crumb {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 18px
}

.crumb span {
  color: var(--gray-600)
}

.h1 {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 700;
  /* letter-spacing: -.05em; */
  margin: 0 0 18px
}

.lead {
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.75;
  max-width: 680px;
  margin: 0;
  font-weight: 400;
}

.section {
  padding: 52px 0
}

.label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--gray-400);
  font-weight: 700;
  margin-bottom: 24px
}

.footer {
  height: 64px;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  font-size: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0
}

.footer .footer-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gray-400);
  height: 100%;
  max-width: 1110px;
  margin: 0 auto;
}

.footer .footer-section .footer-link{
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer .footer-section .footer-link a{
    text-decoration: none;
    transition: all 0.3s ease-in-out

}

.footer .footer-section .footer-link a:hover{
    color: #9629D6 ;
    
}

.btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap
}

.btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn.primary {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  border-color: var(--purple);
  color: var(--purple)
}

.btn.ghost {
  background: #fff;
  border-color: var(--gray-200);
  color: var(--gray-700)
}

.btn.block {
  width: 100%
}

.btn.sm {
  height: 34px;
  border-radius: 7px;
  font-size: 13px;
  padding: 0 12px
}

.btn_arrow {
  font-size: 20px;
}

.btn.primary.block .btn-icon-user {
  width: 20px;
  height: 20px;
  /* flex: 0 0 30px; */
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700
}

.pill.purple {
  color: var(--purple);
  background: var(--purple-50)
}

.pill.green {
  color: #16a34a;
  background: var(--green-50)
}

.pill.blue {
  color: #2563eb;
  background: var(--blue-50)
}

.pill.amber {
  color: #b45309;
  background: var(--amber-50)
}

.pill.red {
  color: #dc2626;
  background: var(--red-50)
}

.auth-logo {
  margin-bottom: 30px;
}

.auth-logo img {
  width: 150px;
}

.auth-card {
  width: 420px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(17, 24, 39, .12);
  padding: 38px
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px
}

.step-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-400)
}

.step-bubble.active {
  background: var(--purple);
  color: #fff
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-line {
  width: 60px;
  height: 2px;
  background: var(--gray-200);
}

.step-line.active {
  background: var(--purple);
}

.step-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400)
}

.step-label.active {
  color: #000
}

.back_arrow_btn {
  color: var(--gray-500) !important;
  font-size: 14px;
  font-weight: 500 !important;
  gap: 5px;
}

.auth-card h1 {
  font-size: 24px;
  line-height: 1.05;
  text-align: center;
  margin: 0 0 11px;
  font-weight: 700;
  /* letter-spacing: -.04em */
}

.auth-card p.sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin: 0 0 24px
}

.field {
  margin-bottom: 16px
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--gray-700)
}

.field em {
  color: var(--red);
  font-style: normal
}

.input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  font-size: 12px;
  color: var(--gray-600)
}

.input::placeholder {
  color: var(--gray-400)
}

.input:focus {
  border-color: #9142f4 !important;
  box-shadow: 0 0 0 3px rgba(145, 66, 244, 0.14) !important;
  outline: none;
}

.bw-form-group .form-control::placeholder {
  color: #a7afbd;
}

.bw-form-group .form-control:focus {
  border-color: #9142f4 !important;
  box-shadow: 0 0 0 3px rgba(145, 66, 244, 0.14) !important;
}

.checkline {
  font-size: 11px;
  color: var(--gray-600);
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 14px 0 26px
}

.checkline em {
  color: var(--red);
  font-style: normal;
}

.bw_remember_me {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
}

.bw_remember_me input {
  display: none;
}

.bw_remember_me .checkbox {
  width: 13px;
  height: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  display: inline-block;
  position: relative;
}

.bw_remember_me input:checked+.checkbox {
  background: #8e3df0;
  border-color: #8e3df0;
}

.bw_remember_me input:checked+.checkbox::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.password-wrapper {
  position: relative;
}

.password-wrapper .input {
  width: 100%;
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #98A2B3;
  font-size: 18px;
}

.password-strength {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 7px;
}

.strength-segment {
  height: 3px;
  border-radius: 999px;
  background: #e5e7eb;
}

.password-strength-text {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #6b7280;
}

.password-strength.weak .strength-segment:nth-child(1) {
  background: #ef4444;
}

.password-strength.fair .strength-segment:nth-child(-n+2) {
  background: #f59e0b;
}

.password-strength.medium .strength-segment:nth-child(-n+3) {
  background: #3b82f6;
}

.password-strength.strong .strength-segment:nth-child(-n+4) {
  background: #22c55e;
}

.auth-foot {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 18px
}

.auth-foot a span {
  color: var(--gray-800);
  font-weight: 600;
}

.link {
  color: var(--gray-800);
  font-weight: 500
}

.checkline .link {
  color: var(--purple);
  font-weight: 500
}

.status-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  position: relative;
}

.status-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.status-icon-inner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.status-icon svg {
  width: 40px !important;
  height: 40px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Purple success icon */
.status-icon.purple::before {
  background: #ffffff;
  border-color: #f0e4ff;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.18);
}

.status-icon.purple .status-icon-inner {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
}

/* Orange clock icon */
.status-icon.orange::before {
  background: #ffffff;
  border-color: #fff1d6;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.16);
}

.status-icon.orange .status-icon-inner {
  background: #f59e0b;
  color: #ffffff;
}

/* Pale orange user-plus icon */
.status-icon.pale-orange {
  width: 78px;
  height: 78px;
}

.status-icon.pale-orange::before {
  background: #fffdf3;
  border-color: #fde7a6;
  box-shadow: none;
}

.status-icon.pale-orange .status-icon-inner {
  width: 54px;
  height: 54px;
  background: transparent;
  color: #f59e0b;
}

.status-icon.pale-orange svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.alert_info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 30px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fbf5ff;
  border: 1px solid #ead7ff;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}

.alert_info.orange {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.alert_info.green {
  display: block;
  text-align: left;
  background: #FAFBFC;
  border: 1px solid #EDF0F3;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 26px;
  color: #4b5563;
}

.alert_info.green .steps-title {
  margin-bottom: 14px;
  color: #9CA3AF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert_info.green .steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert_info.green .step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert_info.green .step-number {
  min-width: 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-top: 1px;
}

.alert_info.green .step-item p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}

.alert_icon {
  min-width: 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid #9333ea;
  color: #9333ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

.alert_icon.orange {
  border: 2px solid #D97706;
  color: #D97706;
}

.status-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 10px;
  padding: 14px;
  margin: 20px 0;
  font-size: 12px;
  line-height: 1.55
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 18px 0
}

.status-list div {
  font-size: 12px;
  color: var(--gray-600);
  display: flex;
  gap: 8px
}

.status-list div:before {
  content: '✓';
  color: var(--purple);
  font-weight: 700
}

.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 22px 0
}

/* marketplace cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.category-grid.four {
  grid-template-columns: repeat(4, 1fr)
}

.cat-card {
  height: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .08);
  overflow: hidden;
  text-decoration: none !important;
}

.cat-card.small {
  height: 258px
}

.cat-art {
  height: 258px;
  display: grid;
  place-items: center;
  font-size: 58px;
  color: var(--purple);
  background-color: #2dd4bf;
}

.cat-card.small .cat-art {
  height: 150px;
  font-size: 38px
}

.cat-art.purple {
  background: var(--purple-50)
}

.cat-art.blue {
  background: #eff7ff;
  color: #60a5fa
}

.cat-art.green {
  background: #eafff7;
  color: #2dd4bf
}

.cat-art.amber {
  background: #fffbeb;
  color: #f59e0b
}

.cat-art.red {
  background: #fff1f2;
  color: #f87171
}

.cat-body {
  padding: 22px
}

.cat-card.small .cat-body {
  padding: 18px
}

.cat-title {
  font-size: 18px;
  font-weight: 700;
  /* letter-spacing: -.03em; */
  margin-bottom: 9px
}

.cat-card.small .cat-title {
  font-size: 14px
}

.cat-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray-500);
  margin-bottom: 16px
}

.cat-link {
  font-size: 13px;
  color: var(--purple);
  font-weight: 700
}

.subcat-lists {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px
}

.sub-list-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px
}

.sub-list-title:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 9px;
  background: var(--purple);
  vertical-align: middle
}

.sub-list-title.blue:before {
  background: #3b82f6
}

.sub-list-title.green:before {
  background: #22c55e
}

.sub-list-title.amber:before {
  background: #f59e0b
}

.sub-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px
}

.sub-list li {
  font-size: 14px;
  color: var(--gray-600)
}

/* listing */
.catalog {
  background: transparent;
  overflow: visible;
  isolation: isolate;
}

.catalog>.wrap {
  position: relative;
  z-index: 1;
}

.bw-chip-cats {
  position: relative;
  z-index: 2;
  padding-bottom: 28px;
}

.catalog-layout {
  position: relative;
  z-index: 1;
  background: transparent;
  padding-bottom: 80px;
}

.catalog-layout::before {
  content: "";
  position: absolute;
  top: -24px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f7f5fc;
  z-index: -1;
}

.top-cats {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-bottom: 35px
}

.top-cat {
  height: 104px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--gray-700);
  font-size: 11px;
  font-weight: 700
}

.top-cat.active {
  border: 2px solid var(--purple);
  color: var(--purple);
  box-shadow: 0 8px 18px rgba(124, 58, 237, .14)
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px
}

.filters {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
  padding: 20px
}

.filters-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px
}

.filters-head a {
  color: var(--purple);
  font-weight: 800
}

.filter-group {
  border-top: 1px solid var(--gray-100);
  padding: 16px 0
}

.filter-group:first-of-type {
  border-top: 0
}

.filter-title {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 10px
}

.filter-option {
  font-size: 11px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0
}

.filter-option span:first-child {
  display: flex;
  align-items: center;
  gap: 7px
}

.tiny-box {
  width: 13px;
  height: 13px;
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  background: #fff
}

.listing-head {
  height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-500);
  font-size: 12px;
  margin-bottom: 14px
}

.sort {
  height: 30px;
  width: 150px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.products.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .08);
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  display: block
}

.product .heart {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .14);
  display: grid;
  place-items: center;
  color: var(--gray-500)
}

.product .heart.active i,
.product .heart .fa-heart {
  color: red;
}

.product-body {
  padding: 13px 14px 14px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 172px;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--gray-900);
  /* min-height: 36px; */
  max-height: none;
  margin: 0;
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.product-meta {
  font-size: 12px;
  line-height: 18px;
  color: var(--gray-400);
  margin: 7px 0 10px 0;
  /* min-height: 36px; */
  max-height: 36px;
  overflow: hidden;
}

.product-card-meta-line {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray-400);
  /* margin-top: 7px; */
  /* min-height: 36px; */
  max-height: 36px;
  overflow: hidden;
}

.product-card-meta-line span {
  color: var(--gray-400);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-meta-line .meta-separator {
  color: #c4c9d4;
  margin: 0 2px;
}

.price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  margin: 0 0 10px;
  flex: 0 0 auto;
}

.price {
  font-size: 17px;
  font-weight: 700
}

.case {
  font-size: 10px;
  color: var(--gray-400)
}

/* Standard Odoo pricelist discount display for custom BIOWAND marketplace cards. */
.bw-market-price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.15;
}

.bw-market-price .bw-original-price {
  order: 3;
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 500;
  text-decoration: line-through;
  white-space: nowrap;
}

.bw-market-price .bw-current-price {
  order: 1;
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.bw-discount-badge {
  order: 2;
  position: relative;
  top: -13px;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #F3E8FF;
  color: #7E22CE;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.products .product .bw-discount-badge {
  min-height: 16px;
  padding: 2px 5px;
  font-size: 9px;
  top: -4px;
}

.bw-pdp-discount-price {
  display: flex;
  align-items: center;
  /* gap: 10px; */
  flex-wrap: wrap;
}

.bw-pdp-discount-price .bw-original-price {
  order: 3;
  color: #9CA3AF;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  text-decoration: line-through;
  white-space: nowrap;
  margin-left:10px;
}

.bw-pdp-discount-price .bw-current-price {
  order: 1;
  color: #111827;
  font-size: 32px;
  line-height: 32px;
  font-weight: 800;
  white-space: nowrap;
}

.qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  flex: 0 0 auto;
}

.qty-row .btn.sm,
.qty-row .js-bw-add-to-cart {
  height: 34px;
  min-height: 34px;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0 11px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qty {
  height: 34px;
  display: flex;
  border: 1px solid var(--purple);
  border-radius: 7px;
  overflow: hidden;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700
}

.qty span {
  width: 27px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--purple)
}

.qty span:last-child {
  border-right: 0
}

.paginator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px
}

.page-dot {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--gray-200);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--gray-500)
}

.page-dot.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple)
}

/* =========================================================
   BIOWAND PDP - Figma matched
   ========================================================= */

.pdp {
  background: #F8F7FC;
  padding: 24px 0 96px;
}

.pdp .wrap {
  max-width: 1052px;
}

/* Breadcrumb */
.pdp .crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  color: #6B7280;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.pdp .crumb a {
  color: #6B7280;
  text-decoration: none;
}

.pdp .crumb span {
  color: #D1D5DB;
}

.pdp .crumb span:last-child {
  color: #4B5563;
  font-weight: 600;
}

/* Main top layout */
.pdp-grid {
  display: grid;
  grid-template-columns: 502px 502px;
  gap: 48px;
  align-items: start;
  padding: 10px 0 48px;
}

/* Left image column */
.pdp-media {
  width: 502px;
}

.main-photo {
  width: 502px;
  height: 502px;
  object-fit: cover;
  object-position: center;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);
  display: block;
}

.thumbs {
  width: 502px;
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.pdp-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1.5px solid #E5E7EB;
  padding: 0;
  background: #F9FAFB;
  cursor: pointer;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.pdp-thumb.active {
  border-color: #9629D6;
}

.pdp-thumb img {
  width: 61px;
  height: 61px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

/* Right product info */
.pdp-info {
  width: 502px;
  padding-top: 0;
}

.tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pdp-product-tag {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.pdp-product-tag.purple {
  background: #FAF5FF;
  color: #9629D6;
}

.pdp-product-tag.green {
  background: #F0FDF4;
  color: #16A34A;
}

.pdp-product-tag.blue {
  background: #EFF6FF;
  color: #2563EB;
}

.pdp h1 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.3px;
  font-weight: 700;
}

.sku {
  margin: 0 0 20px;
  color: #9CA3AF;
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
}

/* Price box */
.bw-pdp-price-box {
  width: 100%;
  min-height: 116px;
  background: #FAF5FF;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.pdp-price {
  margin: 0 0 10px;
  color: #111827;
  font-size: 32px;
  line-height: 32px;
  font-weight: 800;
}

.bw-pdp-unit-price,
.bw-pdp-case-line {
  color: #6B7280;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  margin-top: 4px;
}

/* Stock */
.stock {
  height: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #16A34A;
  font-size: 14px;
  line-height: 17px;
  font-weight: 600;
}

.stock .stock-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 8px;
}

.stock strong {
  color: #16A34A;
  font-weight: 600;
}

.stock .bw-ship-time {
  color: #9CA3AF;
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  margin-left: 0;
}

.stock.out-stock,
.stock.out-stock strong {
  color: #DC2626;
}

.stock.out-stock .stock-dot {
  background: #EF4444;
}

/* Key specs */
.spec-chips {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  align-items: stretch;
}

.spec-chip {
  min-height: 68px;
  background: #FAF7FF;
  border: 2px solid #E9D5FF;
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  grid-template-rows: minmax(24px, auto) auto;
  align-content: start;
  row-gap: 6px;
  box-sizing: border-box;
  text-align: left;
}

.spec-chip .k {
  width: 100%;
  min-height: 24px;
  margin: 0;
  padding: 0;
  color: #7C3AED;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: left;
  align-self: start;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.spec-chip .v {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #1F2937;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-align: left;
  align-self: start;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

/* Cart row */
.cart-line {
  width: 100%;
  /* height: 39px; */
  display: grid;
  grid-template-columns: 134px 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.cart-line .qty {
  width: 100%;
  height: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px 44px 44px;
  align-items: center;
  background: #FFFFFF;
}

.cart-line .qty button {
  width: 100%;
  height: 100%;
  border: 0;
  background: #F3F4F6;
  color: #4B5563;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.cart-line .qty input {
  width: 100%;
  height: 100%;
  border: 0;
  border-left: 1.5px solid #DDD6FE;
  border-right: 1.5px solid #DDD6FE;
  background: #fff;
  color: #1F2937;
  text-align: center;
  font-size: 15px;
  line-height: 16px;
  font-weight: 600;
  outline: none;
  padding: 0;
  appearance: textfield;
}

.cart-line .qty input::-webkit-outer-spin-button,
.cart-line .qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-line .btn.primary,
.cart-line .js-bw-add-to-cart {
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #FFFFFF;
  box-shadow: none;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  line-height: 15px;
  font-weight: 600;
}

.cart-line .btn.primary:hover,
.cart-line .js-bw-add-to-cart:hover {
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22);
}

/* Wishlist link */
.wishlist-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #6B7280;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}

.wishlist-link i {
  color: #6B7280;
  font-size: 13px;
}

.wishlist-link.active i,
.wishlist-link .fa-heart {
  color: #EF4444;
}

/* Tabs */
.tabs {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  border-bottom: 1px solid #E5E7EB;
}

.tab {
  height: 48px;
  padding: 14px 24px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6B7280;
  font-size: 14px;
  line-height: 17px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.tab.active {
  color: #9629D6;
  border-bottom-color: #9629D6;
}

/* Panels */
.tab-panels {
  width: 100%;
  padding-top: 32px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.tab-panel h3 {
  margin: 28px 0 12px;
  color: #111827;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.overview_description,
.tab-panel>h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111827;
  font-weight: 700
}

.overview_description,
.tab-panel>p {
  max-width: 720px;
  color: #4B5563;
  font-size: 15px;
  line-height: 27px;
  font-weight: 400;
  margin: 0;
}

.overview_description p {
  margin: 0 0 12px;
}

.bw-pdp-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.bw-pdp-highlights li {
  position: relative;
  padding-left: 25px;
  color: #4B5563;
  font-size: 14px;
  line-height: 22px;
}

.bw-pdp-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #9629D6;
  font-weight: 500;
  font-size: 18px;
}

/* Specification table */
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #FFFFFF;
}

.pdp .spec-table tr {
  min-height: 45px;
}

.pdp .spec-table td {
  padding: 15px 24px;
  border-bottom: 0;
  font-size: 13px;
  line-height: 16px;
  vertical-align: middle;
}

.pdp .spec-table tr:nth-child(odd) td {
  background: #FFFFFF;
}

.pdp .spec-table tr:nth-child(even) td {
  background: #F9FAFB;
}

.pdp .spec-table td:first-child {
  width: 25%;
  color: #374151;
  font-weight: 700;
}

.pdp .spec-table td:nth-child(2) {
  width: 75%;
  color: #4B5563;
  font-weight: 400;
  white-space: pre-line;
}

/* Documents */
.doc-list {
  display: grid;
  gap: 12px;
}

.doc-row {
  min-height: 64px;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #1F2937;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.03);
}

.doc-row:hover {
  border-color: #E9D5FF;
  box-shadow: 0 8px 20px rgba(45, 27, 105, 0.08);
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #FEF2F2;
  color: #EF4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
}

.doc-row strong {
  display: block;
  color: #1F2937;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
}

.doc-row small {
  display: block;
  margin-top: 3px;
  color: #9CA3AF;
  font-size: 11px;
  line-height: 13px;
  font-weight: 500;
}

.doc-row>.fa-download {
  color: #9CA3AF;
}

.bw-pdp-empty-docs {
  min-height: 120px;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  border: 1px dashed #E5E7EB;
  border-radius: 12px;
  color: #9CA3AF;
  font-size: 13px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
  .pdp .wrap {
    max-width: calc(100% - 48px);
  }

  .pdp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .pdp-media,
  .pdp-info,
  .main-photo,
  .thumbs {
    width: 100%;
  }

  .main-photo {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .spec-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .pdp-grid {
    grid-template-columns: 1fr;
  }

  .pdp-info {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .pdp {
    padding: 20px 0 80px;
  }

  .pdp .wrap {
    max-width: calc(100% - 32px);
  }

  .pdp h1 {
    font-size: 23px;
    line-height: 29px;
  }

  .cart-line {
    height: auto;
    grid-template-columns: 1fr;
  }

  .cart-line .qty {
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .tabs {
    overflow-x: auto;
  }

  .tab {
    flex: 0 0 auto;
  }

  .pdp .spec-table td {
    padding: 13px 14px;
  }
}

/* =========================================================
   BIOWAND Wishlist Page - Figma matched
   ========================================================= */

.bw-wishlist-page {
  min-height: calc(100vh - 128px);
  background: #F8F7FC;
  padding: 18px 0 96px;
}

.bw-wishlist-page .wrap {
  max-width: 1152px;
}

/* Breadcrumb */
.bw-wishlist-breadcrumb {
  height: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6B7280;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  margin-bottom: 26px;
}

.bw-wishlist-breadcrumb a {
  color: #6B7280;
  text-decoration: none;
}

.bw-wishlist-breadcrumb span {
  color: #D1D5DB;
}

.bw-wishlist-breadcrumb strong {
  color: #9629D6;
  font-weight: 500;
}

/* Header */
.bw-wishlist-head {
  min-height: 89px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bw-wishlist-title-block {
  display: grid;
  gap: 6px;
}

.bw-wishlist-title {
  height: 34px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #111827;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.56px;
  font-weight: 800;
}

.bw-wishlist-title i {
  color: #EF4444;
  font-size: 26px;
  line-height: 1;
}

.bw-wishlist-title-block p {
  margin: 0;
  color: #6B7280;
  font-size: 15px;
  line-height: 25px;
  font-weight: 400;
}

.bw-wishlist-clear {
  min-width: 85px;
  height: 34px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: transparent;
  color: #4B5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-decoration: none !important;
}

.bw-wishlist-clear:hover {
  border-color: #D1D5DB;
  background: #FFFFFF;
  color: #111827;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
}

/* Empty state */
.wishlist-empty,
.bw-wishlist-empty {
  min-height: 400px;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 8px;
}

.empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: #FEF2F2;
  color: #EF4444;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 18px;
}

.bw-wishlist-empty h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
}

/* Grid */
.wishlist-grid,
.bw-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
}

/* Wishlist product card */
.bw-wishlist-grid .product,
.bw-wishlist-card {
  width: 100%;
  height: auto;
  min-height: 426px;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.bw-wishlist-grid .product:hover,
.bw-wishlist-card:hover {
  border-color: #F3E8FF;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 12px 28px rgba(45, 27, 105, 0.10);
}

/* Image */
.bw-wishlist-img-link {
  display: block;
  width: 100%;
  height: 271px;
  background: #F9FAFB;
  overflow: hidden;
}

.bw-wishlist-grid .product-img {
  width: 100%;
  height: 271px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #F9FAFB;
}

/* Trash button */
.bw-wishlist-grid .heart,
.bw-wishlist-remove {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #FECACA;
  color: #EF4444;
  display: grid;
  place-items: center;
  text-decoration: none !important;
  box-shadow: none;
  z-index: 2;
}

.bw-wishlist-grid .heart i,
.bw-wishlist-remove i {
  color: #EF4444 !important;
  font-size: 18px;
  line-height: 1;
}

.bw-wishlist-grid .heart:hover,
.bw-wishlist-remove:hover {
  background: #FEF2F2;
  border-color: #EF4444;
}

/* Body */
.bw-wishlist-grid .product-body {
  height: auto;
  min-height: 153px;
  padding: 16px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Title */
.bw-wishlist-grid .product-title {
  color: #1F2937;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin: 0;
  max-height: none;
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

/* Meta */
.bw-wishlist-grid .product-meta,
.bw-wishlist-grid .product-card-meta-line {
  color: #9CA3AF;
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 400;
  min-height: 16px;
  max-height: 16px;
  margin: 5px 0 0;
  overflow: hidden;
}

.bw-wishlist-grid .product-card-meta-line span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price row */
.bw-wishlist-grid .price-row {
  min-height: 20px;
  margin: 12px 0 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bw-wishlist-grid .price {
  color: #111827;
  font-size: 16px;
  line-height: 19px;
  font-weight: 700;
}

.bw-wishlist-grid .case {
  color: #9CA3AF;
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  padding-top: 4px;
  white-space: nowrap;
}

/* Qty + Add to Cart row */
.bw-wishlist-grid .qty-row {
  width: 100%;
  height: 39px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bw-wishlist-grid .qty {
  width: 87px;
  flex: 0 0 87px;
  height: 39px;
  border: 1.5px solid #9629D6;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 28px 28px 29px;
  align-items: center;
  background: #FFFFFF;
  color: #9629D6;
}

.bw-wishlist-grid .qty button {
  width: 100%;
  height: 36px;
  border: 0;
  background: #FFFFFF;
  color: #9629D6;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.bw-wishlist-grid .qty input {
  width: 100%;
  height: 36px;
  border: 0;
  border-left: 1.5px solid #DDD6FE;
  border-right: 1.5px solid #DDD6FE;
  background: #F5F3FF;
  color: #1F2937;
  text-align: center;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  outline: none;
  padding: 0;
  appearance: textfield;
}

.bw-wishlist-grid .qty input::-webkit-outer-spin-button,
.bw-wishlist-grid .qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bw-wishlist-grid .qty-row .btn.sm,
.bw-wishlist-grid .qty-row .js-bw-add-to-cart {
  width: 142px;
  flex: 1 1 142px;
  height: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #FFFFFF;
  box-shadow: none;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.bw-wishlist-grid .qty-row .btn.sm:hover,
.bw-wishlist-grid .qty-row .js-bw-add-to-cart:hover {
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22);
}

/* Responsive */
@media (max-width: 1200px) {
  .bw-wishlist-page .wrap {
    max-width: calc(100% - 48px);
  }

  .wishlist-grid,
  .bw-wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {

  .wishlist-grid,
  .bw-wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .bw-wishlist-head {
    padding: 0;
    flex-direction: column;
    gap: 14px;
  }

  .bw-wishlist-clear {
    margin-top: 0;
  }

  .wishlist-grid,
  .bw-wishlist-grid {
    grid-template-columns: 1fr;
  }
}

/* checkout */
.checkout {
  padding: 24px 0 80px
}

.checkout .wrap {
  max-width: 1120px
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin: 14px 0 28px
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gray-400);
  font-size: 12px;
  font-weight: 700
}

.checkout-step .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gray-100)
}

.checkout-step.active {
  color: var(--purple)
}

.checkout-step.active .num {
  background: var(--purple);
  color: #fff
}

.checkout-layout {
  display: grid;
  grid-template-columns: 734px 350px;
  gap: 34px;
  align-items: start;
  justify-content: center
}

.panel {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .08);
  padding: 28px;
  margin-bottom: 24px
}

.panel h2 {
  font-size: 16px;
  margin: 0 0 22px;
  font-weight: 700
}

.address-option,
.delivery-option,
.payment-option {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px
}

.address-option.active,
.delivery-option.active,
.payment-option.active {
  border: 2px solid var(--purple);
  background: var(--purple-50)
}

.radio {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  margin-top: 2px
}

.active .radio {
  border: 5px solid var(--purple)
}

.addr-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px
}

.addr-copy {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.45
}

.order-summary {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 15px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, .12);
  padding: 22px;
  position: sticky;
  top: 20px
}

.sum-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px
}

.sum-head h3 {
  font-size: 15px;
  margin: 0
}

.sum-item {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  margin-bottom: 17px
}

.sum-item img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover
}

.sum-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25
}

.sum-price {
  font-size: 13px;
  font-weight: 700
}

.promo {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 8px;
  margin: 18px 0
}

.promo input {
  height: 34px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 7px;
  font-size: 11px;
  padding: 0 9px
}

.totals {
  border-top: 1px solid var(--gray-200);
  padding-top: 14px
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-600);
  margin-bottom: 11px
}

.total-row.strong {
  font-size: 16px;
  color: var(--gray-900);
  font-weight: 700;
  margin-top: 15px
}

.secure {
  text-align: center;
  margin-top: 20px;
  color: var(--gray-400);
  font-size: 10px
}

.notice {
  border: 1px solid var(--purple-200);
  background: var(--purple-50);
  color: var(--gray-600);
  font-size: 11px;
  line-height: 1.5;
  border-radius: 8px;
  padding: 14px;
  margin: 17px 0
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px
}

.field.full {
  grid-column: 1/-1
}

.textarea {
  height: 94px;
  padding-top: 12px
}

.pay-card {
  max-width: 470px;
  margin: 0 auto
}

.review-block {
  display: grid;
  gap: 18px
}

.review-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-100)
}

.review-row h4 {
  margin: 0 0 8px;
  font-size: 13px
}

.review-row p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0
}

.confirm-list .sum-item {
  grid-template-columns: 62px 1fr auto;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 14px
}

.confirm-list .sum-item img {
  width: 62px;
  height: 62px
}

/* Modal and drawers */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .55);
  z-index: 10;
  display: grid;
  place-items: center
}

.modal {
  width: 430px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 25px 85px rgba(17, 24, 39, .35);
  padding: 34px;
  text-align: center
}

.modal h2 {
  font-size: 20px;
  margin: 0 0 10px
}

.modal p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0 0 24px
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px
}

.bw-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 90;
}

.drawer.bw-cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 390px;
  max-width: calc(100vw - 18px);
  background: #fff;
  box-shadow: -18px 0 50px rgba(17, 24, 39, .16);
  z-index: 91;
  border-left: 1px solid var(--gray-200);
  padding: 0;
  display: none;
  flex-direction: column;
}

.bw-drawer-head {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.bw-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bw-drawer-check {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.bw-drawer-head h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
  color: var(--gray-900);
}

.bw-drawer-close {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--gray-500);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.bw-drawer-items {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
}

.drawer-empty {
  font-size: 13px;
  color: var(--gray-500);
}

.drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 0;
  border-bottom: 0;
}

.drawer-item+.drawer-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}

.drawer-item img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gray-50);
}

.drawer-item-content {
  min-width: 0;
}

.drawer-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.drawer-title {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-badge {
  flex: 0 0 auto;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  color: var(--purple);
  background: #f3e8ff;
  border-radius: 999px;
  padding: 5px 7px;
  text-transform: uppercase;
}

.drawer-meta {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 7px;
}

.drawer-bottom-line {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.drawer-price {
  font-size: 12px;
  color: var(--gray-500);
}

.drawer-qty {
  font-size: 12px;
  color: var(--gray-900);
  white-space: nowrap;
}

.bw-drawer-footer {
  border-top: 1px solid var(--gray-100);
  padding: 18px 24px 20px;
  flex-shrink: 0;
  background: #fff;
}

.bw-drawer-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bw-drawer-subtotal strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
}

.bw-drawer-subtotal span {
  font-size: 12px;
  color: var(--gray-500);
  margin-left: 4px;
}

.bw-drawer-subtotal>strong {
  font-size: 20px;
}

.bw-drawer-discount {
  align-items: center;
  justify-content: space-between;
  margin: -8px 0 16px;
  font-size: 13px;
  color: #047857;
}

.bw-drawer-discount strong {
  font-size: 14px;
  font-weight: 700;
  color: #047857;
}

.drawer-line-discount {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
}

.bw-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: static;
}

.bw-drawer-actions .btn {
  height: 40px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bw-drawer-actions .btn.ghost {
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.bw-drawer-actions .btn.primary {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #fff;
  border: 2px solid var(--purple);
}

@media (max-width: 576px) {
  .drawer.bw-cart-drawer {
    width: calc(100vw - 18px);
  }

  .bw-drawer-head,
  .bw-drawer-items,
  .bw-drawer-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}


.notify-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notify-wrap .top-icon {
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.notifications {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 360px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(17, 24, 39, .18);
  z-index: 999;
  overflow: hidden;
  display: none;
}

.notifications.show {
  display: block;
}

.notif-head {
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-head h3 {
  font-size: 14px;
  margin: 0;
  font-weight: 700;
  color: var(--gray-900);
}

.notif-head a {
  font-size: 11px;
  font-weight: 800;
  color: var(--purple);
  text-decoration: none;
}

.notif-section-title {
  padding: 12px 18px 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-400);
  letter-spacing: .04em;
}

.notif {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  padding: 10px 18px;
  font-size: 12px;
  color: var(--gray-700);
  text-decoration: none;
  background: #fff;
}

.notif:hover {
  background: #faf5ff;
  text-decoration: none;
}

.notif-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-200);
  margin-top: 6px;
}

.notif-dot.active {
  background: var(--purple);
}

.notif-content {
  min-width: 0;
}

.notif-text {
  line-height: 1.45;
  color: var(--gray-600);
}

.notif-text strong {
  color: var(--gray-900);
  font-weight: 700;
  margin-right: 3px;
}

.notif-content small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--gray-400);
}

.notif-empty {
  padding: 22px 18px;
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
}

.notif-footer {
  border-top: 1px solid var(--gray-100);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-footer a {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
}

.screen-title-bar {
  height: 110px;
  background: #000;
  color: #fff;
  font-size: 80px;
  font-weight: 400;
  display: flex;
  align-items: center;
  padding-left: 110px;
  /* letter-spacing: -.04em */
}

/* index */
.index-body {
  background: #f8f7fc
}

.index-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 70px
}

.index-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 8px;
  /* letter-spacing: -.04em */
}

.index-subtitle {
  margin: 0 0 28px;
  color: var(--gray-500);
  line-height: 1.55
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px
}

.index-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .035);
  transition: .18s
}

.index-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--purple-200)
}

.index-card .num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--purple-50);
  color: var(--purple);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 14px
}

.index-card h3 {
  margin: 0 0 8px;
  font-size: 15px
}

.index-card p {
  margin: 0;
  color: var(--gray-500);
  font-size: 12px;
  line-height: 1.45
}

.component-note {
  background: #fff;
  border: 1px dashed var(--purple-200);
  border-radius: 18px;
  padding: 18px;
  margin: 22px 0;
  color: var(--gray-600)
}

@media(max-width:1200px) {
  .topbar {
    padding: 0 34px;
    grid-template-columns: 190px 1fr 190px
  }

  .wrap {
    padding: 0 28px
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-summary {
    position: relative
  }

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

  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .top-cats {
    grid-template-columns: repeat(4, 1fr)
  }

  .catalog-layout {
    grid-template-columns: 220px 1fr
  }

  .pdp-grid {
    grid-template-columns: 1fr
  }

  .main-photo {
    width: 100%;
    height: 480px
  }

  .category-grid,
  .category-grid.four,
  .subcat-lists {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:720px) {
  .topbar {
    padding: 0 18px;
    grid-template-columns: 1fr auto
  }

  .search {
    display: none
  }

  .top-icons {
    gap: 14px
  }

  .wrap {
    padding: 0 18px
  }

  .auth-card {
    width: calc(100vw - 42px);
    padding: 28px
  }

  .category-grid,
  .category-grid.four,
  .subcat-lists,
  .products,
  .products.four,
  .wishlist-grid,
  .form-grid {
    grid-template-columns: 1fr
  }

  .catalog-layout {
    grid-template-columns: 1fr
  }

  .filters {
    display: none
  }

  .top-cats {
    grid-template-columns: repeat(2, 1fr)
  }

  .pdp-grid {
    gap: 22px
  }

  .main-photo {
    height: 360px
  }

  .screen-title-bar {
    font-size: 42px;
    padding-left: 30px
  }

  .drawer,
  .notifications {
    right: 0;
    width: min(92vw, 390px)
  }
}

.bw-market-hero {
  border-bottom: 1px solid var(--gray-100);
}

.bw-category-section {
  background: var(--bg);
  padding: 50px 0 120px;
}

.bw-category-section .category-grid {
  margin-top: 22px;
}

.bw-chip-cats {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.qty button {
  width: 35px;
  border: 0;
  background: #fff;
  color: var(--purple);
  font-weight: 700;
  font-size: 17px;
}

.qty input {
  width: 34px;
  border: 0;
  text-align: center;
  color: #000;
  font-weight: 600;
  outline: none;
  border-left: 2px solid #E9D5FF;
  border-right: 2px solid #E9D5FF;
  background: #FAF5FF;
  /* Hide spinner in Firefox */
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty input[type="number"]::-webkit-outer-spin-button,
.qty input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bw-empty-products {
  grid-column: 1 / -1;
  padding: 34px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-500);
}

@media(max-width:1200px) {
  .bw-chip-cats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width:720px) {
  .bw-chip-cats {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================================================
   BIOWAND Category Cards
   Figma gradient box + centered category icon image.
   Parent: 72px icon
   Subcategory: 56px icon
   Deep chip: 24px icon
   ========================================================= */

:root {
  --bw-cat-card-border: rgba(150, 41, 214, 0.06);
  --bw-cat-card-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.04);

  --bw-cat-purple-bg: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
  --bw-cat-blue-bg: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  --bw-cat-teal-bg: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
  --bw-cat-green-bg: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  --bw-cat-amber-bg: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  --bw-cat-indigo-bg: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  --bw-cat-sky-bg: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  --bw-cat-slate-bg: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  --bw-cat-rose-bg: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
}

/* Main grids */
.category-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.category-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

/* Card shell */
.category-grid>.cat-card,
.category-grid>a.cat-card {
  --bw-cat-bg: var(--bw-cat-purple-bg);

  background: #FFFFFF !important;
  border: 1px solid var(--bw-cat-card-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--bw-cat-card-shadow) !important;
  overflow: hidden !important;
  text-decoration: none !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* Parent card height */
.category-grid:not(.four)>.cat-card,
.category-grid:not(.four)>a.cat-card {
  height: auto !important;
  min-height: 418px !important;
}

/* Subcategory card height */
.category-grid.four>.cat-card,
.category-grid.four>a.cat-card,
.cat-card.small {
  height: auto !important;
  min-height: 256px !important;
}

/* Hover */
.category-grid>.cat-card:hover,
.category-grid>a.cat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(150, 41, 214, 0.16) !important;
  box-shadow:
    0 6px 16px rgba(17, 24, 39, 0.06),
    0 18px 40px rgba(17, 24, 39, 0.08) !important;
}

/* Dynamic gradient cycle for all category cards */
.category-grid>.cat-card:nth-child(9n + 1),
.category-grid>a.cat-card:nth-child(9n + 1) {
  --bw-cat-bg: var(--bw-cat-purple-bg);
}

.category-grid>.cat-card:nth-child(9n + 2),
.category-grid>a.cat-card:nth-child(9n + 2) {
  --bw-cat-bg: var(--bw-cat-blue-bg);
}

.category-grid>.cat-card:nth-child(9n + 3),
.category-grid>a.cat-card:nth-child(9n + 3) {
  --bw-cat-bg: var(--bw-cat-teal-bg);
}

.category-grid>.cat-card:nth-child(9n + 4),
.category-grid>a.cat-card:nth-child(9n + 4) {
  --bw-cat-bg: var(--bw-cat-amber-bg);
}

.category-grid>.cat-card:nth-child(9n + 5),
.category-grid>a.cat-card:nth-child(9n + 5) {
  --bw-cat-bg: var(--bw-cat-indigo-bg);
}

.category-grid>.cat-card:nth-child(9n + 6),
.category-grid>a.cat-card:nth-child(9n + 6) {
  --bw-cat-bg: var(--bw-cat-green-bg);
}

.category-grid>.cat-card:nth-child(9n + 7),
.category-grid>a.cat-card:nth-child(9n + 7) {
  --bw-cat-bg: var(--bw-cat-sky-bg);
}

.category-grid>.cat-card:nth-child(9n + 8),
.category-grid>a.cat-card:nth-child(9n + 8) {
  --bw-cat-bg: var(--bw-cat-slate-bg);
}

.category-grid>.cat-card:nth-child(9n + 9),
.category-grid>a.cat-card:nth-child(9n + 9) {
  --bw-cat-bg: var(--bw-cat-rose-bg);
}

/* Parent gradient box */
.category-grid:not(.four) .cat-card .cat-art,
.category-grid:not(.four) .cat-card .bw-cat-art {
  width: 100% !important;
  height: 262px !important;
  background: var(--bw-cat-bg) !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
}

/* Parent centered icon image */
.category-grid:not(.four) .cat-card .bw-category-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  opacity: 1 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.category-grid:not(.four) .cat-card .bw-category-card-img[src*="category-fallback.svg"] {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  object-fit: contain !important;
  opacity: 0.75 !important;
}

.category-grid:not(.four) .cat-card .bw-category-icon-img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  object-fit: contain !important;
  opacity: 0.75 !important;
}

.category-grid.four .cat-card .bw-category-icon-img,
.cat-card.small .bw-category-icon-img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  opacity: 0.75 !important;
}

/* Subcategory gradient box */
.category-grid.four .cat-card .cat-art,
.category-grid.four .cat-card .bw-cat-art,
.cat-card.small .cat-art,
.cat-card.small .bw-cat-art {
  width: 100% !important;
  height: 150px !important;
  background: var(--bw-cat-bg) !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
}

/* Subcategory centered icon image */
.category-grid.four .cat-card .bw-category-card-img,
.cat-card.small .bw-category-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  opacity: 1 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.category-grid.four .cat-card .bw-category-card-img[src*="category-fallback.svg"],
.cat-card.small .bw-category-card-img[src*="category-fallback.svg"] {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  opacity: 0.75 !important;
}

/* Placeholder only if image missing */
.cat-card .bw-category-placeholder {
  width: 72px !important;
  height: 72px !important;
  display: grid !important;
  place-items: center !important;
  background: transparent !important;
  color: #9629D6 !important;
  font-size: 34px !important;
  font-weight: 700 !important;
}

.category-grid.four .cat-card .bw-category-placeholder,
.cat-card.small .bw-category-placeholder {
  width: 56px !important;
  height: 56px !important;
  font-size: 26px !important;
}

/* Card body */
.cat-body {
  padding: 24px !important;
  background: #FFFFFF !important;
  display: flex !important;
  flex-direction: column !important;
}

.cat-card.small .cat-body,
.category-grid.four .cat-card .cat-body {
  height: auto !important;
  min-height: 106px !important;
  padding: 14px 16px 14px !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.cat-title {
  color: #111827 !important;
  font-size: 18px !important;
  line-height: 22px !important;
  letter-spacing: -0.2px !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
  max-height: none !important;
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
}

.cat-card.small .cat-title,
.category-grid.four .cat-card .cat-title {
  font-size: 17px !important;
  line-height: 18px !important;
  letter-spacing: -0.15px !important;
  font-weight: 700 !important;
  margin: 0 0 7px !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
}

.cat-copy {
  color: #6B7280 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  font-weight: 400 !important;
  margin: 0 0 14px !important;
}

.cat-card.small .cat-copy,
.category-grid.four .cat-card .cat-copy {
  color: #9CA3AF !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  min-height: 16px !important;
}

.cat-link {
  color: #9629D6 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
}

/* Deep category chips */
.bw-chip-cats {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 34px !important;
  padding-bottom: 28px !important;
}

.bw-chip-cat {
  --bw-cat-bg: var(--bw-cat-purple-bg);

  /* height: 112px !important; */
  background: #FFFFFF !important;
  border: 1px solid var(--bw-cat-card-border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  display: grid !important;
  /* grid-template-rows: 70px 42px !important; */
  padding: 0 !important;
  box-shadow: var(--bw-cat-card-shadow) !important;
  text-align: center !important;
  text-decoration: none !important;
  color: #374151 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* Dynamic gradient cycle for deep chips */
.bw-chip-cats>.bw-chip-cat:nth-child(9n + 1) {
  --bw-cat-bg: var(--bw-cat-purple-bg);
}

.bw-chip-cats>.bw-chip-cat:nth-child(9n + 2) {
  --bw-cat-bg: var(--bw-cat-blue-bg);
}

.bw-chip-cats>.bw-chip-cat:nth-child(9n + 3) {
  --bw-cat-bg: var(--bw-cat-teal-bg);
}

.bw-chip-cats>.bw-chip-cat:nth-child(9n + 4) {
  --bw-cat-bg: var(--bw-cat-amber-bg);
}

.bw-chip-cats>.bw-chip-cat:nth-child(9n + 5) {
  --bw-cat-bg: var(--bw-cat-indigo-bg);
}

.bw-chip-cats>.bw-chip-cat:nth-child(9n + 6) {
  --bw-cat-bg: var(--bw-cat-green-bg);
}

.bw-chip-cats>.bw-chip-cat:nth-child(9n + 7) {
  --bw-cat-bg: var(--bw-cat-sky-bg);
}

.bw-chip-cats>.bw-chip-cat:nth-child(9n + 8) {
  --bw-cat-bg: var(--bw-cat-slate-bg);
}

.bw-chip-cats>.bw-chip-cat:nth-child(9n + 9) {
  --bw-cat-bg: var(--bw-cat-rose-bg);
}

/* Chip gradient box */
.bw-chip-icon,
.bw-chip-media {
  width: 100% !important;
  height: 70px !important;
  background: var(--bw-cat-bg) !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}

/* Chip centered icon image */
.bw-chip-img,
.bw-chip-full-img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  opacity: 0.78 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Chip placeholder only if image missing */
.bw-chip-placeholder,
.bw-chip-full-placeholder {
  width: 40px !important;
  height: 40px !important;
  display: grid !important;
  place-items: center !important;
  background: transparent !important;
  color: #9629D6 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* Chip text bottom white area */
.bw-chip-name,
.bw-chip-cat>span:last-child {
  min-height: 42px !important;
  /* max-height: 42px !important; */
  padding: 5px 8px !important;
  background: #FFFFFF !important;
  color: #374151 !important;
  text-align: center !important;
  font-size: 11px !important;
  line-height: 16px !important;
  font-weight: 700 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  display: block !important;
}

/* Responsive safety */
@media (max-width: 1200px) {

  .category-grid,
  .category-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bw-chip-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {

  .category-grid,
  .category-grid.four {
    grid-template-columns: 1fr !important;
  }

  .bw-chip-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.bw-choice {
  cursor: pointer;
  position: relative;
}

.bw-choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bw-choice.active {
  border: 2px solid var(--purple);
  background: var(--purple-50);
}

.bw-add-new-address {
  border-style: dashed;
  color: var(--purple);
}

.bw-check-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.bw-billing-same {
  margin: 0;
}

.delivery-option strong {
  font-size: 12px;
  color: var(--gray-900);
  white-space: nowrap;
}

.order-summary .sum-item {
  align-items: start;
}

.order-summary .addr-copy {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}


/* =========================================================
   BIOWAND Checkout / Payment / Review - Figma matched
   ========================================================= */

.bw-checkout-screen {
  background: #F8F7FC;
  padding: 16px 0 96px;
  min-height: calc(100vh - 64px);
}

.stage:has(.bw-checkout-screen),
.stage-inner:has(.bw-checkout-screen) {
  overflow: visible;
  height: auto;
  min-height: 100vh;
}

.bw-checkout-screen~.footer {
  position: static;
  background: #F8F7FC;
}

.bw-checkout-screen .wrap {
  width: 1152px;
  max-width: 1152px;
  padding: 0;
}

/* Breadcrumb */
.bw-checkout-screen .crumb {
  height: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  color: #6B7280;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.bw-checkout-screen .crumb a {
  color: #6B7280;
  text-decoration: none;
}

.bw-checkout-screen .crumb span {
  color: #D1D5DB;
  margin: 0;
}

.bw-checkout-screen .crumb span:last-child {
  color: #9629D6;
}

/* Stepper */
.bw-checkout-screen .checkout-steps {
  width: 680px;
  height: 32px;
  margin: 0 35px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding-top: 10px;
}

.bw-checkout-screen .checkout-step {
  position: relative;
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9CA3AF;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.bw-checkout-screen .checkout-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 8px);
  top: 15px;
  width: 45px;
  height: 2px;
  border-radius: 1px;
  background: #E5E7EB;
}

.bw-checkout-screen .checkout-step.complete:not(:last-child)::after {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
}

.bw-checkout-screen .checkout-step .num {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #F3F4F6;
  border: 1.5px solid #E5E7EB;
  color: #9CA3AF;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  box-shadow: none;
}

.bw-checkout-screen .checkout-step.active {
  color: #1F2937;
}

.bw-checkout-screen .checkout-step.active .num,
.bw-checkout-screen .checkout-step.complete .num {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.30);
}

.bw-checkout-screen .checkout-step.complete {
  color: #1F2937;
}

/* Main layout */
.bw-checkout-screen .checkout-layout {
  display: grid;
  grid-template-columns: 680px 330px;
  gap: 32px;
  align-items: start;
  padding: 0 24px 64px;
}

/* Panels */
.bw-checkout-screen .panel {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(150, 41, 214, 0.06);
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 6px 16px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(45, 27, 105, 0.04);
  padding: 32px;
  margin: 0 0 20px;
}

.bw-checkout-screen .panel h2 {
  width: 100%;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F3F4F6;
  color: #111827;
  font-size: 16px;
  line-height: 19px;
  font-weight: 700;
}

/* Address / delivery / payment options */
.bw-checkout-screen .address-option,
.bw-checkout-screen .delivery-option,
.bw-checkout-screen .payment-option {
  position: relative;
  width: 100%;
  min-height: 98px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 18px;
  margin: 0 0 12px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.bw-checkout-screen .address-option:hover,
.bw-checkout-screen .delivery-option:hover,
.bw-checkout-screen .payment-option:hover {
  border-color: #E9D5FF;
  background: #FAF5FF;
}

.bw-checkout-screen .address-option.active,
.bw-checkout-screen .delivery-option.active,
.bw-checkout-screen .payment-option.active {
  background: #FAF5FF;
  border: 1.5px solid #9629D6;
  box-shadow: 0 8px 20px rgba(150, 41, 214, 0.08);
}

.bw-checkout-screen .bw-choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bw-checkout-screen .radio {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid #D1D5DB;
  border-radius: 999px;
  background: #FFFFFF;
  display: block;
}

.bw-checkout-screen .active .radio {
  border-color: #9629D6;
  box-shadow: inset 0 0 0 4px #FFFFFF;
  background: #9629D6;
}

.bw-checkout-screen .addr-title {
  margin: 0 0 4px;
  color: #1F2937;
  font-size: 14px;
  line-height: 17px;
  font-weight: 600;
}

.bw-checkout-screen .addr-copy {
  color: #6B7280;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}

.bw-checkout-screen .pill.purple {
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #F3E8FF;
  color: #9629D6;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
}

.bw-checkout-screen .bw-add-new-address {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-style: dashed;
  color: #9629D6;
}

/* Form fields */
.bw-checkout-screen .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.bw-checkout-screen .field.full {
  grid-column: 1 / -1;
}

.bw-checkout-screen .field label {
  display: block;
  margin: 0 0 7px;
  color: #374151;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
}

.bw-checkout-screen .input,
.bw-checkout-screen select.input,
.bw-checkout-screen textarea.input {
  width: 100%;
  height: 42px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  background: #FFFFFF;
  color: #374151;
  font-size: 13px;
  line-height: 42px;
  font-family: inherit;
  outline: none;
  box-shadow: none;
}

.bw-checkout-screen textarea.input {
  height: auto;
  min-height: 88px;
  padding-top: 10px;
  line-height: 20px;
}

.bw-checkout-screen .input::placeholder {
  color: #9CA3AF;
}

.bw-checkout-screen .input:focus,
.bw-checkout-screen select.input:focus,
.bw-checkout-screen textarea.input:focus {
  border-color: #9629D6;
  box-shadow: 0 0 0 3px rgba(150, 41, 214, 0.12);
}

/* Checkboxes */
.bw-checkout-screen .checkline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.bw-checkout-screen .checkline input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #9629D6;
}

/* Delivery methods */
.bw-checkout-screen .delivery-option {
  min-height: 78px;
  align-items: center;
}

.bw-checkout-screen .delivery-option strong {
  color: #1F2937;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.bw-checkout-screen .notice {
  margin: 14px 0 0;
  padding: 13px 14px;
  border: 1px solid #FEF3C7;
  border-radius: 10px;
  background: #FFFBEB;
  color: #92400E;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* Action buttons */
.bw-checkout-main-actions,
.bw-step-actions {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 12px;
  margin-top: 18px;
}

.bw-checkout-screen .btn {
  min-height: 42px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: inherit;
  font-size: 15px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none;
}

.bw-checkout-main-actions.bw-single-action {
  grid-template-columns: 1fr !important;
}

.bw-checkout-main-actions.bw-single-action .bw-rfq-btn {
  width: 100% !important;
}

.checkout .order-summary .js-bw-rfq-form {
  width: 100% !important;
}

.checkout .order-summary .js-bw-rfq-form .bw-rfq-btn {
  width: 100% !important;
}

.bw-checkout-screen .btn.primary {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.bw-checkout-screen .btn.secondary {
  background: #FFFFFF;
  border-color: #9629D6;
  color: #9629D6;
}

.bw-checkout-screen .btn.ghost {
  background: #FFFFFF;
  border-color: #E5E7EB;
  color: #4B5563;
}

.bw-checkout-screen .btn.block {
  width: 100%;
}

/* Order summary */
.bw-checkout-screen .order-summary {
  width: 330px;
  background: #FFFFFF;
  border: 1px solid rgba(150, 41, 214, 0.06);
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 6px 16px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(45, 27, 105, 0.04);
  padding: 24px;
  position: sticky;
  top: 20px;
}

.bw-checkout-screen .sum-head,
.bw-checkout-screen .bw-cart-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
}

.bw-checkout-screen .sum-head h3,
.bw-checkout-screen .bw-cart-summary-head h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 19px;
  font-weight: 700;
}

.bw-checkout-screen .sum-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #F3F4F6;
}

.bw-checkout-screen .sum-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #F3F4F6;
}

.bw-checkout-screen .sum-title {
  color: #1F2937;
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
}

.bw-checkout-screen .sum-price {
  color: #111827;
  font-size: 13px;
  line-height: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.bw-checkout-screen .promo,
.bw-checkout-screen .bw-promo-form {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 8px;
  margin: 18px 0;
}

.bw-checkout-screen .promo input,
.bw-checkout-screen .bw-promo-form input {
  height: 38px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0 12px;
  color: #374151;
  font-size: 13px;
}

.bw-checkout-screen .totals {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bw-checkout-screen .total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6B7280;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.bw-checkout-screen .total-row strong {
  color: #111827;
  font-weight: 700;
}

.bw-checkout-screen .total-row.strong {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid #F3F4F6;
  color: #111827;
  font-size: 18px;
  line-height: 22px;
  font-weight: 800;
}

.bw-checkout-screen .secure {
  margin-top: 18px;
  color: #9CA3AF;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-align: center;
}

/* Payment */
.bw-payment-screen .bw-payment-panel {
  min-height: 280px;
}

.bw-payment-provider-list {
  display: grid;
  gap: 12px;
}

/* Review */
.bw-review-panel .bw-review-section {
  padding: 18px 0;
  border-bottom: 1px solid #F3F4F6;
}

.bw-review-panel .bw-review-section:first-of-type {
  padding-top: 0;
}

.bw-review-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bw-review-title-row h3,
.bw-review-section h3 {
  margin: 0;
  color: #111827;
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
}

.bw-review-title-row a {
  color: #9629D6;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.bw-review-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
}

.bw-review-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.bw-review-item strong {
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.bw-review-item span {
  color: #6B7280;
  font-size: 12px;
  margin-top: 4px;
}



/* Responsive */
@media (max-width: 1200px) {
  .bw-checkout-screen .wrap {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
  }

  .bw-checkout-screen .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 980px) {
  .bw-checkout-screen .checkout-steps {
    width: 100%;
    justify-content: flex-start;
    gap: 42px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .bw-checkout-screen .checkout-step:not(:last-child)::after {
    width: 30px;
  }

  .bw-checkout-screen .checkout-layout {
    grid-template-columns: 1fr;
    padding: 0 0 64px;
  }

  .bw-checkout-screen .order-summary {
    width: 100%;
    position: static;
  }
}

@media (max-width: 640px) {
  .bw-checkout-screen .wrap {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .bw-checkout-screen .panel,
  .bw-checkout-screen .order-summary {
    padding: 20px;
  }

  .bw-checkout-screen .form-grid,
  .bw-checkout-main-actions,
  .bw-step-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   BIOWAND native Odoo payment.form styling
   ========================================================= */

.bw-checkout-screen .bw-odoo-payment-form {
  margin-top: 4px;
}

/* Hide Odoo duplicate heading because BIOWAND already has "Payment Method" */
.bw-checkout-screen .bw-odoo-payment-form #o_payment_methods>p.h4,
.bw-checkout-screen .bw-odoo-payment-form #o_payment_methods>p.mb-3 {
  display: none !important;
}

.bw-checkout-screen .bw-odoo-payment-form #o_payment_form {
  margin: 0 !important;
}

.bw-checkout-screen .bw-odoo-payment-form #o_payment_form_options {
  gap: 12px !important;
}

.bw-checkout-screen .bw-odoo-payment-form ul.list-group {
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bw-checkout-screen .bw-odoo-payment-form li[name="o_payment_option"] {
  border: 1px solid var(--gray-200) !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  background: #fff !important;
  box-shadow: none !important;
  margin: 0 0 12px !important;
}

.bw-checkout-screen .bw-odoo-payment-form li[name="o_payment_option"]:has(input:checked) {
  border: 2px solid var(--purple) !important;
  background: var(--purple-50) !important;
  padding: 15px 17px !important;
}

.bw-checkout-screen .bw-odoo-payment-form .form-check {
  padding-left: 0 !important;
}

.bw-checkout-screen .bw-odoo-payment-form input[name="o_payment_radio"] {
  position: static !important;
  width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  margin: 2px 10px 0 0 !important;
  border: 1px solid var(--gray-300) !important;
  box-shadow: none !important;
  accent-color: var(--purple);
}

.bw-checkout-screen .bw-odoo-payment-form input[name="o_payment_radio"]:checked {
  background-color: var(--purple) !important;
  border-color: var(--purple) !important;
}

.bw-checkout-screen .bw-odoo-payment-form .o_payment_option_label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
  line-height: 1.3 !important;
}

.bw-checkout-screen .bw-odoo-payment-form .gap-1 img {
  max-height: 22px !important;
  width: auto !important;
}

.bw-checkout-screen .bw-odoo-payment-form div[name="o_payment_inline_form"] {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--gray-100) !important;
}

/* Stripe Elements container */
.bw-checkout-screen .bw-odoo-payment-form div[name="o_stripe_element_container"] {
  min-height: 44px !important;
  border: 1px solid var(--gray-200) !important;
  border-radius: 9px !important;
  background: #fff !important;
  padding: 11px 12px !important;
}

/* Save payment details + secured by */
.bw-checkout-screen .bw-odoo-payment-form div[name="o_payment_tokenize_container"] {
  font-size: 12px !important;
  color: var(--gray-600) !important;
}

.bw-checkout-screen .bw-odoo-payment-form div[name="o_payment_tokenize_container"] input {
  width: 13px !important;
  height: 13px !important;
  min-height: 13px !important;
  accent-color: var(--purple);
}

.bw-checkout-screen .bw-odoo-payment-form p[name="o_payment_secured_by"] {
  font-size: 11px !important;
  color: var(--gray-400) !important;
}

/* Odoo payment submit button */
.bw-checkout-screen .bw-odoo-payment-form button[type="submit"],
.bw-checkout-screen .bw-odoo-payment-form .btn-primary {
  height: 42px !important;
  border-radius: 9px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  width: 100% !important;
  margin-top: 18px !important;
  box-shadow: none !important;
}

.bw-checkout-screen .bw-step-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 160px;
}


/* =========================================================
   BIOWAND Payment Method Step
   ========================================================= */

.bw-payment-screen .bw-payment-panel {
  min-height: 320px;
}

.bw-payment-screen .bw-payment-provider-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 26px;
}

.bw-payment-screen .payment-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.bw-payment-screen .payment-option.active {
  border: 2px solid var(--purple);
  background: var(--purple-50);
  padding: 15px 17px;
}

.bw-payment-screen .payment-option .addr-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.bw-payment-screen .payment-option .addr-copy {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.45;
}

.bw-payment-screen .bw-payment-actions {
  display: grid !important;
  grid-template-columns: 160px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  margin-top: 28px !important;
}

.bw-payment-screen .bw-payment-actions .btn {
  height: 44px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.bw-payment-screen .bw-payment-actions .btn.secondary {
  background: #F9FAFB !important;
  border: 1px solid var(--gray-200) !important;
  color: var(--gray-700) !important;
}

.bw-payment-screen .bw-payment-actions .btn.primary {
  width: 100% !important;
  border: 0 !important;
  color: #fff !important;
}

.bw-payment-screen .bw-payment-actions .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}


/* =========================================================
   BIOWAND Payment Status Page - final working version
   Used by payment.payment_status via marketplace_layout
   ========================================================= */

.bw-payment-status-screen {
  background: #fff;
  padding: 34px 0 96px;
  min-height: calc(100vh - 64px);
}

.bw-payment-status-screen .wrap {
  width: 1110px;
  max-width: 1110px;
  padding: 0;
}

.bw-payment-status-screen .checkout-layout,
.bw-payment-status-layout {
  display: grid;
  grid-template-columns: 690px 386px;
  gap: 34px;
  align-items: start;
  justify-content: center;
}

.bw-payment-status-panel {
  text-align: center;
}

.bw-payment-native-status {
  width: 100%;
}

.bw-payment-status-title {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0 0 18px;
  text-align: center;
}

.bw-payment-status-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--purple-50);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.bw-payment-status-title h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--gray-900);
}

.bw-payment-status-title p {
  max-width: 430px;
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.55;
}

.bw-payment-native-status div[name="o_payment_status_alert"],
.bw-payment-native-status .alert {
  margin: 0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-size: 13px !important;
  text-align: left;
  border: 1px solid var(--purple-200) !important;
  background: var(--purple-50) !important;
  color: var(--gray-700) !important;
}

.bw-payment-native-status .alert-link {
  color: var(--purple) !important;
  font-weight: 700 !important;
}

.bw-payment-native-status .text-bg-light {
  background: #fff !important;
  border: 1px solid var(--gray-200) !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  margin: 12px 0 0 !important;
}

.bw-payment-native-status label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--gray-500) !important;
}

.bw-payment-native-status .fs-5 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
}

.bw-payment-status-side {
  width: 100%;
}

.bw-payment-status-side-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  margin: 16px 0;
}

.bw-payment-status-side-note strong {
  font-size: 13px;
  color: var(--gray-900);
}

.bw-payment-status-side-note span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-500);
}

@media (max-width: 1200px) {
  .bw-payment-status-screen .wrap {
    width: 100%;
    max-width: 1110px;
    padding: 0 28px;
  }

  .bw-payment-status-screen .checkout-layout,
  .bw-payment-status-layout {
    grid-template-columns: 1fr;
  }

  .bw-payment-status-screen .order-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .bw-payment-status-screen {
    padding: 24px 0 70px;
  }

  .bw-payment-status-screen .wrap {
    padding: 0 18px;
  }
}

.search {
  position: relative;
}

.bw-search-icon-btn {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
}

.bw-search-icon-btn:focus {
  outline: none;
}

.search .js-bw-search-input {
  flex: 1;
  min-width: 0;
}

.search .js-bw-search-input::-webkit-search-cancel-button {
  display: none;
}

.bw-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
  padding: 8px;
  display: none;
  z-index: 1000;
  color: var(--gray-900);
}

.bw-search-suggestions.show {
  display: block;
}

.bw-search-suggestion {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--gray-800);
}

.bw-search-suggestion:hover {
  background: var(--purple-50);
  color: var(--gray-900);
}

.bw-search-suggestion img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}

.bw-search-suggestion-body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.bw-search-suggestion-body strong {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bw-search-suggestion-body small {
  font-size: 11px;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bw-search-suggestion-body em {
  font-style: normal;
  font-size: 12px;
  color: var(--purple);
  font-weight: 700;
}

.bw-search-state {
  padding: 14px 12px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.bw-empty-products {
  width: 100%;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 34px 24px;
  text-align: center;
  color: var(--gray-500);
  grid-column: 1 / -1;
}

.bw-empty-products h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.bw-empty-products p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-500);
}

.bw-empty-products .btn {
  display: inline-flex;
  width: auto;
}

.bw-auth-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bw-auth-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}

.bw-btn-loader {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bwBtnSpin 0.7s linear infinite;
}

.bw-auth-submit.is-loading .bw-btn-loader {
  display: inline-block;
}

@keyframes bwBtnSpin {
  to {
    transform: rotate(360deg);
  }
}


.checkout.bw-checkout-screen .order-summary .promo.bw-promo-form,
.checkout.bw-checkout-screen .order-summary .bw-promo-form {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 18px 0 12px !important;
}

.checkout.bw-checkout-screen .order-summary .bw-promo-form input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 38px !important;
  border: 1px solid var(--gray-200) !important;
  border-radius: 8px !important;
  background: var(--gray-50) !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  color: var(--gray-700) !important;
  outline: none !important;
}

.checkout.bw-checkout-screen .order-summary .bw-promo-form input:focus {
  border-color: var(--purple) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .10) !important;
}

.checkout.bw-checkout-screen .order-summary .bw-promo-form button {
  flex: 0 0 74px !important;
  width: 74px !important;
  height: 38px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.checkout.bw-checkout-screen .bw-promo-message {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 8px 0 12px !important;
}

.checkout.bw-checkout-screen .bw-promo-success {
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: #047857 !important;
}

.checkout.bw-checkout-screen .bw-promo-error {
  background: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  color: #B91C1C !important;
}

.checkout.bw-checkout-screen .bw-reward-summary-line {
  grid-template-columns: 36px 1fr auto !important;
  background: #F8F5FF !important;
  border: 1px solid #EDE9FE !important;
  border-radius: 12px !important;
  padding: 10px !important;
  margin: 8px 0 !important;
}

.checkout.bw-checkout-screen .bw-reward-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 9px !important;
  display: grid !important;
  place-items: center !important;
  background: #EDE9FE !important;
  color: #7C3AED !important;
}

.checkout.bw-checkout-screen .bw-discount-amount,
.checkout.bw-checkout-screen .bw-discount-total-row span,
.checkout.bw-checkout-screen .bw-line-discount {
  color: #047857 !important;
}


.checkout .checkout-layout {
  grid-template-columns: minmax(0, 700px) 380px !important;
  gap: 34px !important;
}

.checkout .order-summary {
  width: 380px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(150, 41, 214, 0.06) !important;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.04),
    0px 6px 16px rgba(0, 0, 0, 0.04),
    0px 20px 40px rgba(45, 27, 105, 0.04) !important;
  border-radius: 16px !important;
  padding: 24px 25px 18px !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
}

.checkout .order-summary .sum-head {
  height: auto !important;
  margin: 0 0 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.checkout .order-summary .sum-head h3 {
  margin: 0 !important;
  color: #111827 !important;
  font-size: 17px !important;
  line-height: 21px !important;
  font-weight: 700 !important;
}

.checkout .order-summary .sum-head .pill.purple {
  min-height: 20px !important;
  padding: 2px 10px !important;
  border-radius: 20px !important;
  background: #F3E8FF !important;
  color: #9629D6 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

.checkout .order-summary .sum-item {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: flex-start !important;
  padding: 14px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #F3F4F6 !important;
}

.checkout .order-summary .sum-item img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  background: #F3F4F6 !important;
}

.checkout .order-summary .sum-title {
  color: #1F2937 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  margin: 0 0 6px !important;
}

.checkout .order-summary .addr-copy {
  color: #6B7280 !important;
  font-size: 12px !important;
  line-height: 15px !important;
  font-weight: 400 !important;
}

.checkout .order-summary .sum-price {
  color: #1F2937 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.checkout .order-summary .bw-promo-area {
  border-top: 1px solid #F3F4F6 !important;
  padding-top: 17px !important;
  margin-top: 14px !important;
}

.checkout .order-summary .promo.bw-promo-form,
.checkout .order-summary .bw-promo-form {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 7px !important;
  width: 100% !important;
}

.checkout .order-summary .bw-promo-form input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 40px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  color: #9CA3AF !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  outline: none !important;
}

.checkout .order-summary .bw-promo-form input:focus {
  border-color: #9629D6 !important;
  color: #1F2937 !important;
  box-shadow: 0 0 0 3px rgba(150, 41, 214, 0.10) !important;
}

.checkout .order-summary .bw-promo-form button {
  flex: 0 0 72px !important;
  width: 72px !important;
  height: 40px !important;
  background: #FAF5FF !important;
  border: 1.5px solid #E9D5FF !important;
  border-radius: 8px !important;
  color: #9629D6 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.checkout .order-summary .bw-promo-form button:hover {
  background: #F3E8FF !important;
  border-color: #D8B4FE !important;
}

.checkout .order-summary .bw-promo-form button.is-applied {
  background: #FAF5FF !important;
  border-color: #E9D5FF !important;
  color: #9629D6 !important;
}

.checkout .order-summary .bw-promo-chip-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 14px 0 8px !important;
}

.checkout .order-summary .bw-promo-chip {
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 9px 0 18px !important;
  background: #FAF5FF !important;
  border: 1px solid #E9D5FF !important;
  border-radius: 88px !important;
  color: #9629D6 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
}

.checkout .order-summary .bw-promo-chip-remove {
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  background: transparent !important;
  color: #9629D6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  font-size: 22px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
}

.checkout .order-summary .bw-promo-message {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 15px !important;
  font-weight: 400 !important;
}

.checkout .order-summary .bw-promo-success {
  color: #16A34A !important;
}

.checkout .order-summary .bw-promo-error {
  color: #DC2626 !important;
}

.checkout .order-summary .totals {
  border-top: 1px solid #F3F4F6 !important;
  margin-top: 22px !important;
  padding-top: 17px !important;
}

.checkout .order-summary .total-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  color: #4B5563 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 400 !important;
}

.checkout .order-summary .total-row strong {
  color: #1F2937 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
}

.checkout .order-summary .total-row.strong {
  border-top: 1px solid #E5E7EB !important;
  margin-top: 12px !important;
  padding-top: 18px !important;
  color: #111827 !important;
  font-size: 16px !important;
  line-height: 19px !important;
  font-weight: 700 !important;
}

.checkout .order-summary .total-row.strong strong,
.checkout .order-summary .total-row.strong strong span {
  color: #111827 !important;
  font-size: 20px !important;
  line-height: 24px !important;
  font-weight: 800 !important;
}

.checkout .order-summary .secure {
  border-top: 1px solid #F3F4F6 !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
  color: #6B7280 !important;
  font-size: 11px !important;
  line-height: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
}


/* BIOWAND marketplace dynamic filter polish */
.bw-dynamic-filters {
  width: 260px;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 20px 21px;
  align-self: start;
}

.bw-dynamic-filters .filters-head {
  height: 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 0 16px;
  margin: 0;
  border-bottom: 1px solid #F3F4F6;
}

.bw-dynamic-filters .filters-head span {
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: #1F2937;
}

.bw-dynamic-filters .filters-head a {
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: #9629D6;
}

.bw-dynamic-filters .filter-group {
  border-top: 0;
  border-bottom: 1px solid #F3F4F6;
  padding: 0;
}

.bw-dynamic-filters .filter-group:last-child {
  border-bottom: 0;
}

.bw-dynamic-filters .filter-title {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 44.5px;
  padding: 14px 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  border-radius: 0;
}

.bw-dynamic-filters .filter-title span:first-child {
  font-weight: 600;
  font-size: 13.5px;
  line-height: 16px;
  color: #374151;
}

.bw-dynamic-filters .bw-filter-plus {
  width: 16px;
  height: 16px;
  min-width: 16px;
  display: grid;
  place-items: center;
  color: #9CA3AF;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.bw-dynamic-filters .bw-filter-list {
  display: none;
  padding: 0 0 16px;
  margin: 0;
  flex-direction: column;
  gap: 10px;
}

.bw-dynamic-filters .filter-group.is-open .bw-filter-list {
  display: flex;
}

.bw-dynamic-filters .filter-option {
  /* min-height: 18px; */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: #4B5563;
  text-decoration: none !important;
}

.bw-dynamic-filters .filter-option:hover {
  color: #7C3AED;
}

.bw-dynamic-filters .bw-filter-option-label {
  min-width: 0;
  display: grid !important;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.bw-dynamic-filters .bw-filter-name {
  display: block;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.bw-dynamic-filters .filter-option small {
  align-self: start;
  margin-top: 1px;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #9CA3AF;
}

.bw-dynamic-filters .tiny-box {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1.5px solid #D1D5DB;
  border-radius: 4px;
  background: #ffffff;
  position: relative;
  display: inline-block;
}

.bw-dynamic-filters .filter-option.active .tiny-box {
  background: #7C3AED;
  border-color: #7C3AED;
}

.bw-dynamic-filters .filter-option.active .tiny-box::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bw-dynamic-filters .filter-option.active .bw-filter-name {
  color: #4B5563;
  font-weight: 500;
}

.bw-dynamic-filters .filter-option.active small {
  color: #7C3AED;
}

/* BIOWAND filter accordion hard fix */
.bw-dynamic-filters .filter-title {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
  cursor: pointer !important;
  border: 0 !important;
  background: transparent !important;
  width: 100% !important;
}

.bw-dynamic-filters .filter-title * {
  pointer-events: none;
}

.bw-dynamic-filters .bw-filter-list {
  display: none;
}

.bw-dynamic-filters .filter-group.is-open .bw-filter-list {
  display: flex;
  flex-direction: column;
}

/* BIOWAND clean load more button */
.bw-load-more-wrap {
  width: 100%;
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 10px;
  margin: 34px 0 8px;
}

.bw-load-more-btn {
  min-width: 170px;
  height: 44px;
  padding: 0 28px;
  border: 1.5px solid var(--purple);
  border-radius: 12px;
  background: transparent;
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.bw-load-more-btn:hover {
  background: var(--purple);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: none;
}

.bw-load-more-btn.is-loading {
  pointer-events: none;
  opacity: .65;
}

.bw-load-more-btn.is-loading::after {
  content: "...";
}

.bw-load-more-btn.has-error {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}

.bw-load-more-progress {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--gray-400);
  text-align: center;
}

/* BIOWAND Toast UI */
.bw-toast {
  position: fixed;
  left: 50%;
  right: auto;
  top: auto;
  bottom: 24px;
  z-index: 999999;
  width: 420px;
  max-width: calc(100vw - 32px);
  min-height: 58px;
  padding: 14px 16px 14px 58px;
  background: #FFFFFF;
  color: #374151;
  border: 1px solid #E5E7EB;
  border-left: 4px solid #9629D6;
  border-radius: 16px;
  box-shadow:
    0 18px 45px rgba(17, 24, 39, 0.12),
    0 4px 14px rgba(17, 24, 39, 0.06);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

.bw-toast::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #7C3AED 0%, #A855F7 100%);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22);
}

.bw-toast.show {
  display: block !important;
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

/* Success toast */
.bw-toast.is-success {
  border-left-color: #9629D6;
}

.bw-toast.is-success::before {
  content: "✓";
  background: #9629D6;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.22);
}

/* Error toast */
.bw-toast.is-error {
  border-left-color: #EF4444;
  background: #FFFFFF;
  color: #991B1B;
}

.bw-toast.is-error::before {
  content: "!";
  background: #EF4444;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.22);
}

/* Warning toast */
.bw-toast.is-warning {
  border-left-color: #F59E0B;
  color: #92400E;
}

.bw-toast.is-warning::before {
  content: "!";
  background: #F59E0B;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.22);
}

/* Info toast */
.bw-toast.is-info {
  border-left-color: #3B82F6;
  color: #1D4ED8;
}

.bw-toast.is-info::before {
  content: "i";
  background: #3B82F6;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.22);
}

/* Static / URL based auto toast */
.bw-toast.js-bw-auto-toast {
  display: block !important;
}

@media (max-width: 720px) {
  .bw-toast {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 16px;
    width: calc(100vw - 32px);
  }
}

/* =========================================================
   BIOWAND RFQ Success Modal
   ========================================================= */

.bw-success-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.56);
}

.bw-success-modal-overlay.show {
  display: flex !important;
}

.bw-success-modal {
  position: relative;
  width: 430px;
  max-width: calc(100vw - 40px);
  background: #FFFFFF;
  border: 1px solid rgba(150, 41, 214, 0.08);
  border-radius: 22px;
  box-shadow:
    0 24px 70px rgba(17, 24, 39, 0.30),
    0 8px 24px rgba(45, 27, 105, 0.14);
  padding: 38px 32px 30px;
  text-align: center;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
}

.bw-success-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #F9FAFB;
  color: #9CA3AF;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.bw-success-close:hover {
  background: #F3F4F6;
  color: #4B5563;
}

.bw-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28);
}

.bw-success-modal h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 24px;
  line-height: 30px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.bw-success-modal p {
  margin: 0 auto 24px;
  max-width: 340px;
  color: #6B7280;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}

.bw-success-modal p strong {
  color: #9629D6;
  font-weight: 800;
}

.bw-success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bw-success-actions .btn {
  height: 42px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .bw-success-actions {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   BIOWAND Checkout Pixel Fixes - Address Cards + RFQ Modal
   ========================================================= */

.bw-checkout-screen {
  background: #F8F7FC !important;
  padding: 16px 0 96px !important;
}

.bw-checkout-screen .wrap {
  width: 1152px !important;
  max-width: 1152px !important;
  padding: 0 !important;
}

.bw-checkout-screen .checkout-layout {
  display: grid !important;
  grid-template-columns: 680px 330px !important;
  gap: 32px !important;
  align-items: start !important;
  padding: 0 24px 64px !important;
}

.bw-checkout-screen .panel {
  width: 680px !important;
  padding: 32px 32px 32px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(150, 41, 214, 0.06) !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 6px 16px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(45, 27, 105, 0.04) !important;
}

.bw-checkout-screen .panel h2 {
  margin: 0 0 20px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #F3F4F6 !important;
  color: #111827 !important;
  font-size: 16px !important;
  line-height: 19px !important;
  font-weight: 700 !important;
}

/* Saved address cards */
.bw-checkout-screen .bw-address-card {
  width: 100% !important;
  min-height: 114.5px !important;
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: flex-start !important;
  padding: 17.5px !important;
  margin: 0 0 12px !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
}

.bw-checkout-screen .bw-address-card.active {
  background: #FAF5FF !important;
  border-color: #9629D6 !important;
  box-shadow: none !important;
}

.bw-checkout-screen .bw-address-card .radio {
  width: 20px !important;
  height: 20px !important;
  margin-top: 2px !important;
  border: 2px solid #D1D5DB !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

.bw-checkout-screen .bw-address-card.active .radio {
  border-color: #9629D6 !important;
  background:
    radial-gradient(circle at center, #9629D6 0 5px, #FFFFFF 6px 100%) !important;
}

.bw-checkout-screen .bw-address-card-body {
  min-width: 0 !important;
}

.bw-checkout-screen .bw-address-title {
  margin: 0 0 4px !important;
  color: #1F2937 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: flex-start !important;
}

.bw-checkout-screen .bw-address-title span:first-child {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.bw-checkout-screen .bw-address-copy {
  color: #6B7280 !important;
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
}

.bw-checkout-screen .bw-default-pill {
  min-width: 54px !important;
  height: 17px !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  background: #F3E8FF !important;
  color: #9629D6 !important;
  font-size: 11px !important;
  line-height: 13px !important;
  font-weight: 600 !important;
  justify-self: end !important;
  margin: 0 !important;
}

/* Add new address should be one-line Figma row */
.bw-checkout-screen .bw-add-address-card {
  min-height: 57px !important;
  height: 57px !important;
  align-items: center !important;
  padding: 17.5px !important;
  color: #9629D6 !important;
  border: 1.5px solid #E5E7EB !important;
  background: #FFFFFF !important;
}

.bw-checkout-screen .bw-add-address-card .addr-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #9629D6 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.bw-checkout-screen .bw-add-plus {
  color: #9629D6 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

/* Form pixel fixes */
.bw-checkout-screen .form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 20px !important;
}

.bw-checkout-screen .field label {
  color: #374151 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 7px !important;
}

.bw-checkout-screen .bw-optional {
  color: #9CA3AF !important;
  font-weight: 400 !important;
}

.bw-checkout-screen .input,
.bw-checkout-screen select.input {
  height: 42px !important;
  border: 1px solid #D1D5DB !important;
  border-radius: 10px !important;
  color: #374151 !important;
  font-size: 13px !important;
}

/* RFQ success modal - Figma style */
.bw-success-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: rgba(17, 24, 39, 0.56) !important;
}

.bw-success-modal-overlay.show {
  display: flex !important;
}

.bw-success-modal {
  position: relative !important;
  width: 430px !important;
  max-width: calc(100vw - 40px) !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(150, 41, 214, 0.08) !important;
  border-radius: 22px !important;
  box-shadow:
    0 24px 70px rgba(17, 24, 39, 0.30),
    0 8px 24px rgba(45, 27, 105, 0.14) !important;
  padding: 38px 32px 30px !important;
  text-align: center !important;
}

.bw-success-icon {
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
  color: #FFFFFF !important;
  display: grid !important;
  place-items: center !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28) !important;
}

.bw-success-modal h2 {
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 24px !important;
  line-height: 30px !important;
  font-weight: 800 !important;
}

.bw-success-modal p {
  margin: 0 auto 24px !important;
  max-width: 340px !important;
  color: #6B7280 !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

.bw-rfq-success-actions,
.bw-success-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.bw-success-actions .btn {
  height: 42px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (max-width: 980px) {
  .bw-checkout-screen .wrap {
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
  }

  .bw-checkout-screen .checkout-layout {
    grid-template-columns: 1fr !important;
    padding: 0 0 64px !important;
  }

  .bw-checkout-screen .panel,
  .bw-checkout-screen .order-summary {
    width: 100% !important;
  }
}

@media (max-width: 560px) {

  .bw-rfq-success-actions,
  .bw-success-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Add new address should be gray, not primary purple */
.bw-checkout-screen .bw-add-address-card,
.bw-checkout-screen .bw-add-address-card .addr-title,
.bw-checkout-screen .bw-add-address-card .bw-add-plus {
  color: #4B5563 !important;
}

.bw-checkout-screen .bw-add-address-card {
  background: #FFFFFF !important;
  border-color: #E5E7EB !important;
}

.bw-checkout-screen .bw-add-address-card:hover {
  background: #F9FAFB !important;
  border-color: #D1D5DB !important;
}

.bw-checkout-screen .bw-add-address-card:hover .addr-title,
.bw-checkout-screen .bw-add-address-card:hover .bw-add-plus {
  color: #374151 !important;
}

/* Billing checkbox should not look like a separate white card */
.bw-checkout-screen .bw-billing-card-panel {
  width: 680px !important;
  margin: -8px 0 20px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.bw-checkout-screen .bw-billing-card-panel .bw-billing-same {
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #4B5563 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.bw-checkout-screen .bw-billing-card-panel .bw-billing-panel {
  margin-top: 16px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(150, 41, 214, 0.06) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 6px 16px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(45, 27, 105, 0.04) !important;
}

/* RFQ button icon */
.bw-rfq-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.bw-rfq-icon {
  width: 15px !important;
  height: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 15px !important;
  color: currentColor !important;
}

.bw-rfq-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

/* Checkout billing checkbox inside Saved Addresses panel only */
.bw-checkout-screen .bw-billing-same-inside {
  margin: 18px 0 0 !important;
  padding-top: 16px !important;
  border-top: 1px solid #F3F4F6 !important;
  color: #4B5563 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.bw-checkout-screen .bw-billing-same-inside input {
  accent-color: #7C3AED !important;
}

.bw-checkout-screen .bw-billing-panel.panel {
  width: 680px !important;
  margin-bottom: 24px !important;
}


/* =========================================================
   BIOWAND RFQ Sent Success Modal - Figma exact
   ========================================================= */

.bw-success-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: rgba(17, 24, 39, 0.55) !important;
}

.bw-success-modal-overlay.show {
  display: flex !important;
}

.bw-success-modal.bw-rfq-success-modal {
  position: relative !important;
  width: 440px !important;
  height: 329px !important;
  max-width: calc(100vw - 40px) !important;
  background: #FFFFFF !important;
  border: 0 !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20) !important;
  padding: 0 !important;
  text-align: center !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
}

.bw-success-modal.bw-rfq-success-modal .bw-rfq-document-icon {
  position: absolute !important;
  left: 188px !important;
  top: 48px !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  border-radius: 32px !important;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.bw-success-modal.bw-rfq-success-modal .bw-rfq-document-icon svg {
  width: 32px !important;
  height: 32px !important;
  display: block !important;
}

.bw-success-modal.bw-rfq-success-modal h2 {
  position: absolute !important;
  left: 40px !important;
  top: 132px !important;
  width: 360px !important;
  height: 27px !important;
  margin: 0 !important;
  color: #111827 !important;
  font-size: 22px !important;
  line-height: 27px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.bw-success-modal.bw-rfq-success-modal p {
  position: absolute !important;
  left: 40px !important;
  top: 167px !important;
  width: 360px !important;
  height: 42px !important;
  margin: 0 !important;
  max-width: none !important;
  color: #6B7280 !important;
  font-size: 14px !important;
  line-height: 21px !important;
  font-weight: 400 !important;
  text-align: center !important;
}

.bw-success-modal.bw-rfq-success-modal .bw-rfq-success-main-btn {
  position: absolute !important;
  left: 90px !important;
  top: 233px !important;
  width: 260px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  text-align: center !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.bw-success-modal.bw-rfq-success-modal .bw-rfq-success-main-btn:hover {
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22) !important;
  text-decoration: none !important;
}

@media (max-width: 520px) {
  .bw-success-modal.bw-rfq-success-modal {
    width: calc(100vw - 40px) !important;
  }

  .bw-success-modal.bw-rfq-success-modal .bw-rfq-document-icon {
    left: calc(50% - 32px) !important;
  }

  .bw-success-modal.bw-rfq-success-modal h2,
  .bw-success-modal.bw-rfq-success-modal p {
    left: 24px !important;
    width: calc(100% - 48px) !important;
  }

  .bw-success-modal.bw-rfq-success-modal .bw-rfq-success-main-btn {
    left: 40px !important;
    width: calc(100% - 80px) !important;
  }
}

/* =========================================================
   Checkout Step 1 - Figma structure fix
   Saved + New Shipping + Billing in one card
   ========================================================= */

.bw-checkout-screen .checkout-layout {
  grid-template-columns: 680px 380px !important;
  gap: 32px !important;
}

.bw-checkout-screen .bw-checkout-address-panel {
  width: 680px !important;
  padding: 33px 33px 28px !important;
  margin-bottom: 20px !important;
}

/* Inline sections inside Saved Addresses card */
.bw-checkout-screen .bw-new-address-inline-section,
.bw-checkout-screen .bw-billing-inline-section {
  width: 100% !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Headings inside the same card */
.bw-checkout-screen .bw-new-address-inline-section h2,
.bw-checkout-screen .bw-billing-inline-section h2 {
  width: 100% !important;
  margin: 24px 0 20px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #F3F4F6 !important;
  color: #111827 !important;
  font-size: 16px !important;
  line-height: 19px !important;
  font-weight: 700 !important;
}

/* The checkbox must look like Figma, not like a separate card divider */
.bw-checkout-screen .bw-billing-same-inside {
  width: 100% !important;
  min-height: 20px !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #4B5563 !important;
  font-size: 13.5px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
}

.bw-checkout-screen .bw-billing-same-inside input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border-radius: 5px !important;
  accent-color: #9629D6 !important;
}

/* Figma field sizing */
.bw-checkout-screen .field label {
  color: #374151 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
  margin-bottom: 7px !important;
}

.bw-checkout-screen .input,
.bw-checkout-screen select.input {
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 16px !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: #374151 !important;
  font-size: 15px !important;
  line-height: 18px !important;
}

/* Saved address cards */
.bw-checkout-screen .bw-address-card {
  min-height: 114.5px !important;
  padding: 17.5px !important;
  margin-bottom: 12px !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.bw-checkout-screen .bw-address-card.active {
  background: #FAF5FF !important;
  border-color: #9629D6 !important;
}

.bw-checkout-screen .bw-address-card.active .radio {
  border-color: #9629D6 !important;
  background: radial-gradient(circle at center, #9629D6 0 5px, #FFFFFF 6px 100%) !important;
  box-shadow: none !important;
}

/* Add new address row */
.bw-checkout-screen .bw-add-address-card {
  height: 57px !important;
  min-height: 57px !important;
  align-items: center !important;
  padding: 17.5px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  color: #1F2937 !important;
}

.bw-checkout-screen .bw-add-address-card .addr-title,
.bw-checkout-screen .bw-add-address-card .bw-add-plus {
  color: #1F2937 !important;
}

.bw-checkout-screen .bw-add-address-card.active {
  background: #FAF5FF !important;
  border-color: #9629D6 !important;
}

/* Delivery card starts after the address card */
.bw-checkout-screen .bw-delivery-method-panel {
  width: 680px !important;
  padding: 33px !important;
}

/* Figma order summary width */
.bw-checkout-screen .order-summary {
  width: 380px !important;
  min-height: 0 !important;
  height: fit-content !important;
  padding: 25px !important;
}

.bw-checkout-screen .sum-head h3 {
  font-size: 17px !important;
  line-height: 21px !important;
  font-weight: 700 !important;
}

.bw-checkout-screen .sum-head .pill {
  min-height: 20px !important;
  padding: 2px 10px !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
}

/* Responsive safety */
@media (max-width: 1200px) {
  .bw-checkout-screen .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 380px !important;
  }

  .bw-checkout-screen .bw-checkout-address-panel,
  .bw-checkout-screen .bw-delivery-method-panel {
    width: 100% !important;
  }
}

@media (max-width: 980px) {
  .bw-checkout-screen .checkout-layout {
    grid-template-columns: 1fr !important;
  }

  .bw-checkout-screen .order-summary {
    width: 100% !important;
    min-height: auto !important;
  }
}

.bw-checkout-screen .bw-new-address-inline-section,
.bw-checkout-screen .bw-billing-inline-section {
  display: none;
  width: 100%;
  margin-top: 22px;
  padding-top: 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bw-checkout-screen .bw-new-address-inline-section[style*="block"],
.bw-checkout-screen .bw-billing-inline-section[style*="block"] {
  display: block;
}

/* =========================================================
   BIOWAND Order Summary Items - Figma matched
   Used on cart, checkout, payment, review screens
   ========================================================= */

.checkout .order-summary {
  width: 380px !important;
  min-height: 0 !important;
  height: fit-content !important;
  padding: 25px !important;
}

.checkout .order-summary .bw-order-summary-items {
  width: 330px !important;
  max-height: 315px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

.checkout .order-summary .bw-order-summary-items::-webkit-scrollbar {
  width: 4px !important;
}

.checkout .order-summary .bw-order-summary-items::-webkit-scrollbar-thumb {
  background: #E5E7EB !important;
  border-radius: 10px !important;
}

.checkout .order-summary .sum-item.bw-summary-item {
  width: 330px !important;
  min-height: 99px !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) 56px !important;
  gap: 12px !important;
  align-items: flex-start !important;
  padding: 14px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #F3F4F6 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.checkout .order-summary .sum-item.bw-summary-item:last-child {
  border-bottom: 0 !important;
}

.checkout .order-summary .bw-summary-item-img,
.checkout .order-summary .sum-item.bw-summary-item img {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  background: #F3F4F6 !important;
  display: block !important;
}

.checkout .order-summary .bw-summary-item-main {
  min-width: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
}

.checkout .order-summary .bw-summary-item-title,
.checkout .order-summary .sum-title.bw-summary-item-title {
  width: 100% !important;
  margin: 0 !important;
  color: #1F2937 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  max-height: 32px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.checkout .order-summary .bw-summary-item-meta {
  width: 100% !important;
  margin: 0 !important;
  color: #6B7280 !important;
  font-size: 12px !important;
  line-height: 15px !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.checkout .order-summary .bw-summary-qty {
  width: 77px !important;
  height: 29px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1.5px solid #9629D6 !important;
  border-radius: 6px !important;
  background: #FFFFFF !important;
}

.checkout .order-summary .bw-summary-qty-btn {
  width: 24px !important;
  height: 26px !important;
  min-width: 24px !important;
  border: 0 !important;
  background: #FFFFFF !important;
  color: #9629D6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.checkout .order-summary .bw-summary-qty-btn:hover {
  background: #FAF5FF !important;
}

.checkout .order-summary .bw-summary-qty-input {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border: 0 !important;
  border-left: 1.5px solid #E9D5FF !important;
  border-right: 1.5px solid #E9D5FF !important;
  border-radius: 0 !important;
  background: #FAF5FF !important;
  color: #1F2937 !important;
  text-align: center !important;
  padding: 0 2px !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 15px !important;
  font-weight: 600 !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.checkout .order-summary .bw-summary-qty-input::-webkit-outer-spin-button,
.checkout .order-summary .bw-summary-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.checkout .order-summary .bw-summary-item-side {
  width: 56px !important;
  min-width: 56px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
}

.checkout .order-summary .bw-summary-item-price,
.checkout .order-summary .sum-price.bw-summary-item-price {
  margin: 0 !important;
  color: #1F2937 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.checkout .order-summary .bw-summary-remove {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #9CA3AF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 5px !important;
  margin: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.checkout .order-summary .bw-summary-remove:hover {
  background: #F3F4F6 !important;
  color: #6B7280 !important;
}

.checkout .order-summary .bw-summary-remove svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
}

.checkout .order-summary .bw-line-discount {
  margin: 0 !important;
  color: #16A34A !important;
  font-size: 11px !important;
  line-height: 14px !important;
}

.checkout .order-summary .bw-promo-area {
  margin-top: 14px !important;
}

.checkout .order-summary .totals {
  margin-top: 16px !important;
  border-bottom: none;
}

@media (max-width: 980px) {

  .checkout .order-summary,
  .checkout .order-summary .bw-order-summary-items,
  .checkout .order-summary .sum-item.bw-summary-item {
    width: 100% !important;
  }

  .checkout .order-summary .sum-item.bw-summary-item {
    grid-template-columns: 56px minmax(0, 1fr) 56px !important;
  }
}

/* =========================================================
   BIOWAND Order Summary Overflow Fix
   Fixes horizontal clipping caused by fixed 330px item rows
   ========================================================= */

.checkout .order-summary {
  overflow: hidden !important;
}

.checkout .order-summary .bw-order-summary-items {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  padding-right: 6px !important;
}

/* keep vertical scroll only when needed, but never allow horizontal overflow */
.checkout .order-summary .sum-item.bw-summary-item {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  grid-template-columns: 48px minmax(0, 1fr) 86px !important;
  gap: 10px !important;
  overflow: visible !important;
}

/* image slightly smaller so the right-side controls never get clipped */
.checkout .order-summary .bw-summary-item-img,
.checkout .order-summary .sum-item.bw-summary-item img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
}

/* required for long product names to shrink instead of pushing right column out */
.checkout .order-summary .bw-summary-item-main,
.checkout .order-summary .bw-summary-item-title,
.checkout .order-summary .bw-summary-item-meta {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* right side must stay inside the card, but price must never truncate */
.checkout .order-summary .bw-summary-item-side {
  width: 86px !important;
  min-width: 86px !important;
  max-width: 86px !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
}

.checkout .order-summary .bw-summary-item-price,
.checkout .order-summary .sum-price.bw-summary-item-price {
  width: 86px !important;
  max-width: 86px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  text-align: right !important;
}

/* delete icon stays visible inside the 48px right column */
.checkout .order-summary .bw-summary-remove {
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

/* qty widget stays compact */
.checkout .order-summary .bw-summary-qty {
  width: 74px !important;
  min-width: 74px !important;
}

.checkout .order-summary .bw-summary-qty-btn {
  width: 23px !important;
  min-width: 23px !important;
}

.checkout .order-summary .bw-summary-qty-input {
  width: 28px !important;
  min-width: 28px !important;
}

/* Figma-style secure checkout row */
.checkout .order-summary .secure.bw-secure-checkout {
  width: 100% !important;
  border-top: 1px solid #F3F4F6 !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
  color: #6B7280 !important;
  font-size: 11px !important;
  line-height: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}

.checkout .order-summary .bw-secure-lock-icon {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  color: #6B7280 !important;
  display: block !important;
}

/* Final protection: never truncate right-side money values */
.checkout .order-summary .bw-summary-item-price,
.checkout .order-summary .bw-summary-item-price span,
.checkout .order-summary .bw-summary-item-price .oe_currency_value,
.checkout .order-summary .sum-price.bw-summary-item-price,
.checkout .order-summary .sum-price.bw-summary-item-price span,
.checkout .order-summary .sum-price.bw-summary-item-price .oe_currency_value,
.checkout .order-summary .total-row strong,
.checkout .order-summary .total-row strong span,
.checkout .order-summary .total-row strong .oe_currency_value {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  max-width: none !important;
}

.checkout .order-summary .total-row {
  gap: 16px !important;
}

.checkout .order-summary .total-row>span:first-child {
  min-width: 0 !important;
}

.checkout .order-summary .total-row strong {
  flex: 0 0 auto !important;
  text-align: right !important;
}

/*
 * Quote-only rows need a little more room than monetary prices for the
 * literal "Price on Request" label.  Scope the extra width only to those
 * rows so ordinary priced cart rows keep the existing Figma layout.
 */
.checkout .order-summary .sum-item.bw-summary-item.bw-summary-item-quote-only {
  grid-template-columns: 48px minmax(0, 1fr) 120px !important;
}

.checkout .order-summary .bw-summary-item-quote-only .bw-summary-item-side {
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
}

.checkout .order-summary .bw-summary-item-quote-only .bw-summary-item-price,
.checkout .order-summary .bw-summary-item-quote-only .sum-price.bw-summary-item-price {
  width: 120px !important;
  max-width: 120px !important;
  white-space: nowrap !important;
}

/*
 * Quote-only metadata can be longer than a monetary amount (for example
 * "3 Case × Price on Request").  Keep the existing compact summary layout,
 * but allow this one metadata line to wrap cleanly instead of being clipped.
 * The label itself stays together, so it wraps as a readable phrase rather
 * than breaking inside "Price on Request".
 */
.checkout .order-summary .bw-summary-item-quote-only .bw-summary-item-meta,
.checkout .order-summary .bw-summary-item-quote-only .bw-summary-item-meta > div {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.checkout .order-summary .bw-summary-item-quote-only .bw-summary-item-meta span {
  white-space: nowrap !important;
}

/* =========================================================
   BIOWAND Review Screen - Final Figma Fix
   Keeps Odoo default payment.form visible
   ========================================================= */

.bw-review-screen {
  background: #F8F7FC !important;
  padding: 16px 0 96px !important;
}

.bw-review-screen .wrap {
  width: 1152px !important;
  max-width: 1152px !important;
  padding: 0 !important;
}

.bw-review-screen .checkout-layout {
  display: grid !important;
  grid-template-columns: 680px 380px !important;
  gap: 34px !important;
  align-items: start !important;
  padding: 0 24px 64px !important;
}

.bw-review-screen .bw-review-panel {
  width: 680px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(150, 41, 214, 0.06) !important;
  border-radius: 16px !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 6px 16px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(45, 27, 105, 0.04) !important;
  padding: 32px !important;
  margin: 0 !important;
}

.bw-review-screen .bw-review-panel>h2 {
  margin: 0 0 20px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #F3F4F6 !important;
  color: #111827 !important;
  font-size: 18px !important;
  line-height: 22px !important;
  font-weight: 700 !important;
}

.bw-review-screen .bw-review-section {
  padding: 18px 0 !important;
  border-bottom: 1px solid #F3F4F6 !important;
}

.bw-review-screen .bw-review-section:first-of-type {
  padding-top: 0 !important;
}

.bw-review-screen .bw-review-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 8px !important;
}

.bw-review-screen .bw-review-title-row h3,
.bw-review-screen .bw-review-section>h3 {
  margin: 0 !important;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: 18px !important;
  font-weight: 700 !important;
}

.bw-review-screen .bw-review-title-row a {
  color: #9629D6 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.bw-review-screen .bw-review-section .addr-copy {
  color: #6B7280 !important;
  font-size: 13px !important;
  line-height: 21px !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

/* Review order items */
.bw-review-screen .bw-review-item {
  width: 100% !important;
  min-height: 76px !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) 82px 96px !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #F3F4F6 !important;
}

.bw-review-screen .bw-review-item:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.bw-review-screen .bw-review-item-img,
.bw-review-screen .bw-review-item img {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  background: #F3F4F6 !important;
  display: block !important;
}

.bw-review-screen .bw-review-item-main {
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
}

.bw-review-screen .bw-review-item-title {
  color: #1F2937 !important;
  font-size: 13px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.bw-review-screen .bw-review-item-meta {
  color: #9CA3AF !important;
  font-size: 12px !important;
  line-height: 15px !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.bw-review-screen .bw-review-item-qty {
  min-width: 82px !important;
  display: grid !important;
  justify-items: end !important;
  gap: 3px !important;
  color: #6B7280 !important;
  font-size: 12px !important;
  line-height: 15px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.bw-review-screen .bw-review-item-qty>span {
  color: #9CA3AF !important;
  font-size: 13px !important;
  line-height: 13px !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.bw-review-screen .bw-review-item-qty>strong {
  color: #374151 !important;
  font-size: 12px !important;
  line-height: 15px !important;
  font-weight: 600 !important;
}

.bw-review-screen .bw-review-item-price {
  min-width: 96px !important;
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 700 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.bw-review-screen .bw-review-item-price span,
.bw-review-screen .bw-review-item-price .oe_currency_value {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  white-space: nowrap !important;
}

/* Review totals */
.bw-review-screen .bw-review-totals {
  padding-top: 18px !important;
  border-top: 1px solid #F3F4F6 !important;
  display: grid !important;
  gap: 10px !important;
}

.bw-review-screen .bw-review-totals .total-row {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  color: #6B7280 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
}

.bw-review-screen .bw-review-totals .total-row strong {
  color: #111827 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.bw-review-screen .bw-review-totals .total-row.strong {
  margin-top: 8px !important;
  padding-top: 16px !important;
  border-top: 1px solid #F3F4F6 !important;
  color: #111827 !important;
  font-size: 18px !important;
  line-height: 22px !important;
  font-weight: 800 !important;
}

.bw-review-screen .bw-review-totals .total-row.strong strong {
  font-size: 18px !important;
  line-height: 22px !important;
  font-weight: 800 !important;
}

/* Terms */
.bw-review-screen .bw-review-payment-block {
  width: 100% !important;
  margin-top: 22px !important;
  padding-top: 20px !important;
  border-top: 1px solid #F3F4F6 !important;
}

.bw-review-screen .bw-review-terms {
  width: 100% !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  color: #4B5563 !important;
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
}

.bw-review-screen .bw-review-terms input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  margin: 2px 0 0 !important;
  accent-color: #9629D6 !important;
}

.bw-review-screen .bw-review-terms span {
  margin: 0 !important;
  color: #4B5563 !important;
}

.bw-review-screen .bw-review-terms a {
  color: #9629D6 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Keep Odoo default payment form visible, but theme it */
.bw-review-screen .bw-odoo-payment-form {
  width: 100% !important;
  margin-top: 0 !important;
}

.bw-review-screen .bw-odoo-payment-form #o_payment_form {
  width: 100% !important;
  margin: 0 !important;
}

.bw-review-screen .bw-odoo-payment-form #o_payment_form_options {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.bw-review-screen .bw-odoo-payment-form #o_payment_tokens_heading,
.bw-review-screen .bw-odoo-payment-form #o_payment_methods>p,
.bw-review-screen .bw-odoo-payment-form #o_payment_methods>.h4,
.bw-review-screen .bw-odoo-payment-form #o_payment_methods>.h5 {
  display: block !important;
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: 18px !important;
  font-weight: 700 !important;
}

.bw-review-screen .bw-odoo-payment-form ul.list-group {
  display: grid !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.bw-review-screen .bw-odoo-payment-form li[name="o_payment_option"] {
  width: 100% !important;
  padding: 16px 18px !important;
  margin: 0 !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

.bw-review-screen .bw-odoo-payment-form li[name="o_payment_option"]:has(input[name="o_payment_radio"]:checked) {
  border-color: #9629D6 !important;
  background: #FAF5FF !important;
  box-shadow: 0 8px 20px rgba(150, 41, 214, 0.08) !important;
}

.bw-review-screen .bw-odoo-payment-form input[name="o_payment_radio"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  accent-color: #9629D6 !important;
  box-shadow: none !important;
}

.bw-review-screen .bw-odoo-payment-form .o_payment_option_label {
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 700 !important;
}

.bw-review-screen .bw-odoo-payment-form .small,
.bw-review-screen .bw-odoo-payment-form small,
.bw-review-screen .bw-odoo-payment-form p.small {
  color: #6B7280 !important;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 500 !important;
}

.bw-review-screen .bw-odoo-payment-form img.img-fluid {
  max-height: 28px !important;
  width: auto !important;
  object-fit: contain !important;
}

.bw-review-screen .bw-odoo-payment-form div[name="o_payment_inline_form"] {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid #F3F4F6 !important;
}

.bw-review-screen .bw-odoo-payment-form .alert {
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: 1px solid #FEF3C7 !important;
  background: #FFFBEB !important;
  color: #92400E !important;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 500 !important;
}

.bw-review-screen .bw-odoo-payment-form .form-control,
.bw-review-screen .bw-odoo-payment-form .form-select {
  min-height: 40px !important;
  border: 1px solid #D1D5DB !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: #374151 !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

.bw-review-screen .bw-odoo-payment-form .form-control:focus,
.bw-review-screen .bw-odoo-payment-form .form-select:focus {
  border-color: #9629D6 !important;
  box-shadow: 0 0 0 3px rgba(150, 41, 214, 0.12) !important;
}

.bw-review-screen .bw-odoo-payment-form button[name="o_payment_expand_button"] {
  display: inline-flex !important;
  height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #9629D6 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.bw-review-screen .bw-odoo-payment-form button[name="o_payment_submit_button"],
.bw-review-screen .bw-odoo-payment-form button[type="submit"].btn-primary {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.bw-review-screen .bw-odoo-payment-form .d-flex.justify-content-end {
  width: 100% !important;
  gap: 12px !important;
  margin-top: 18px !important;
}

/* Review side order summary */
.bw-review-screen .order-summary {
  width: 380px !important;
  min-height: 0 !important;
  height: fit-content !important;
  padding: 25px !important;
  overflow: hidden !important;
}

.bw-review-screen .order-summary .bw-order-summary-items {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* Undo generic payment CSS that hides Odoo headings on review screen */
.bw-review-screen .bw-odoo-payment-form #o_payment_methods>p.h4,
.bw-review-screen .bw-odoo-payment-form #o_payment_methods>p.mb-3 {
  display: block !important;
}

/* Responsive */
@media (max-width: 1200px) {
  .bw-review-screen .wrap {
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
  }

  .bw-review-screen .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 380px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .bw-review-screen .bw-review-panel {
    width: 100% !important;
  }
}

@media (max-width: 980px) {
  .bw-review-screen .checkout-layout {
    grid-template-columns: 1fr !important;
  }

  .bw-review-screen .order-summary {
    width: 100% !important;
    position: static !important;
  }
}

@media (max-width: 640px) {
  .bw-review-screen .wrap {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
  }

  .bw-review-screen .bw-review-panel {
    padding: 22px !important;
  }

  .bw-review-screen .bw-review-item {
    grid-template-columns: 52px minmax(0, 1fr) 72px !important;
  }


  .bw-review-screen .bw-review-item-price {
    grid-column: 2 / -1 !important;
    text-align: left !important;
    margin-top: -4px !important;
  }

  .bw-review-screen .bw-review-totals {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   BIOWAND Order Success / Error Screen
   ========================================================= */

.bw-order-success-screen {
  background: #F8F7FC !important;
  padding: 48px 0 96px !important;
}

.bw-order-success-screen .wrap {
  width: 1152px !important;
  max-width: 1152px !important;
  padding: 0 24px !important;
}

.bw-order-success-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 680px) 380px !important;
  gap: 34px !important;
  align-items: start !important;
}

.bw-order-success-panel {
  min-height: 420px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(150, 41, 214, 0.08) !important;
  border-radius: 18px !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 10px 28px rgba(45, 27, 105, 0.08) !important;
  padding: 48px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.bw-order-success-icon,
.bw-order-error-icon {
  width: 78px !important;
  height: 78px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  margin-bottom: 22px !important;
}

.bw-order-success-icon {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.24) !important;
}

.bw-order-error-icon {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
  border: 1px solid #FECACA !important;
}

.bw-order-success-panel h2 {
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: 26px !important;
  line-height: 32px !important;
  font-weight: 800 !important;
}

.bw-order-success-panel p {
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 auto 22px !important;
  color: #6B7280 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  font-weight: 500 !important;
}

.bw-success-order {
  min-height: 42px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  background: #FAF5FF !important;
  border: 1px solid #E9D5FF !important;
  color: #7C3AED !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 800 !important;
  margin-bottom: 24px !important;
}

.bw-order-success-actions {
  width: 100% !important;
  max-width: 320px !important;
  display: grid !important;
  gap: 12px !important;
}

.bw-order-error-detail {
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 0 22px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  background: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  color: #991B1B !important;
  font-size: 12px !important;
  line-height: 18px !important;
  text-align: left !important;
}

.bw-order-error-detail strong {
  display: block !important;
  margin-bottom: 4px !important;
  color: #7F1D1D !important;
  font-weight: 800 !important;
}

.bw-order-success-side {
  width: 380px !important;
  height: fit-content !important;
}

.bw-payment-status-side-note {
  padding: 16px !important;
  border-radius: 12px !important;
  background: #FAF5FF !important;
  border: 1px solid #E9D5FF !important;
  display: grid !important;
  gap: 6px !important;
  margin: 16px 0 !important;
}

.bw-payment-status-side-note strong {
  color: #111827 !important;
  font-size: 13px !important;
  line-height: 17px !important;
  font-weight: 800 !important;
}

.bw-payment-status-side-note span {
  color: #6B7280 !important;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 500 !important;
}

@media (max-width: 980px) {
  .bw-order-success-layout {
    grid-template-columns: 1fr !important;
  }

  .bw-order-success-side {
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .bw-order-success-screen .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  .bw-order-success-panel {
    padding: 32px 22px !important;
  }
}


/* =========================================================
   BIOWAND Order Placed Success Modal
   Used on /shop/order/success through marketplace_review
   ========================================================= */

.bw-order-success-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: rgba(17, 24, 39, 0.56) !important;
}

.bw-order-success-modal {
  position: relative !important;
  width: 440px !important;
  max-width: calc(100vw - 40px) !important;
  min-height: 329px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(150, 41, 214, 0.08) !important;
  border-radius: 22px !important;
  box-shadow:
    0 24px 70px rgba(17, 24, 39, 0.30),
    0 8px 24px rgba(45, 27, 105, 0.14) !important;
  padding: 38px 32px 30px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.bw-order-success-icon {
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
  color: #FFFFFF !important;
  display: grid !important;
  place-items: center !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28) !important;
}

.bw-order-success-modal h2 {
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 24px !important;
  line-height: 30px !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
}

.bw-order-success-modal p {
  margin: 0 auto 20px !important;
  max-width: 350px !important;
  color: #6B7280 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  font-weight: 400 !important;
}

.bw-order-success-modal .bw-success-order {
  min-height: 38px !important;
  margin: 0 0 22px !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  background: #FAF5FF !important;
  border: 1px solid #E9D5FF !important;
  color: #7C3AED !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 800 !important;
}

.bw-order-success-actions {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.bw-order-success-actions .btn {
  height: 42px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (max-width: 560px) {
  .bw-order-success-actions {
    grid-template-columns: 1fr !important;
  }

  .bw-order-success-modal {
    width: 100% !important;
    padding: 32px 22px 26px !important;
  }
}

/* BIOWAND order success modal - exact Figma icon + one button */

.bw-order-success-modal .bw-order-success-figma-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  margin: 0 auto 24px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
  color: inherit !important;
}

.bw-order-success-modal .bw-order-success-figma-icon svg {
  width: 64px !important;
  height: 64px !important;
  display: block !important;
}

.bw-order-success-modal .bw-order-success-figma-icon rect {
  fill: url(#paint_biowand_order_success) !important;
}

.bw-order-success-modal .bw-order-success-figma-icon path {
  stroke: #FFFFFF !important;
}

.bw-order-success-modal .bw-order-success-main-btn {
  width: 260px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  text-align: center !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.bw-order-success-modal .bw-order-success-main-btn:hover {
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22) !important;
  text-decoration: none !important;
}

/* override old green success icon styles only for order success modal */
.bw-order-success-modal .bw-success-icon {
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}

/* BIOWAND notifications - Figma-matched dropdown + interactive states */
.notify-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notify-wrap .top-icon {
  width: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.notify-wrap .top-icon img {
  width: 22px;
  height: 22px;
}

.notify-wrap .badge-count.red,
.notify-wrap .counter.red {
  position: absolute;
  min-width: 15px;
  height: 15px;
  right: 0;
  top: 0;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EF4444;
  border-radius: 8px;
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  line-height: 11px;
  font-weight: 700;
  color: #FFFFFF;
}

.notifications,
.topbar .notifications {
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 12px) !important;
  width: 360px !important;
  height: 560px !important;
  max-height: calc(100vh - 90px) !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 16px !important;
  box-shadow: 0px 2px 8px rgba(17, 24, 39, 0.08), 0px 8px 32px rgba(17, 24, 39, 0.15) !important;
  z-index: 9999 !important;
  overflow: hidden !important;
  display: none;
}

.notifications.show {
  display: flex !important;
  flex-direction: column;
}

.notif-head {
  height: 50px;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.notif-head h3 {
  font-size: 15px;
  line-height: 18px;
  margin: 0;
  font-weight: 700;
  color: #111827;
}

.notif-head button,
.notif-head a {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  color: #7C3AED;
  text-align: right;
  text-decoration: none;
  cursor: pointer;
}

.notif-head button:disabled {
  opacity: .45;
  cursor: default;
}

.notif-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0;
}

.notif-section-title {
  padding: 12px 18px 7px;
  font-size: 10px;
  line-height: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9CA3AF;
  letter-spacing: .08em;
}

.notif {
  display: grid;
  grid-template-columns: 8px 1fr;
  column-gap: 12px;
  align-items: flex-start;
  min-height: 55px;
  padding: 12px 18px 11px;
  font-size: 13px;
  color: #111827;
  text-decoration: none;
  background: #FFFFFF;
}

.notif.is-unread {
  min-height: 74px;
  background: #FAF5FF;
}

.notif:hover {
  background: #F3E8FF;
  text-decoration: none;
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E5E7EB;
  margin-top: 4px;
}

.notif-dot.active {
  background: #7C3AED;
}

.notif-content {
  min-width: 0;
}

.notif-text {
  max-width: 304px;
  color: #111827;
  font-size: 13px;
  line-height: 145%;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.notif-content small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 13px;
  font-weight: 400;
  color: #9CA3AF;
}

.notif-empty {
  padding: 46px 18px;
  font-size: 13px;
  line-height: 145%;
  font-weight: 600;
  color: #6B7280;
  text-align: center;
}

.notif-footer {
  height: 40px;
  min-height: 40px;
  border-top: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
}

.notif-footer a {
  width: 100%;
  padding: 12px 18px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  color: #7C3AED;
  text-align: center;
  text-decoration: none;
}

.notif-footer a:hover {
  background: #FAF5FF;
}

/* Final notification icon overrides for portal/marketplace headers */
/* .topbar .notify-wrap .top-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
} */

/* .topbar .notify-wrap .top-icon img {
  width: 22px !important;
  height: 22px !important;
} */

.topbar .notify-wrap .badge-count.red,
.topbar .notify-wrap .counter.red {
  right: -8px !important;
  top: -5px !important;
  width: auto !important;
  min-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  padding: 0 4px !important;
  border-radius: 8px !important;
  background: #EF4444 !important;
  color: #FFFFFF !important;
  font-size: 9px !important;
  line-height: 11px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

select.input {
  color: #374151;
}

select.input:has(option[value=""]:checked) {
  color: #9CA3AF !important;
}

select.input option {
  color: #374151;
}

select.input option[value=""] {
  color: #9CA3AF;
}


/* Save address mode buttons */
.bw-checkout-screen .bw-save-mode-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  /* margin: 14px 0 24px !important; */
  justify-content: end;
}

.bw-checkout-screen .bw-save-mode-row .bw-save-mode-option {
  height: 40px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1.5px solid #9629D6 !important;
  border-radius: 7px !important;
  background: #FFFFFF !important;
  color: #9629D6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  line-height: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  user-select: none !important;
}

/* Hide original radio circle */
.bw-checkout-screen .bw-save-mode-option input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Active selected button */
.bw-checkout-screen .bw-save-mode-option:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
}

/* Optional hover */
.bw-checkout-screen .bw-save-mode-option:hover {
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.16) !important;
}



/* Lab Technician checkout: single RFQ action full width */
.bw-checkout-screen .bw-checkout-main-actions.bw-single-action {
  grid-template-columns: 1fr !important;
}


.bw-checkout-screen .bw-checkout-main-actions.bw-single-action>.bw-rfq-btn {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  justify-self: stretch !important;
}


.bw-preview-warning {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 14px;
  font-weight: 700;
}

.bw-login-form-disabled {
  opacity: .45;
  filter: grayscale(1);
  pointer-events: none;
  user-select: none;
}

.bw-login-form-disabled {
  opacity: .45;
  filter: grayscale(1);
  pointer-events: none;
  user-select: none;
}

.bw-link-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: .45;
}



/* =========================================================
   BIOWAND sidebar filter list scrolling
   ========================================================= */

.bw-dynamic-filters .filter-group.is-open .bw-filter-list {
  display: flex;
  flex-direction: column;

  /* Limit the height of each opened filter group */
  max-height: 240px;

  /* Show vertical scroll only when required */
  overflow-y: auto;
  overflow-x: hidden;

  /* Preserve spacing and keep scrollbar away from text */
  padding: 0 8px 16px 0;
  margin: 0;

  /* Prevent the whole page from scrolling while using this scrollbar */
  overscroll-behavior: contain;
  scrollbar-gutter: stable;

  /* Firefox scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #D1D5DB transparent;
}

/* Chrome, Edge and Safari scrollbar */
.bw-dynamic-filters .filter-group.is-open .bw-filter-list::-webkit-scrollbar {
  width: 6px;
}

.bw-dynamic-filters .filter-group.is-open .bw-filter-list::-webkit-scrollbar-track {
  background: transparent;
}

.bw-dynamic-filters .filter-group.is-open .bw-filter-list::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 999px;
}

.bw-dynamic-filters .filter-group.is-open .bw-filter-list::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}



/* =========================================================
   FIRST-LEVEL SUBCATEGORY DESIGN
   ========================================================= */

.bw-subcategory-design-section {
  padding: 28px 0 96px;
  background: #F8F7FC;
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.bw-subcategory-section-head {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}

.bw-subcategory-section-head .label {
  margin: 0;
  color: #9CA3AF;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bw-subcategory-section-line {
  height: 1px;
  background: #E5E7EB;
}

.bw-subcategory-total {
  color: #B1B7C2;
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* =========================================================
   CARD GRID
   ========================================================= */

.bw-subcategory-design-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

/* =========================================================
   CARD
   ========================================================= */

.bw-subcategory-design-card {
  --bw-subcategory-accent: #9629D6;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #FAF5FF 0%,
    #F3E8FF 100%
  );
  --bw-subcategory-badge: #FAF5FF;

  min-width: 0;
  height: 100%;

  display: flex;
  flex-direction: column;

  background: #FFFFFF;
  border: 1px solid rgba(17, 24, 39, 0.04);
  border-radius: 14px;
  overflow: hidden;

  box-shadow:
    0 2px 5px rgba(17, 24, 39, 0.04),
    0 8px 20px rgba(17, 24, 39, 0.06);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.bw-subcategory-design-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 24, 39, 0.08);

  box-shadow:
    0 8px 18px rgba(17, 24, 39, 0.08),
    0 20px 38px rgba(17, 24, 39, 0.10);
}

/* =========================================================
   CARD COLOR CYCLE
   ========================================================= */

/* Purple */
.bw-subcategory-design-card:nth-child(10n + 1) {
  --bw-subcategory-accent: #A855F7;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #FAF5FF 0%,
    #F3E8FF 100%
  );
  --bw-subcategory-badge: #FAF5FF;
}

/* Blue */
.bw-subcategory-design-card:nth-child(10n + 2) {
  --bw-subcategory-accent: #3B82F6;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #EFF6FF 0%,
    #DBEAFE 100%
  );
  --bw-subcategory-badge: #EFF6FF;
}

/* Green */
.bw-subcategory-design-card:nth-child(10n + 3) {
  --bw-subcategory-accent: #22C55E;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #F0FDF4 0%,
    #DCFCE7 100%
  );
  --bw-subcategory-badge: #F0FDF4;
}

/* Amber */
.bw-subcategory-design-card:nth-child(10n + 4) {
  --bw-subcategory-accent: #F59E0B;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #FFFBEB 0%,
    #FEF3C7 100%
  );
  --bw-subcategory-badge: #FFFBEB;
}

/* Red */
.bw-subcategory-design-card:nth-child(10n + 5) {
  --bw-subcategory-accent: #F43F5E;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #FFF1F2 0%,
    #FFE4E6 100%
  );
  --bw-subcategory-badge: #FFF1F2;
}

/* Cyan */
.bw-subcategory-design-card:nth-child(10n + 6) {
  --bw-subcategory-accent: #06B6D4;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #ECFEFF 0%,
    #CFFAFE 100%
  );
  --bw-subcategory-badge: #ECFEFF;
}

/* Indigo */
.bw-subcategory-design-card:nth-child(10n + 7) {
  --bw-subcategory-accent: #6366F1;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #EEF2FF 0%,
    #E0E7FF 100%
  );
  --bw-subcategory-badge: #EEF2FF;
}

/* Orange */
.bw-subcategory-design-card:nth-child(10n + 8) {
  --bw-subcategory-accent: #F97316;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #FFF7ED 0%,
    #FED7AA 100%
  );
  --bw-subcategory-badge: #FFF7ED;
}

/* Lime */
.bw-subcategory-design-card:nth-child(10n + 9) {
  --bw-subcategory-accent: #84CC16;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #F7FEE7 0%,
    #ECFCCB 100%
  );
  --bw-subcategory-badge: #F7FEE7;
}

/* Slate */
.bw-subcategory-design-card:nth-child(10n + 10) {
  --bw-subcategory-accent: #64748B;
  --bw-subcategory-soft: linear-gradient(
    135deg,
    #F8FAFC 0%,
    #E2E8F0 100%
  );
  --bw-subcategory-badge: #F8FAFC;
}

/* =========================================================
   IMAGE HEADER
   ========================================================= */

.bw-subcategory-design-art {
  position: relative;

  width: 100%;
  height: 104px;
  min-height: 104px;
  flex: 0 0 104px;

  display: grid;
  place-items: center;

  background: var(--bw-subcategory-soft);
  overflow: hidden;

  color: inherit;
  text-decoration: none !important;
}

/* Keep the category image unchanged */
.bw-subcategory-design-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;

  display: block;

  object-fit: cover;
  object-position: center;

  background: transparent;
  border: 0;
  box-shadow: none;

  opacity: 1;
  visibility: visible;
  transform: scale(1);

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.22s ease;
}

.bw-subcategory-design-img[src*="category-fallback.svg"] {
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
}

.bw-subcategory-design-icon {
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
  opacity: 0.78;
}

/* Shop All button inside image header */
.bw-subcategory-design-art::after {
  content: "Shop All  ›";

  position: absolute;
  left: 50%;
  top: 50%;

  min-width: 76px;
  height: 28px;
  padding: 0 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: var(--bw-subcategory-accent);
  color: #FFFFFF;

  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;

  transform:
    translate(-50%, -50%)
    scale(0.78);

  box-shadow:
    0 5px 12px rgba(17, 24, 39, 0.14);

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.22s ease;

  pointer-events: none;
}

/*
Shop All appears only when the cursor is over
the image header, not when hovering the card body.
*/
.bw-subcategory-design-art:hover .bw-subcategory-design-img {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.72);
}

.bw-subcategory-design-art:hover::after {
  opacity: 1;
  visibility: visible;

  transform:
    translate(-50%, -50%)
    scale(1);
}

/* =========================================================
   CARD BODY
   ========================================================= */

.bw-subcategory-design-body {
  min-width: 0;
  flex: 1 1 auto;

  padding: 13px 14px 15px;

  display: flex;
  flex-direction: column;

  background: #FFFFFF;
}

/* =========================================================
   CATEGORY TITLE
   ========================================================= */

.bw-subcategory-design-title-row {
  min-width: 0;
  min-height: 34px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;

  color: inherit;
  text-decoration: none !important;
}

.bw-subcategory-design-title {
  min-width: 0;

  color: #1F2937;

  font-size: 14px;
  line-height: 17px;
  font-weight: 700;

  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.bw-subcategory-design-arrow {
  flex: 0 0 auto;

  color: #D1D5DB;

  font-size: 18px;
  line-height: 16px;
  font-weight: 400;

  transform: translateX(0);

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.bw-subcategory-design-title-row:hover
.bw-subcategory-design-title {
  color: var(--bw-subcategory-accent);
}

.bw-subcategory-design-title-row:hover
.bw-subcategory-design-arrow {
  color: var(--bw-subcategory-accent);
  transform: translateX(2px);
}

/* =========================================================
   PRODUCT COUNT
   ========================================================= */

.bw-subcategory-product-count {
  width: fit-content;
  max-width: 100%;

  margin-top: 4px;
  padding: 4px 7px;

  border-radius: 999px;

  background: var(--bw-subcategory-badge);
  color: var(--bw-subcategory-accent);

  font-size: 10px;
  line-height: 12px;
  font-weight: 700;
}

/* =========================================================
   SUBCATEGORY HEADING
   ========================================================= */

.bw-subcategory-list-heading {
  display: grid;
  grid-template-columns: 5px auto minmax(20px, 1fr);
  align-items: center;
  gap: 6px;

  margin: 11px 0 8px;

  color: #A7AFBC;

  font-size: 9px;
  line-height: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.bw-subcategory-list-dot {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--bw-subcategory-accent);
}

.bw-subcategory-list-line {
  height: 1px;
  background: #EEF0F3;
}

/* =========================================================
   SUBCATEGORY LIST
   SAME HEIGHT + SCROLL
   ========================================================= */

.bw-subcategory-design-list {
  width: 100%;

  height: 170px;
  min-height: 170px;
  max-height: 170px;

  margin: 10px 0 0;
  padding: 0 4px 0 0;

  display: block;

  list-style: none;

  overflow-y: auto;
  overflow-x: hidden;
}

.bw-subcategory-design-list li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.bw-subcategory-design-list a {
  min-width: 0;
  min-height: 29px;

  padding: 5px 6px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;

  border-radius: 6px;

  color: #667085;

  font-size: 12px;
  line-height: 14px;
  font-weight: 500;

  text-decoration: none !important;

  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

.bw-subcategory-design-list a span:first-child {
  min-width: 0;

  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.bw-subcategory-design-list a span:last-child {
  flex: 0 0 auto;

  color: #D1D5DB;

  font-size: 15px;
  line-height: 14px;

  opacity: 0.65;
  transform: translateX(0);

  transition:
    color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

/* Subcategory row hover */
.bw-subcategory-design-list a:hover {
  background: #F3F4F6;
  color: #111827;
}

.bw-subcategory-design-list a:hover span:last-child {
  color: var(--bw-subcategory-accent);
  opacity: 1;
  transform: translateX(2px);
}

/* =========================================================
   SUBCATEGORY LIST SCROLLBAR
   ========================================================= */

.bw-subcategory-design-list::-webkit-scrollbar {
  width: 3px;
}

.bw-subcategory-design-list::-webkit-scrollbar-track {
  background: transparent;
}

.bw-subcategory-design-list::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 999px;
}

.bw-subcategory-design-list::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
  .bw-subcategory-design-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .bw-subcategory-design-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .bw-subcategory-design-section {
    padding: 24px 0 88px;
  }

  .bw-subcategory-section-head {
    grid-template-columns: auto 1fr;
  }

  .bw-subcategory-section-line {
    display: none;
  }

  .bw-subcategory-total {
    text-align: right;
  }

  .bw-subcategory-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .bw-subcategory-design-grid {
    grid-template-columns: 1fr;
  }
}

/* Point 41: RFQ success modal text-overlap fix */

.bw-success-modal.bw-rfq-success-modal {
  width: 440px !important;
  height: auto !important;
  min-height: 329px !important;
  padding: 48px 40px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.bw-success-modal.bw-rfq-success-modal .bw-rfq-document-icon {
  position: static !important;
  left: auto !important;
  top: auto !important;
  flex: 0 0 64px !important;
  margin: 0 0 20px !important;
}

.bw-success-modal.bw-rfq-success-modal h2 {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 10px !important;
}

.bw-success-modal.bw-rfq-success-modal p {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: 360px !important;
  margin: 0 0 8px !important;
}

.bw-success-modal.bw-rfq-success-modal p:last-of-type {
  margin-bottom: 24px !important;
}

.bw-success-modal.bw-rfq-success-modal .bw-rfq-success-main-btn {
  position: static !important;
  left: auto !important;
  top: auto !important;
  flex: 0 0 48px !important;
  margin: 0 !important;
}

@media (max-width: 520px) {
  .bw-success-modal.bw-rfq-success-modal {
    width: calc(100vw - 40px) !important;
    padding: 40px 24px !important;
  }

  .bw-success-modal.bw-rfq-success-modal h2,
  .bw-success-modal.bw-rfq-success-modal p,
  .bw-success-modal.bw-rfq-success-modal .bw-rfq-success-main-btn {
    left: auto !important;
    width: 100% !important;
  }
}

.products,
.wishlist-grid,
.bw-wishlist-grid {
  align-items: stretch;
}

.products > .product,
.wishlist-grid > .product,
.bw-wishlist-grid > .product,
.bw-wishlist-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.products .product-body,
.wishlist-grid .product-body,
.bw-wishlist-grid .product-body,
.bw-wishlist-card .product-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 188px;
}

.products .product-title,
.wishlist-grid .product-title,
.bw-wishlist-grid .product-title,
.bw-wishlist-card .product-title {
  min-height: 54px;
  flex: stretch;
}

.products .product-meta,
.products .product-card-meta-line,
.wishlist-grid .product-meta,
.wishlist-grid .product-card-meta-line,
.bw-wishlist-grid .product-meta,
.bw-wishlist-grid .product-card-meta-line,
.bw-wishlist-card .product-meta,
.bw-wishlist-card .product-card-meta-line {
  min-height: 36px;
  max-height: 36px;
  flex: 0 0 36px;
  overflow: hidden;
}

.products .price-row,
.wishlist-grid .price-row,
.bw-wishlist-grid .price-row,
.bw-wishlist-card .price-row {
  min-height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: flex-end;
}

.products .qty-row,
.wishlist-grid .qty-row,
.bw-wishlist-grid .qty-row,
.bw-wishlist-card .qty-row {
  margin-top: auto;
  flex: 0 0 auto;
}


/* BIOWAND wishlist product cards - show full title and meta text */
.wishlist-grid .product-title,
.bw-wishlist-grid .product-title,
.bw-wishlist-card .product-title {
  min-height: 54px;
  max-height: none !important;
  height: auto !important;
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

.wishlist-grid .product-meta,
.wishlist-grid .product-card-meta-line,
.bw-wishlist-grid .product-meta,
.bw-wishlist-grid .product-card-meta-line,
.bw-wishlist-card .product-meta,
.bw-wishlist-card .product-card-meta-line {
  min-height: 36px;
  max-height: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

.wishlist-grid .product-card-meta-line span,
.bw-wishlist-grid .product-card-meta-line span,
.bw-wishlist-card .product-card-meta-line span {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow-wrap: anywhere !important;
}

.products .product-title,
.wishlist-grid .product-title,
.bw-wishlist-grid .product-title,
.bw-wishlist-card .product-title {
  max-height: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow-wrap: anywhere !important;
}

.products .product-meta,
.products .product-card-meta-line,
.wishlist-grid .product-meta,
.wishlist-grid .product-card-meta-line,
.bw-wishlist-grid .product-meta,
.bw-wishlist-grid .product-card-meta-line,
.bw-wishlist-card .product-meta,
.bw-wishlist-card .product-card-meta-line {
  max-height: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

.products .product-card-meta-line span,
.wishlist-grid .product-card-meta-line span,
.bw-wishlist-grid .product-card-meta-line span,
.bw-wishlist-card .product-card-meta-line span {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow-wrap: anywhere !important;
}

.products .price-row,
.wishlist-grid .price-row,
.bw-wishlist-grid .price-row,
.bw-wishlist-card .price-row {
  min-height: 38px;
  display: flex;
  align-items: flex-end;
}

.products .qty-row,
.wishlist-grid .qty-row,
.bw-wishlist-grid .qty-row,
.bw-wishlist-card .qty-row {
  flex: 0 0 auto;
}

@supports (grid-template-rows: subgrid) {
  .products > .product,
  .wishlist-grid > .product,
  .bw-wishlist-grid > .product {
    grid-row: span 5;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .products > .product > a:first-child,
  .wishlist-grid > .product > a:first-child,
  .bw-wishlist-grid > .product > a:first-child {
    grid-row: 1;
    min-width: 0;
  }

  .products > .product > .product-body,
  .wishlist-grid > .product > .product-body,
  .bw-wishlist-grid > .product > .product-body {
    grid-row: 2 / span 4;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .products .product-body > .product-title,
  .wishlist-grid .product-body > .product-title,
  .bw-wishlist-grid .product-body > .product-title {
    grid-row: 1;
    align-self: start;
  }

  .products .product-body > .product-meta,
  .wishlist-grid .product-body > .product-meta,
  .bw-wishlist-grid .product-body > .product-meta {
    grid-row: 2;
    align-self: start;
  }

  .products .product-body > .price-row,
  .wishlist-grid .product-body > .price-row,
  .bw-wishlist-grid .product-body > .price-row {
    grid-row: 3;
    align-self: end;
  }

  .products .product-body > .qty-row,
  .wishlist-grid .product-body > .qty-row,
  .bw-wishlist-grid .product-body > .qty-row {
    grid-row: 4;
    align-self: end;
    margin-top: 0;
  }
}
/* VAT step: identical checkout panel rhythm, two equal responsive actions. */
.bw-checkout-screen.bw-vat-screen .checkout-steps {
  width: min(100%, 800px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: clamp(24px, 3vw, 48px);
}
.bw-checkout-screen.bw-vat-screen .checkout-step:not(:last-child)::after {
  width: clamp(12px, 2.2vw, 32px);
}
.bw-checkout-screen.bw-vat-screen .bw-vat-panel,
.bw-checkout-screen.bw-vat-screen .bw-vat-panel form,
.bw-checkout-screen.bw-vat-screen .bw-vat-entry,
.bw-checkout-screen.bw-vat-screen .bw-vat-review-actions {
  min-width: 0;
  max-width: 100%;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-panel .page-subtitle {
  color: #4B5563;
  font-size: 14px;
  line-height: 1.65;
  margin: 20px 0 0;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-label {
  display: block;
  color: #1F2937;
  font-size: 14px;
  font-weight: 700;
  margin: 22px 0 9px;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 12px;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-entry .input {
  width: 100%;
  min-width: 0;
  height: 44px;
  line-height: 22px;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-entry .btn {
  max-width: 100%;
  min-height: 44px;
  height: auto;
  white-space: normal;
  text-align: center;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-hint {
  margin: 10px 0 18px;
  color: #6B7280;
  font-size: 12px;
  line-height: 1.65;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-result {
  margin: 14px 0;
  padding: 14px 16px;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.55;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-review-actions { margin: 0; }
.bw-checkout-screen.bw-vat-screen .bw-vat-review-actions .btn {
  max-width: 100%;
  min-height: 44px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-amounts { margin: 22px 0 0; }
.bw-checkout-screen.bw-vat-screen .bw-vat-submit-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
  margin-top: 28px;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-submit-actions > .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  height: auto !important;
  padding: 11px 12px !important;
  box-sizing: border-box;
  margin: 0 !important;
  text-align: center;
  white-space: normal !important;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.4;
}
.bw-checkout-screen.bw-vat-screen .bw-vat-submit-actions svg { flex-shrink: 0; }
@media (max-width: 700px) {
  .bw-checkout-screen.bw-vat-screen .checkout-steps {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 8px;
  }
  .bw-checkout-screen.bw-vat-screen .bw-vat-entry {
    grid-template-columns: minmax(0, 1fr);
  }
  .bw-checkout-screen.bw-vat-screen .bw-vat-entry .btn { width: 100%; }
  .bw-checkout-screen.bw-vat-screen .bw-vat-submit-actions { gap: 10px !important; }
  .bw-checkout-screen.bw-vat-screen .bw-vat-submit-actions > .btn { font-size: 12px; padding: 11px 7px !important; }
}

.bw-category-description {
  width: 100%;
  max-width: 100%;
}

.bw-chip-icon .bw-chip-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
}

.spec-chip {
  background: #FFFFFF;
}

.bw-checkout-screen.bw-vat-screen .notice.bw-vat-result-valid {
  background: #ECFDF5 !important;
  border-color: #A7F3D0 !important;
  color: #065F46 !important;
}

.bw-checkout-screen.bw-vat-screen .notice.bw-vat-result-empty {
  background: #F9FAFB !important;
  border-color: #E5E7EB !important;
  color: #4B5563 !important;
}

.bw-checkout-screen.bw-vat-screen .notice.bw-vat-result-invalid {
  background: #FFFBEB !important;
  border-color: #FDE68A !important;
  color: #92400E !important;
}

.bw-checkout-screen.bw-vat-screen .notice.bw-vat-result-unavailable,
.bw-checkout-screen.bw-vat-screen .notice.bw-vat-result-disputed {
  background: #EFF6FF !important;
  border-color: #BFDBFE !important;
  color: #1E40AF !important;
}
