/* ============================================
   BayPort 湾品匯 — Homepage
   Colors: #37B6C5 teal / #2A3B4C navy / #FF4D4F red
   ============================================ */
:root {
  --bp-teal:  #37B6C5;
  --bp-teal2: #2DA0AC;
  --bp-navy:  #2A3B4C;
  --bp-navy2: #3D5068;
  --bp-red:   #FF4D4F;
  --bp-bg:    #F7F9FC;
  --bp-white: #ffffff;
  --bp-text:  #2A3B4C;
  --bp-muted: #6C7A89;
  --bp-border:#E1E5EB;
  --bp-gold:  #FF9900;
}

/* ---- Base ---- */
body  { background:var(--bp-bg) !important; font-family:'PingFang SC','Microsoft YaHei',system-ui,sans-serif; }
.page-wrapper { background:var(--bp-bg) !important; }
.page-main { padding-top:0 !important; }
.cms-index-index .page-title-wrapper { display:none !important; }
a { text-decoration:none; }

/* ============ HEADER ============ */
.page-header {
  background:#fff !important;
  box-shadow:none !important;
  border:0 !important;
  position:relative;
  z-index:4000;
}
.page-header > .panel.wrapper,
.page-header > .header.content,
.sections.nav-sections {
  display:none !important;
}
.bp-global-header,
.bp-global-header * {
  box-sizing:border-box;
}
.bp-global-header {
  color:#222;
  background:#fff;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}
.bp-header-container {
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}
.bp-header-top {
  background:#111;
  color:#aaa;
  font-size:12px;
  line-height:1.3;
  padding:7px 0;
}
.bp-header-top .bp-header-container {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.bp-header-top__actions {
  display:flex;
  align-items:center;
  gap:16px;
  flex:0 0 auto;
  min-width:max-content;
  white-space:nowrap;
}
.bp-header-top__actions a {
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  min-width:max-content;
  color:#ccc !important;
  font-size:12px;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap !important;
  word-break:keep-all;
  text-decoration:none;
  transition:color .2s;
}
.bp-header-top__actions a:hover {
  color:#fff !important;
}
.bp-header-currency {
  display:flex;
  align-items:center;
  flex:0 0 auto;
  margin:0;
}
.bp-header-currency span {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}
.bp-header-currency select {
  width:auto !important;
  min-width:86px;
  height:25px;
  min-height:0;
  padding:2px 24px 2px 10px;
  border:0;
  border-radius:6px;
  background:#fff url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat calc(100% - 9px) 50%;
  color:#111;
  font-size:11px;
  line-height:1.4;
  font-weight:600;
  outline:none;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:none;
}
.bp-header-currency select::-ms-expand {
  display:none;
}
.bp-header-lang {
  display:flex;
  align-items:center;
  gap:4px;
  color:#ccc;
}
.bp-header-lang select {
  background:transparent;
  border:1px solid #444;
  color:#ccc;
  padding:2px 22px 2px 6px;
  border-radius:3px;
  font-size:11px;
  line-height:1.4;
  outline:none;
  height:25px;
}
.bp-header-navbar {
  position:sticky;
  top:0;
  z-index:4100;
  background:#fff;
  border-bottom:1px solid #eee;
}
.bp-header-main {
  min-height:72px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
}
.bp-header-logo {
  display:flex;
  align-items:center;
  min-width:190px;
  text-decoration:none;
}
.bp-header-logo img {
  display:block !important;
  height:64px !important;
  width:auto !important;
  max-width:220px !important;
  max-height:64px !important;
  object-fit:contain !important;
}
.bp-header-nav {
  height:72px;
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
}
.bp-nav-drawer-toggle,
.bp-nav-drawer,
.bp-nav-drawer-overlay {
  display:none;
}
.bp-header-nav ul {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  margin:0;
  padding:0;
  list-style:none;
}
.bp-nav-item {
  height:72px;
  display:flex;
  align-items:center;
}
.bp-nav-link {
  display:flex;
  align-items:center;
  height:72px;
  color:#444 !important;
  font-size:14px;
  font-weight:500;
  line-height:1;
  text-decoration:none;
  transition:color .2s;
}
.bp-nav-link:hover,
.bp-nav-item:hover .bp-nav-link {
  color:#111 !important;
}
.bp-header-right {
  display:flex;
  align-items:center;
  gap:12px;
}
.bp-header-search {
  grid-area:search;
  width:200px;
  min-width:200px;
  height:34px;
  display:flex !important;
  align-items:center;
  gap:8px;
  border-radius:6px;
  background:#f5f5f5;
  padding:7px 12px;
  margin:0;
}
.bp-header-search svg {
  width:14px;
  height:14px;
  flex:0 0 14px;
  fill:none;
  stroke:#999;
  stroke-width:2;
}
.bp-header-search input {
  min-width:0;
  width:100%;
  height:20px;
  border:0 !important;
  padding:0 !important;
  background:transparent !important;
  color:#222;
  font-size:13px;
  line-height:20px;
  outline:none !important;
  box-shadow:none !important;
}
.bp-header-search input::placeholder {
  color:#777;
}
.bp-header-icon {
  position:relative;
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:#f5f5f5;
  color:#444 !important;
  text-decoration:none;
  transition:background .18s;
}
.bp-header-icon:hover {
  background:#eee;
  color:#111 !important;
}
.bp-header-icon svg {
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
}
.bp-header-badge {
  position:absolute;
  top:-2px;
  right:-2px;
  width:14px;
  height:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#2563eb;
  color:#fff;
  font-size:9px;
  font-weight:700;
  line-height:14px;
}
.bp-header-badge:empty {
  display:none;
}
.bp-header-mega {
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:4200;
  visibility:hidden;
  opacity:0;
  transform:translateY(8px);
  background:#fff;
  border-top:1px solid #eee;
  border-bottom:1px solid #e5e7eb;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
  transition:opacity .18s,visibility .18s,transform .18s;
}
.bp-nav-item:hover .bp-header-mega,
.bp-nav-item:focus-within .bp-header-mega {
  visibility:visible;
  opacity:1;
  transform:translateY(0);
}
.bp-header-mega__inner {
  max-width:1200px;
  margin:0 auto;
  padding:28px 24px 34px;
  display:grid;
  grid-template-columns:260px 1fr;
  gap:34px;
}
.bp-header-mega__rail {
  border-right:1px solid #edf0f4;
  padding-right:22px;
}
.bp-header-mega__rail-title {
  margin:0 0 12px;
  color:#111;
  font-size:15px;
  font-weight:700;
}
.bp-header-mega__rail a {
  min-height:46px;
  display:flex;
  align-items:center;
  padding:0 18px;
  border-radius:8px;
  color:#333 !important;
  font-size:14px;
  font-weight:500;
  text-decoration:none;
}
.bp-header-mega__rail a:hover,
.bp-header-mega__rail a.is-active {
  background:#f4f4f4;
  color:#111 !important;
}
.bp-header-mega__head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.bp-header-mega__head h3 {
  margin:0 0 5px;
  color:#111;
  font-size:18px;
  line-height:1.2;
  font-weight:700;
}
.bp-header-mega__head p {
  margin:0;
  color:#777;
  font-size:13px;
  line-height:1.45;
}
.bp-header-mega__head > a {
  display:inline-flex;
  align-items:center;
  color:#111 !important;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}
.bp-header-mega__head > a::after {
  content:"›";
  margin-left:8px;
  font-size:24px;
  line-height:16px;
}
.bp-header-mega__cards {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.bp-header-mega-card {
  display:block;
  min-height:230px;
  padding:14px;
  border-radius:10px;
  background:#f6f6f6;
  color:#222 !important;
  text-decoration:none;
  overflow:hidden;
  transition:transform .18s,box-shadow .18s;
}
.bp-header-mega-card:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}
.bp-header-mega-card__badge {
  display:inline-flex;
  margin-bottom:8px;
  color:#ef4b16;
  font-size:11px;
  font-weight:800;
}
.bp-header-mega-card img {
  width:100% !important;
  height:118px !important;
  object-fit:contain !important;
  display:block !important;
  border-radius:6px;
  background:#fff;
}
.bp-header-mega-card strong {
  display:block;
  min-height:36px;
  margin:9px 0 4px;
  color:#222;
  font-size:13px;
  line-height:1.35;
  font-weight:700;
}
.bp-header-mega-card > span:last-child {
  display:block;
  color:#2563eb;
  font-size:12px;
  font-weight:700;
}
.bp-header-mega__quick {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.bp-header-mega__quick a {
  min-height:88px;
  display:flex;
  align-items:center;
  padding:18px;
  border-radius:10px;
  background:#f6f6f6;
  color:#222 !important;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
}
.bp-header-mega__quick a:hover {
  background:#eef3ff;
  color:#2563eb !important;
}
@media(max-width:1060px) {
  .bp-header-main {
    grid-template-columns:auto auto;
    grid-template-areas:
      "logo right"
      "nav nav";
    row-gap:0;
    min-height:0;
    padding-top:12px;
  }
  /* The drawer toggle must not create a third implicit row below the
     mobile grid areas. */
  .bp-nav-drawer-toggle {
    display:none !important;
  }
  .bp-header-logo {
    grid-area:logo;
    min-width:0;
  }
  .bp-header-right {
    grid-area:right;
    justify-self:end;
  }
  .bp-header-nav {
    grid-area:nav;
    height:54px;
    justify-content:flex-start;
    overflow-x:auto;
  }
  .bp-header-nav ul {
    justify-content:flex-start;
    gap:24px;
  }
  /* Mobile: never shrink nav items below their content width — the nav
     scrolls horizontally instead of wrapping CJK labels mid-word. */
  .bp-header-nav .bp-nav-item {
    flex:0 0 auto;
  }
  .bp-header-nav .bp-nav-link {
    white-space:nowrap;
  }
  .bp-nav-item,
  .bp-nav-link {
    height:54px;
  }
  .bp-header-mega__inner {
    grid-template-columns:220px 1fr;
  }
  .bp-header-mega__cards {
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:720px) {
  .bp-header-top .bp-header-container {
    /* Mobile: left-align and allow horizontal scroll as a fallback, so the
       top-bar links never get clipped off the left edge. Compact paddings
       and gaps let everything fit without scrolling at >=390px. */
    justify-content:flex-start;
    overflow-x:auto;
    gap:10px;
    padding:0 10px;
    scrollbar-width:none;
  }
  .bp-header-top .bp-header-container::-webkit-scrollbar {
    display:none;
  }
  .bp-header-top .bp-header-container > span {
    display:none;
  }
  .bp-header-top__actions {
    gap:6px;
  }
  .bp-header-currency select {
    min-width:62px;
  }
  .bp-header-lang select {
    padding:2px 16px 2px 4px;
  }
  /* Mobile nav: tighter gaps so all 5 CJK items fit at 390px; trailing
     padding lets the last item scroll fully into view on narrower phones. */
  .bp-header-nav ul {
    gap:14px;
    padding-right:8px;
  }
  .bp-header-nav {
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .bp-header-nav::-webkit-scrollbar {
    display:none;
  }
  .bp-header-main {
    padding-left:12px;
    padding-right:12px;
    gap:8px;
    grid-template-columns:auto auto 1fr auto;
    grid-template-areas:"toggle logo search right";
    align-items:center;
    /* Keep breathing room between the black top strip and the logo row. */
    padding-top:10px;
    padding-bottom:8px;
  }
  .bp-header-logo img {
    height:48px !important;
    max-height:48px !important;
    max-width:96px !important;
  }
  .bp-header-search {
    grid-area:search;
    width:auto;
    min-width:0;
  }
  .bp-header-icon {
    width:32px;
    height:32px;
  }
  .bp-header-right {
    gap:8px;
  }
  .bp-header-mega {
    display:none;
  }

  /* ---- Mobile drawer navigation ---- */
  .bp-header-nav {
    display:none !important;
  }
  .bp-nav-drawer-toggle {
    display:inline-flex !important;
    grid-area:toggle;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    padding:0;
    border:0;
    background:transparent;
    color:#1f2329;
    cursor:pointer;
    flex:0 0 auto;
  }
  .bp-nav-drawer-overlay {
    display:block;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:opacity .2s ease;
    z-index:4190;
  }
  .bp-nav-drawer {
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    width:290px;
    max-width:82vw;
    background:#fff;
    box-shadow:2px 0 12px rgba(0,0,0,.12);
    transform:translateX(-105%);
    transition:transform .25s ease;
    z-index:4200;
    display:flex;
    flex-direction:column;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  body.bp-nav-drawer-open .bp-nav-drawer {
    transform:translateX(0);
  }
  body.bp-nav-drawer-open .bp-nav-drawer-overlay {
    opacity:1;
    visibility:visible;
  }
  body.bp-nav-drawer-open {
    overflow:hidden;
  }
  .bp-nav-drawer__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 16px;
    border-bottom:1px solid #eef0f2;
    font-size:15px;
    font-weight:600;
    color:#1f2329;
  }
  .bp-nav-drawer__close {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    padding:0;
    border:0;
    background:transparent;
    color:#6b7280;
    cursor:pointer;
  }
  .bp-nav-drawer__body {
    padding:8px 0 24px;
  }
  .bp-nav-drawer__group {
    padding:10px 0;
    border-bottom:1px solid #f3f4f6;
  }
  .bp-nav-drawer__group:last-child {
    border-bottom:0;
  }
  .bp-nav-drawer__group-title {
    padding:0 16px 6px;
    font-size:11px;
    font-weight:600;
    color:#9aa0a6;
    text-transform:uppercase;
    letter-spacing:.5px;
  }
  .bp-nav-drawer__group a {
    display:block;
    padding:10px 16px;
    font-size:14px;
    color:#1f2329;
    text-decoration:none;
    line-height:1.4;
  }
  .bp-nav-drawer__group a:active {
    background:#f4f5f7;
  }

  /* Mobile PDP sticky bar: header is now top strip (~39px) + compact main
     row (~61px) without the nav row, so the fixed bar must sit at ~100px
     instead of the desktop-calibrated 162px, otherwise scrolling content
     shows through the gap between header and bar. */
  .catalog-product-view .bp-sticky-bar {
    top:106px;
  }

  /* PDP only: strip the stacked blank band between header and gallery
     (header 20px margin + breadcrumbs 12px + page-main 30px + columns
     60px = ~110px of dead space). Everything else keeps its spacing. */
  .catalog-product-view .page-header {
    margin-bottom:0 !important;
  }

  .catalog-product-view .breadcrumbs {
    padding-top:0 !important;
  }

  .catalog-product-view .page-main {
    padding-top:12px !important;
  }

  .catalog-product-view .columns {
    padding-top:0 !important;
  }
}

/* Very narrow phones: drop the lowest-priority top-bar entry so the
   remaining links plus currency/language switchers all stay visible. */
@media(max-width:480px) {
  .bp-header-top__actions .bp-header-sourcing-request {
    display:none !important;
  }
}

/* ---- Buttons + catalog surfaces ---- */
.action.primary,
button.action.primary,
.actions-toolbar .primary .action,
.product-item-actions .actions-primary .action.tocart,
.box-tocart .action.tocart {
  background:#2563eb !important;
  border:1px solid #2563eb !important;
  border-radius:6px !important;
  color:#fff !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  box-shadow:none !important;
}
.action.primary:hover,
button.action.primary:hover,
.actions-toolbar .primary .action:hover,
.product-item-actions .actions-primary .action.tocart:hover,
.box-tocart .action.tocart:hover {
  background:#1d4ed8 !important;
  border-color:#1d4ed8 !important;
}
.page-products .page-main,
.catalog-product-view .page-main,
.catalog-category-view .page-main {
  max-width:1200px;
  padding-left:24px !important;
  padding-right:24px !important;
}
.page-products .products-grid .product-item-info {
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  padding:14px;
  border:1px solid #eee;
  border-radius:8px;
  background:#fff;
  transition:box-shadow .18s, transform .18s;
}
.page-products .products-grid .product-item-info:hover {
  box-shadow:0 10px 28px rgba(0,0,0,.07);
  transform:translateY(-2px);
}
.page-products .products-grid .product-image-photo {
  background:#fff;
}
.page-products .product-item-name a,
.catalog-product-view .page-title-wrapper .page-title {
  color:#222 !important;
}
.page-products .price,
.catalog-product-view .price {
  color:#111 !important;
  font-weight:800;
}
.page-products .toolbar-products .modes-mode,
.page-products .toolbar-products .toolbar-sorter select {
  border-radius:6px;
}

/* ============ HOME OUTER — always 3-col ============ */
.bp-home { max-width:1260px; margin:0 auto; padding:12px 10px 24px; }

.bp-layout {
  --bp-hero-height:520px;
  display:grid;
  grid-template-columns:230px 1fr 188px;
  grid-template-rows:var(--bp-hero-height);
  gap:0;
  background:var(--bp-white);
  border-radius:4px;
  overflow:visible;
  box-shadow:0 2px 10px rgba(0,0,0,.07);
}

/* ============ LEFT SIDEBAR ============ */
.bp-sidebar {
  grid-column:1; grid-row:1;
  background:var(--bp-white);
  border-right:1px solid var(--bp-border);
  position:relative; z-index:50;
  min-height:0;
  overflow:hidden;
}
.bp-sidebar-hd {
  background:var(--bp-navy);
  padding:13px 16px;
  display:flex; align-items:center; gap:8px;
  color:#fff; font-size:14px; font-weight:700;
  letter-spacing:.3px;
}
.bp-sidebar-hd svg { flex-shrink:0; }
.bp-cat-ul {
  list-style:none;
  margin:0;
  padding:4px 0;
  height:calc(var(--bp-hero-height) - 46px);
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
}
.bp-cat-ul li { position:relative; margin:0 !important; }
.bp-cat-ul li > a {
  display:flex; align-items:center; gap:10px;
  min-height:45px;
  padding:7px 14px; font-size:13px; color:var(--bp-text);
  transition:background .13s,color .13s;
  border-left:3px solid transparent;
  box-sizing:border-box;
}
.bp-cat-ul li > a:hover { background:#f0f8fa; color:var(--bp-teal); border-left-color:var(--bp-teal); }
.bp-cat-ul li > a .ci {
  width:26px; height:26px; object-fit:cover !important;
  border-radius:3px; flex-shrink:0;
  /* CRITICAL: override Luma */
  height:26px !important; max-height:26px !important;
}
.bp-cat-ul li > a .cn { flex:1; }
.bp-cat-ul li > a .ca { color:#bbb; font-size:12px; }
.bp-cat-ul li > a:hover .ca { color:var(--bp-teal); }
.bp-cat-ul .sep { height:1px; background:var(--bp-border); margin:4px 0; }
.bp-cat-ul .more {
  display:flex; align-items:center; gap:8px;
  margin-top:auto;
  padding:10px 14px; font-size:13px; color:var(--bp-muted); cursor:pointer;
}
.bp-cat-ul .more:hover { color:var(--bp-teal); }

/* Mega dropdown */
.bp-mega {
  display:none; position:absolute; left:230px; top:0;
  width:500px; background:#fff;
  border:1px solid var(--bp-border);
  box-shadow:4px 4px 16px rgba(0,0,0,.1);
  z-index:999; padding:18px 20px; border-radius:0 4px 4px 0;
}
.bp-cat-ul li:hover .bp-mega { display:flex; flex-wrap:wrap; gap:0; }
.bp-mega-col { width:50%; padding-right:16px; padding-bottom:12px; }
.bp-mega-col h4 { font-size:13px; font-weight:700; color:var(--bp-teal); margin:0 0 8px; padding-bottom:4px; border-bottom:1px solid var(--bp-border); }
.bp-mega-col ul { list-style:none; padding:0; margin:0; }
.bp-mega-col ul li a { padding:3px 0; display:block; font-size:12px; color:var(--bp-muted); }
.bp-mega-col ul li a:hover { color:var(--bp-teal); }

/* ============ CENTER SLIDER ============ */
.bp-slider-wrap {
  grid-column:2; grid-row:1;
  position:relative; overflow:hidden;
  background:linear-gradient(135deg,#f4f8fb,#ffffff);
  height:100% !important;
  min-height:0;
}
.bp-slides { display:flex; transition:transform .5s ease; height:100% !important; }
.bp-slide { min-width:100% !important; position:relative; overflow:hidden; height:100% !important; }
.bp-slide::before {
  content:'';
  position:absolute;
  inset:0;
  z-index:5;
  background:linear-gradient(90deg,rgba(42,59,76,.82),rgba(42,59,76,.22) 45%,rgba(255,255,255,0));
  pointer-events:none;
}
/* CRITICAL OVERRIDE for Luma's img styles */
.bp-slide img {
  width:100% !important; height:100% !important;
  max-height:none !important; object-fit:cover !important;
  object-position:center right !important;
  display:block !important; position:absolute !important;
  inset:0 !important;
  background:#f7f9fc !important;
}
.bp-slide-txt {
  position:absolute; left:40px; top:50%; transform:translateY(-50%);
  z-index:10;
}
.bp-slide-txt h2 { font-size:30px; font-weight:900; color:#fff; text-shadow:0 2px 8px rgba(0,0,0,.5); margin:0 0 8px; }
.bp-slide-txt p  { font-size:15px; color:rgba(255,255,255,.88); margin:0 0 18px; }
.bp-slide-txt a  { display:inline-block; background:var(--bp-teal); color:#fff; padding:9px 22px; border-radius:2px; font-size:14px; font-weight:700; }
.bp-slide-txt a:hover { background:var(--bp-teal2); }
.bp-arrow {
  position:absolute; top:50%; transform:translateY(-50%); z-index:20;
  background:rgba(0,0,0,.3); color:#fff; border:none;
  width:30px; height:52px; font-size:18px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.bp-arrow:hover { background:rgba(55,182,197,.65); }
.bp-prev { left:0; border-radius:0 3px 3px 0; }
.bp-next { right:0; border-radius:3px 0 0 3px; }
.bp-dots { position:absolute; bottom:10px; left:50%; transform:translateX(-50%); display:flex; gap:6px; }
.bp-dots span { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.4); cursor:pointer; transition:all .2s; }
.bp-dots span.on { background:var(--bp-teal); transform:scale(1.3); }

/* ============ RIGHT SIDE BANNERS ============ */
.bp-side-banners {
  grid-column:3; grid-row:1;
  display:flex; flex-direction:column;
  border-left:1px solid var(--bp-border);
  height:100% !important;
  min-height:0;
}
.bp-side-banners a {
  flex:1; display:block; overflow:hidden; position:relative;
  border-bottom:1px solid var(--bp-border);
}
.bp-side-banners a:last-child { border-bottom:none; }
/* CRITICAL OVERRIDE */
.bp-side-banners a img {
  width:100% !important; height:100% !important;
  max-height:none !important; object-fit:cover !important;
  background:#f7f9fc !important;
  display:block !important;
}
.bp-side-banners a:hover img { transform:scale(1.05); transition:transform .3s; }
.bp-sbl { position:absolute; bottom:0; left:0; right:0; padding:5px 8px; background:linear-gradient(transparent,rgba(0,0,0,.45)); color:#fff; font-size:11px; font-weight:600; }

/* ============ NOTICE BAR ============ */
.bp-notice {
  background:#fff; margin:10px 0 0; border-radius:3px;
  padding:10px 18px; display:flex; align-items:center; gap:14px;
  border-left:4px solid var(--bp-teal);
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
.bp-notice .nt { background:var(--bp-teal); color:#fff; padding:2px 7px; border-radius:2px; font-size:11px; font-weight:700; white-space:nowrap; }
.bp-notice .ni { display:flex; gap:22px; font-size:13px; color:var(--bp-text); }
.bp-notice .ni em { color:var(--bp-red); font-weight:700; font-style:normal; }
.bp-notice .nm { margin-left:auto; color:var(--bp-teal); font-size:13px; white-space:nowrap; }

/* ============ SECTION BLOCKS ============ */
.bp-sec { background:#fff; margin:10px 0 0; border-radius:3px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.04); }

/* Flash Sale header */
.bp-flash-hd { display:flex; align-items:center; padding:13px 18px; background:linear-gradient(90deg,var(--bp-navy),var(--bp-navy2)); }
.bp-flash-hd .ft { font-size:17px; font-weight:900; color:#fff; }
.bp-flash-hd .fs { font-size:12px; color:rgba(255,255,255,.55); margin-left:10px; }
.bp-flash-hd .fc { margin-left:auto; display:flex; align-items:center; gap:4px; color:#fff; font-size:12px; }
.bp-flash-hd .fc b { background:var(--bp-teal); padding:3px 7px; border-radius:2px; font-size:14px; min-width:24px; text-align:center; font-variant-numeric:tabular-nums; }
.bp-flash-hd .fm { margin-left:12px; background:var(--bp-red); color:#fff; font-size:12px; padding:4px 10px; border-radius:2px; font-weight:600; }

/* Generic section header */
.bp-sec-hd { display:flex; align-items:center; padding:14px 18px 0; border-bottom:2px solid var(--bp-border); }
.bp-sec-hd .st { font-size:16px; font-weight:800; color:var(--bp-navy); padding-bottom:13px; position:relative; }
.bp-sec-hd .st::after { content:''; position:absolute; bottom:-2px; left:0; width:100%; height:3px; background:var(--bp-teal); }
.bp-sec-hd .stabs { display:flex; margin-left:20px; }
.bp-sec-hd .stab { padding:6px 12px 13px; font-size:13px; color:var(--bp-muted); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; }
.bp-sec-hd .stab:hover,.bp-sec-hd .stab.on { color:var(--bp-teal); border-color:var(--bp-teal); }
.bp-sec-hd .smore { margin-left:auto; color:var(--bp-muted); font-size:13px; padding-bottom:13px; }
.bp-sec-hd .smore:hover { color:var(--bp-teal); }

/* ============ PRODUCT GRID ============ */
.bp-grid { display:grid; gap:1px; background:var(--bp-border); }
.bp-grid.c5 { grid-template-columns:repeat(5,1fr); }
.bp-grid.c6 { grid-template-columns:repeat(6,1fr); }

.bp-card {
  background:#fff; padding:12px 10px 14px;
  display:flex; flex-direction:column;
  transition:box-shadow .18s; cursor:pointer;
}
.bp-card:hover { box-shadow:0 3px 16px rgba(55,182,197,.15); z-index:2; position:relative; }
.bp-card .ci-wrap {
  position:relative; overflow:hidden;
  border-radius:2px; background:#f0f4f7;
  margin-bottom:9px;
  /* Fixed ratio box */
  width:100%; padding-bottom:100%; height:0 !important;
}
/* CRITICAL: force image inside ratio box */
.bp-card .ci-wrap img {
  position:absolute !important; inset:0 !important;
  width:100% !important; height:100% !important;
  max-height:none !important; object-fit:contain !important;
  background:#fff !important;
  display:block !important; transition:transform .3s;
}
.bp-card:hover .ci-wrap img { transform:scale(1.06); }
.bp-card .cbadge { position:absolute; top:6px; left:6px; z-index:2; font-size:11px; font-weight:700; padding:2px 5px; border-radius:2px; color:#fff; }
.bp-card .cbadge.sale { background:var(--bp-red); }
.bp-card .cbadge.new  { background:var(--bp-teal); }
.bp-card .cbadge.hot  { background:var(--bp-gold); }
.bp-card .cbadge.best { background:var(--bp-navy); }
.bp-card .cname { font-size:13px; color:var(--bp-text); line-height:1.5; margin-bottom:7px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; flex:1; }
.bp-card .cprice { display:flex; align-items:baseline; gap:5px; margin-bottom:5px; }
.bp-card .cprice .cur { font-size:17px; font-weight:800; color:var(--bp-red); }
.bp-card .cprice .sym { font-size:12px; font-weight:700; color:var(--bp-red); }
.bp-card .cprice .old { font-size:12px; color:#bbb; text-decoration:line-through; }
.bp-card .cmeta { font-size:11px; color:#bbb; margin-bottom:7px; }
.bp-card .cmeta .stars { color:var(--bp-gold); }
.bp-card .cmeta .sold  { color:var(--bp-teal2); font-weight:600; }
.bp-card .cprog { height:4px; background:#eee; border-radius:2px; margin-bottom:5px; overflow:hidden; }
.bp-card .cprog-bar { height:100%; background:linear-gradient(90deg,var(--bp-teal),var(--bp-red)); border-radius:2px; }
.bp-card .cptxt { font-size:11px; color:var(--bp-red); font-weight:600; margin-bottom:5px; }
.bp-card .cbtn { display:block; text-align:center; background:var(--bp-teal); color:#fff !important; padding:7px 0; border-radius:2px; font-size:13px; font-weight:600; transition:background .18s; margin-top:auto; }
.bp-card .cbtn:hover { background:var(--bp-teal2) !important; }

/* ============ PROMO 3 + TWIN ============ */
.bp-promo3 { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:10px 0 0; }
.bp-twin   { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:10px 0 0; }
.bp-promobox { border-radius:3px; overflow:hidden; position:relative; height:145px !important; cursor:pointer; box-shadow:0 1px 5px rgba(0,0,0,.07); }
.bp-promobox img { width:100% !important; height:145px !important; max-height:145px !important; object-fit:cover !important; display:block !important; transition:transform .3s; }
.bp-promobox:hover img { transform:scale(1.04); }
.bp-promobox .pov { position:absolute; inset:0; background:linear-gradient(135deg,rgba(55,182,197,.72) 0%,rgba(42,59,76,.45) 100%); display:flex; flex-direction:column; justify-content:center; padding:16px 20px; }
.bp-promobox .pov h3 { font-size:17px; font-weight:900; color:#fff; margin:0 0 3px; }
.bp-promobox .pov p  { font-size:12px; color:rgba(255,255,255,.9); margin:0; }
.bp-twin a { display:block; border-radius:3px; overflow:hidden; box-shadow:0 1px 5px rgba(0,0,0,.07); }
.bp-twin img { width:100% !important; height:195px !important; max-height:195px !important; object-fit:cover !important; display:block !important; transition:transform .3s; }
.bp-twin a:hover img { transform:scale(1.03); }

/* ============ TRUST ============ */
.bp-trust { background:#fff; margin:10px 0 0; border-radius:3px; padding:18px; display:grid; grid-template-columns:repeat(4,1fr); box-shadow:0 1px 4px rgba(0,0,0,.04); }
.bp-trust-item { display:flex; align-items:center; gap:10px; padding:0 16px; }
.bp-trust-item + .bp-trust-item { border-left:1px solid var(--bp-border); }
.bp-trust-item .ico { font-size:28px; }
.bp-trust-item .ttl { font-size:13px; font-weight:700; color:var(--bp-navy); }
.bp-trust-item .sub { font-size:11px; color:var(--bp-muted); }

/* ============ GLOBAL FOOTER ============ */
.page-footer {
  margin-top:56px;
  padding:48px 0 20px;
  border-top:1px solid #eee;
  background:#fafafa !important;
  color:#222;
}
.footer.content {
  display:block !important;
  max-width:1200px !important;
  margin:0 auto !important;
  padding:0 24px !important;
}
.bp-site-footer,
.bp-site-footer * {
  box-sizing:border-box;
}
.bp-site-footer {
  background:#fafafa;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:#222;
}
.bp-site-footer a {
  color:inherit;
  text-decoration:none;
}
.bp-site-footer a:hover {
  color:#222;
}
.bp-site-footer__inner {
  padding:0;
}
.bp-site-footer__grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.5fr;
  gap:40px;
  margin-bottom:28px;
}
.bp-site-footer__col h4 {
  margin:0 0 12px;
  color:#222;
  font-size:13px;
  line-height:1.3;
  font-weight:600;
  letter-spacing:0;
}
.bp-site-footer__newsletter p {
  margin:0 0 6px;
  color:#888;
  font-size:12px;
  line-height:1.45;
}
.bp-site-footer__label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}
.bp-site-footer__signup {
  display:flex;
  gap:6px;
  margin-top:8px;
}
.bp-site-footer__signup input {
  min-width:0;
  flex:1;
  height:32px !important;
  padding:8px 10px !important;
  border:1px solid #ddd !important;
  border-radius:5px !important;
  background:#fff !important;
  color:#222 !important;
  font-size:12px !important;
  line-height:14px !important;
  outline:none !important;
  box-shadow:none !important;
}
.bp-site-footer__signup input:focus {
  border-color:#2563eb !important;
}
.bp-site-footer__submit {
  min-width:auto;
  height:32px;
  padding:0 14px;
  border:0;
  border-radius:5px;
  background:#2563eb;
  color:#fff;
  font-size:12px;
  font-weight:600;
  line-height:32px;
  letter-spacing:0;
  cursor:pointer;
}
.bp-site-footer__submit:hover {
  background:#1d4ed8;
}
.bp-site-footer__col ul {
  margin:0;
  padding:0;
  list-style:none;
}
.bp-site-footer__col li {
  margin:0;
}
.bp-site-footer__col li + li {
  margin-top:6px;
}
.bp-site-footer__col a {
  color:#888;
  font-size:12px;
  line-height:1.4;
  font-weight:400;
}
.bp-site-footer__bottom {
  padding-top:16px;
  border-top:1px solid #eee;
  text-align:center;
  color:#aaa;
  font-size:11px;
  line-height:1.4;
}
@media(max-width:980px) {
  .bp-site-footer__grid {
    grid-template-columns:1.4fr 1fr 1fr;
    gap:28px;
  }
  .bp-site-footer__newsletter {
    grid-column:1 / -1;
  }
}
@media(max-width:680px) {
  .footer.content {
    padding:0 16px !important;
  }
  .bp-site-footer__grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .bp-site-footer__signup {
    flex-direction:column;
  }
  .bp-site-footer__submit,
  .bp-site-footer__signup input {
    width:100%;
  }
}

/* Responsive */
@media(max-width:1060px) {
  .bp-layout { grid-template-columns:200px 1fr 165px; }
  .bp-grid.c6 { grid-template-columns:repeat(4,1fr); }
  .bp-grid.c5 { grid-template-columns:repeat(4,1fr); }
}
@media(max-width:780px) {
  .nav-sections {
    display:none;
  }
  .nav-open .nav-sections {
    display:block;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    width:80%;
    max-width:336px;
    height:auto;
    overflow:auto;
    z-index:5000;
    box-shadow:6px 0 24px rgba(0,0,0,.18);
  }
  .nav-open .nav-sections .navigation {
    max-width:none;
  }
  .bp-layout { --bp-hero-height:240px; grid-template-columns:1fr; grid-template-rows:var(--bp-hero-height); }
  .bp-sidebar,.bp-side-banners { display:none; }
  .bp-slider-wrap { grid-column:1; grid-row:1; height:240px !important; }
  .bp-slide { height:240px !important; }
  .bp-slide img { height:240px !important; }
  .bp-grid.c5,.bp-grid.c6 { grid-template-columns:repeat(2,1fr); }
  .bp-promo3 { grid-template-columns:1fr; }
  .bp-trust { grid-template-columns:repeat(2,1fr); }
}

/* ============================================
   Modern homepage prototype
   ============================================ */
body.cms-index-index,
.cms-index-index .page-wrapper {
  background:#fff !important;
  color:#222;
}
.cms-index-index .page-main {
  max-width:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
  background:#fff !important;
}
.cms-index-index .columns .column.main {
  padding-bottom:0 !important;
}

.bp-modern-home,
.bp-modern-home * {
  box-sizing:border-box;
}
.bp-modern-home {
  --bpm-blue:#2563eb;
  --bpm-blue-dark:#1d4ed8;
  --bpm-ink:#111;
  --bpm-text:#444;
  --bpm-muted:#888;
  --bpm-soft:#f8f8f8;
  --bpm-line:#eee;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'PingFang SC','Microsoft YaHei',sans-serif;
  color:#222;
  background:#fff;
}
.bp-modern-home a {
  text-decoration:none;
}
.bp-modern-container {
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}
.bp-modern-hero {
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  text-align:center;
  background:#111;
}
.bp-modern-hero-bg {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:saturate(.9) contrast(1.05);
}
.bp-modern-hero-shade {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.58);
}
.bp-modern-hero-content {
  position:relative;
  z-index:2;
  max-width:680px;
  padding:56px 24px;
  color:#fff;
}
.bp-modern-kicker {
  display:inline-block;
  margin-bottom:14px;
  color:rgba(255,255,255,.75);
  font-size:13px;
  font-weight:700;
  letter-spacing:0;
}
.bp-modern-hero h1 {
  margin:0 0 16px;
  font-size:44px;
  line-height:1.18;
  font-weight:800;
  letter-spacing:0;
}
.bp-modern-hero p {
  margin:0 auto 30px;
  max-width:620px;
  color:rgba(255,255,255,.78);
  font-size:16px;
  line-height:1.65;
}
.bp-modern-actions {
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.bp-modern-primary,
.bp-modern-secondary,
.bp-modern-cta-primary,
.bp-modern-cta-secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border-radius:6px;
  padding:0 28px;
  font-size:14px;
  font-weight:700;
}
.bp-modern-primary,
.bp-modern-cta-primary {
  background:var(--bpm-blue);
  color:#fff !important;
}
.bp-modern-primary:hover,
.bp-modern-cta-primary:hover {
  background:var(--bpm-blue-dark);
}
.bp-modern-secondary,
.bp-modern-cta-secondary {
  border:1px solid rgba(255,255,255,.55);
  color:#fff !important;
  background:rgba(255,255,255,.08);
}
.bp-modern-hero-card {
  position:absolute;
  right:calc(50% - 560px);
  bottom:28px;
  z-index:2;
  width:250px;
  display:none;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:10px;
  background:rgba(255,255,255,.88);
  box-shadow:0 12px 32px rgba(0,0,0,.22);
  text-align:left;
}
.bp-modern-hero-card img {
  width:66px !important;
  height:66px !important;
  max-height:66px !important;
  object-fit:contain !important;
  border-radius:8px;
  background:#f5f5f5;
}
.bp-modern-hero-card strong {
  display:block;
  max-height:38px;
  overflow:hidden;
  color:#222;
  font-size:13px;
  line-height:1.45;
}
.bp-modern-hero-card span {
  display:block;
  color:var(--bpm-blue);
  font-size:12px;
  font-weight:700;
  margin-top:2px;
}
.bp-modern-stats {
  max-width:1200px;
  margin:0 auto;
  padding:48px 24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  border-bottom:1px solid #f0f0f0;
  text-align:center;
}
.bp-modern-stats strong {
  display:block;
  color:#111;
  font-size:32px;
  font-weight:800;
  line-height:1.1;
}
.bp-modern-stats span {
  display:block;
  margin-top:6px;
  color:#888;
  font-size:13px;
}
.bp-modern-section {
  padding:56px 0;
  background:#fff;
}
.bp-modern-section.is-muted {
  background:#fafafa;
}
.bp-modern-title {
  text-align:center;
  margin-bottom:40px;
}
.bp-modern-title h2,
.bp-modern-section-head h2 {
  margin:0;
  color:#111;
  font-size:24px;
  font-weight:800;
  line-height:1.25;
}
.bp-modern-title p,
.bp-modern-section-head p {
  margin:10px 0 0;
  color:#888;
  font-size:14px;
}
.bp-modern-section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.bp-modern-section-head > a {
  color:var(--bpm-blue);
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}
.bp-modern-categories {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:20px;
}
.bp-modern-category {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:130px;
  padding:24px 12px;
  border-radius:10px;
  background:#f8f8f8;
  color:#444 !important;
  text-align:center;
  transition:transform .18s,background .18s,box-shadow .18s;
}
.bp-modern-category:hover {
  background:#eef3ff;
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(37,99,235,.08);
}
.bp-modern-icon {
  width:48px;
  height:48px;
  margin-bottom:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#e8eeff;
}
.bp-modern-icon svg {
  width:24px;
  height:24px;
  stroke:var(--bpm-blue);
  stroke-width:1.7;
  fill:none;
}
.bp-modern-category > span:last-child {
  font-size:12px;
  font-weight:700;
}
.bp-modern-products {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.bp-modern-card {
  overflow:hidden;
  border:1px solid #eee;
  border-radius:8px;
  background:#fff;
  transition:transform .18s,box-shadow .18s;
}
.bp-modern-card:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.07);
}
.bp-modern-img {
  position:relative;
  display:block;
  aspect-ratio:1;
  overflow:hidden;
  background:#f5f5f5;
}
.bp-modern-img img {
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  display:block !important;
  background:#fff;
  transition:transform .25s;
}
.bp-modern-card:hover .bp-modern-img img {
  transform:scale(1.04);
}
.bp-modern-img .tag {
  position:absolute;
  top:8px;
  left:8px;
  z-index:2;
  padding:3px 8px;
  border-radius:3px;
  color:#fff;
  background:var(--bpm-blue);
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  text-transform:uppercase;
}
.bp-modern-img .tag.sale { background:#ef4444; }
.bp-modern-img .tag.hot { background:#f59e0b; }
.bp-modern-img .tag.best { background:#111; }
.bp-modern-info {
  padding:13px 14px 14px;
}
.bp-modern-info h3 {
  height:38px;
  margin:0 0 7px;
  overflow:hidden;
  color:#333;
  font-size:13px;
  line-height:1.45;
  font-weight:700;
}
.bp-modern-info p {
  height:34px;
  margin:0 0 8px;
  overflow:hidden;
  color:#888;
  font-size:11px;
  line-height:1.5;
}
.bp-modern-price {
  color:#111;
  font-size:16px;
  font-weight:800;
  line-height:1.3;
}
.bp-modern-price .old {
  color:#aaa;
  font-size:12px;
  font-weight:500;
  text-decoration:line-through;
}
.bp-modern-detail {
  display:block;
  margin-top:10px;
  padding:7px 10px;
  border-radius:5px;
  background:#f5f5f5;
  color:var(--bpm-blue) !important;
  font-size:11px;
  font-weight:800;
  text-align:center;
}
.bp-modern-detail:hover {
  background:#eef3ff;
}
.bp-modern-advantages {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
  text-align:center;
}
.bp-modern-advantages div {
  padding:4px 10px;
}
.bp-modern-advantages span {
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  margin:0 auto 13px;
  border-radius:50%;
  background:#eef3ff;
  color:var(--bpm-blue);
  font-size:13px;
  font-weight:800;
}
.bp-modern-advantages strong {
  display:block;
  color:#222;
  font-size:14px;
  margin-bottom:6px;
}
.bp-modern-advantages p {
  margin:0;
  color:#888;
  font-size:12px;
  line-height:1.55;
}
.bp-modern-cta {
  max-width:1200px;
  margin:0 auto 56px;
  padding:56px 24px;
  border-radius:12px;
  background:#111;
  color:#fff;
  text-align:center;
}
.bp-modern-cta h2 {
  margin:0 0 10px;
  font-size:28px;
  font-weight:800;
  line-height:1.25;
}
.bp-modern-cta p {
  margin:0 0 24px;
  color:#aaa;
  font-size:14px;
}
.bp-modern-cta > div {
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.bp-modern-cta-secondary {
  border-color:#555;
}

@media(max-width:1100px) {
  .bp-modern-hero-card { display:none; }
  .bp-modern-products { grid-template-columns:repeat(3,1fr); }
  .bp-modern-categories { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:780px) {
  .header.content {
    flex-wrap:wrap;
    min-height:64px !important;
    padding:10px 16px !important;
    gap:10px;
  }
  .block-search {
    order:4;
    max-width:none;
    flex:1 1 100%;
  }
  .bp-modern-hero {
    min-height:430px;
  }
  .bp-modern-hero h1 {
    font-size:34px;
  }
  .bp-modern-stats,
  .bp-modern-advantages {
    grid-template-columns:repeat(2,1fr);
  }
  .bp-modern-products,
  .bp-modern-categories {
    grid-template-columns:repeat(2,1fr);
  }
  .bp-modern-section-head {
    align-items:flex-start;
    flex-direction:column;
  }
  .bp-modern-section,
  .bp-modern-stats {
    padding-top:40px;
    padding-bottom:40px;
  }
  .bp-modern-cta {
    margin-left:16px;
    margin-right:16px;
    padding:42px 22px;
  }
}
@media(max-width:520px) {
  .bp-modern-container,
  .bp-modern-stats {
    padding-left:16px;
    padding-right:16px;
  }
  .bp-modern-hero h1 {
    font-size:30px;
  }
  .bp-modern-products {
    grid-template-columns:1fr;
  }
  .bp-modern-categories {
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }
}

/* ============ CART / CHECKOUT / ORDER SUCCESS (#27-#30) ============ */

/* Cart page */
.checkout-cart-index .page-title { font-size:22px; font-weight:700; color:var(--bp-navy); margin-bottom:20px; }
.cart-container { display:flex; gap:24px; align-items:flex-start; }
.form-cart { flex:1 1 auto; background:#fff; border-radius:8px; padding:20px; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.cart.table-wrapper table { width:100%; border-collapse:collapse; }
.cart.table-wrapper th { font-size:12px; color:var(--bp-muted); text-transform:uppercase; border-bottom:2px solid var(--bp-border); padding:10px 8px; }
.cart.table-wrapper td { padding:14px 8px; border-bottom:1px solid var(--bp-border); vertical-align:middle; }
.cart.item .product-item-name a { color:var(--bp-navy); font-weight:600; font-size:14px; }
.cart.item .product-item-name a:hover { color:var(--bp-teal); }
.cart-price .price { color:var(--bp-red); font-weight:700; }
.input-text.qty { width:52px; text-align:center; border:1px solid var(--bp-border); border-radius:4px; padding:4px; }
.action.update,.action.continue { background:#fff; border:1px solid var(--bp-border); color:var(--bp-navy); padding:8px 16px; border-radius:4px; font-size:13px; cursor:pointer; }
.action.update:hover,.action.continue:hover { border-color:var(--bp-teal); color:var(--bp-teal); }
.cart-empty { text-align:center; padding:60px 20px; color:var(--bp-muted); }
.cart-empty a { color:var(--bp-teal); }

/* Cart summary sidebar */
.cart-summary { background:#fff; border-radius:8px; padding:20px; box-shadow:0 2px 8px rgba(0,0,0,.06); min-width:280px; }
.cart-totals .grand.totals .price { font-size:20px; color:var(--bp-red); font-weight:700; }
.cart-totals tr { border-bottom:1px solid var(--bp-border); }
.cart-totals td,.cart-totals th { padding:10px 0; font-size:14px; }
.action.primary.checkout { width:100%; background:var(--bp-teal); color:#fff; border:none; border-radius:6px; padding:14px; font-size:15px; font-weight:700; cursor:pointer; margin-top:14px; }
.action.primary.checkout:hover { background:var(--bp-teal2); }

/* Minicart */
.minicart-wrapper .action.showcart .counter.qty { background:var(--bp-red); color:#fff; border-radius:10px; font-size:11px; padding:0 5px; min-width:18px; }
.block-minicart .block-content { padding:16px; }
.minicart-items .product-item-name a { color:var(--bp-navy); font-weight:600; font-size:13px; }
.minicart-items .price { color:var(--bp-red); font-weight:700; }
.action.viewcart { display:block; text-align:center; color:var(--bp-teal); font-size:13px; margin-bottom:8px; }
.action.primary.checkout span { font-size:14px; }

/* Checkout page */
.checkout-index-index .page-title-wrapper { display:none; }
.opc-wrapper .step-title { font-size:16px; font-weight:700; color:var(--bp-navy); border-bottom:2px solid var(--bp-teal); padding-bottom:8px; margin-bottom:16px; }
.opc-wrapper .form-login,.opc-wrapper .form-shipping-address { background:#fff; border-radius:8px; padding:20px; box-shadow:0 2px 8px rgba(0,0,0,.06); margin-bottom:20px; }
.opc-wrapper input.input-text,.opc-wrapper select { border:1px solid var(--bp-border); border-radius:4px; padding:9px 12px; width:100%; font-size:14px; }
.opc-wrapper input.input-text:focus,.opc-wrapper select:focus { border-color:var(--bp-teal); outline:none; box-shadow:0 0 0 3px rgba(55,182,197,.15); }
.opc-wrapper .payment-method-title label { font-weight:600; color:var(--bp-navy); }
.checkout-payment-method .actions-toolbar .primary button { background:var(--bp-teal); color:#fff; border:none; border-radius:6px; padding:14px 32px; font-size:15px; font-weight:700; cursor:pointer; }
.checkout-payment-method .actions-toolbar .primary button:hover { background:var(--bp-teal2); }
.opc-sidebar .opc-block-summary { background:#fff; border-radius:8px; padding:20px; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.opc-block-summary .title { font-size:16px; font-weight:700; color:var(--bp-navy); margin-bottom:12px; }
.opc-block-summary .grand.totals .price { color:var(--bp-red); font-weight:700; font-size:18px; }

/* Order success page */
.checkout-onepage-success .page-title { color:#10b981; font-size:28px; font-weight:700; }
.checkout-onepage-success .checkout-success { background:transparent; border-radius:0; padding:0; box-shadow:none; max-width:none; margin:0 auto; text-align:center; }
.checkout-onepage-success .checkout-success .order-box { background:#f8f9fa; border-radius:12px; padding:32px; max-width:500px; margin:0 auto 48px; }
.checkout-onepage-success .checkout-success .order-number strong { color:#2563eb; font-size:20px; font-weight:700; }
.checkout-onepage-success .checkout-success .actions-toolbar .action { background:#2563eb; color:#fff; border:none; border-radius:6px; padding:14px 36px; font-size:14px; font-weight:600; cursor:pointer; display:inline-block; }
.checkout-onepage-success .checkout-success .actions-toolbar .action:hover { background:#1d4ed8; }

/* ============ ENQUIRY (#31) ============ */

/* My Enquiries list page */
.bp-enquiry-table { width:100%; border-collapse:collapse; background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.bp-enquiry-table th { background:var(--bp-bg); color:var(--bp-muted); font-size:12px; text-transform:uppercase; padding:10px 14px; border-bottom:2px solid var(--bp-border); text-align:left; }
.bp-enquiry-table td { padding:12px 14px; border-bottom:1px solid var(--bp-border); font-size:14px; color:var(--bp-navy); vertical-align:middle; }
.bp-enquiry-table tr:last-child td { border-bottom:none; }
.bp-enquiry-table .action.view { color:var(--bp-teal); margin-right:8px; font-weight:600; }
.bp-enquiry-table .action.cancel { background:none; border:1px solid var(--bp-border); color:var(--bp-muted); padding:4px 10px; border-radius:4px; cursor:pointer; font-size:12px; }
.bp-enquiry-table .action.cancel:hover { border-color:var(--bp-red); color:var(--bp-red); }

/* Status badges */
.bp-enquiry-status { display:inline-block; padding:2px 10px; border-radius:12px; font-size:12px; font-weight:600; }
.bp-enquiry-status--pending { background:#fff7e6; color:#d46b08; }
.bp-enquiry-status--replied { background:#e6f7ff; color:#0958d9; }
.bp-enquiry-status--closed  { background:#f5f5f5; color:var(--bp-muted); }

/* Enquiry detail view */
.bp-enquiry-detail-table { width:100%; border-collapse:collapse; background:#fff; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.bp-enquiry-detail-table th { width:160px; background:var(--bp-bg); padding:12px 16px; font-weight:600; color:var(--bp-navy); border-bottom:1px solid var(--bp-border); text-align:left; vertical-align:top; }
.bp-enquiry-detail-table td { padding:12px 16px; border-bottom:1px solid var(--bp-border); color:var(--bp-navy); }
.bp-enquiry-reply-row th,.bp-enquiry-reply-row td { background:#f0feff; }
.bp-enquiry-view .action.back { color:var(--bp-teal); font-weight:600; }

/* Product detail page — enquiry form toggle */
.bp-enquiry-product-section { border-top:1px solid var(--bp-border); margin-top:20px; padding-top:16px; }
.bp-enquiry-toggle-btn { background:#fff; border:2px solid var(--bp-teal); color:var(--bp-teal); padding:10px 22px; border-radius:6px; font-weight:700; font-size:14px; cursor:pointer; }
.bp-enquiry-toggle-btn:hover { background:var(--bp-teal); color:#fff; }
.bp-enquiry-form .field { margin-bottom:14px; }
.bp-enquiry-form label.label { font-weight:600; font-size:13px; color:var(--bp-navy); display:block; margin-bottom:4px; }
.bp-enquiry-form .input-text,.bp-enquiry-form textarea { border:1px solid var(--bp-border); border-radius:4px; padding:8px 12px; width:100%; font-size:14px; }
.bp-enquiry-form .input-text:focus,.bp-enquiry-form textarea:focus { border-color:var(--bp-teal); outline:none; }
.bp-enquiry-submit { background:var(--bp-teal); color:#fff; border:none; border-radius:6px; padding:10px 28px; font-size:14px; font-weight:700; cursor:pointer; }
.bp-enquiry-submit:hover { background:var(--bp-teal2); }
.bp-enquiry-login-hint { color:var(--bp-muted); font-size:13px; }
.bp-enquiry-login-hint a { color:var(--bp-teal); }

/* ============ SOURCE BADGE (self-operated / marketplace) ============ */
.bp-badge {
  display:inline-block;
  padding:2px 8px;
  border-radius:3px;
  font-size:11px;
  font-weight:600;
  line-height:1.6;
  white-space:nowrap;
  vertical-align:middle;
}
.bp-badge--self {
  background:var(--bp-teal);
  color:#fff;
}
.bp-badge--third {
  background:#f0f0f0;
  color:var(--bp-muted);
  border:1px solid var(--bp-border);
}

/* list page — badge overlaid on product image */
.bp-source-badge-wrap {
  position:relative;
  display:block;
}
.bp-source-badge-wrap .bp-badge {
  position:absolute;
  top:8px;
  left:8px;
  z-index:2;
}

/* detail page — badge + descriptor row (prototype .pdp-meta) */
.bp-source-badge-detail {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.bp-source-badge-detail .bp-badge {
  padding:3px 8px;
  border-radius:4px;
  background:#eef3ff;
  color:#2563eb;
  font-size:11px;
  font-weight:600;
}
.bp-source-badge-detail .bp-badge-desc {
  font-size:13px;
  color:#888;
}
.bp-badge-desc {
  font-size:12px;
  color:var(--bp-muted);
}

/* ============================================
   WPH storefront prototype alignment
   Covers PLP, PDP, cart, checkout, account, login,
   buyer/supplier registration, minicart and vendor store.
   Functionality remains Magento-native.
   ============================================ */
:root {
  --wph-blue:#2563eb;
  --wph-blue-dark:#1d4ed8;
  --wph-green:#10b981;
  --wph-red:#ef4444;
  --wph-amber:#f59e0b;
  --wph-ink:#111;
  --wph-text:#444;
  --wph-muted:#888;
  --wph-faint:#aaa;
  --wph-line:#eee;
  --wph-soft:#f8f9fa;
  --wph-hover:#eef3ff;
  --wph-card:#fff;
}

html,
body,
.page-wrapper {
  background:#fff !important;
}

body {
  color:#222;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'PingFang SC','Microsoft YaHei',sans-serif !important;
}

body:not(.cms-index-index) .page-main {
  max-width:1200px;
  margin:0 auto;
  padding:32px 24px 64px !important;
  background:#fff;
}

body:not(.cms-index-index) .columns .column.main {
  padding-bottom:0;
}

.page-title-wrapper .page-title {
  margin:0 0 28px;
  color:#222;
  font-size:28px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:0;
}

.breadcrumbs {
  max-width:1200px !important;
  margin:0 auto !important;
  padding:12px 24px 0 !important;
  color:var(--wph-muted);
  font-size:12px;
}

.breadcrumbs .items,
.breadcrumbs .item,
.breadcrumbs a {
  color:var(--wph-muted) !important;
  font-size:12px;
}

.breadcrumbs a {
  color:var(--wph-blue) !important;
}

.action.primary,
button.action.primary,
.actions-toolbar .primary .action,
.product-item-actions .actions-primary .action.tocart,
.box-tocart .action.tocart,
.checkout-payment-method .actions-toolbar .primary button,
.action.primary.checkout,
.checkout-success .actions-toolbar .action {
  min-height:42px;
  border:1px solid var(--wph-blue) !important;
  border-radius:6px !important;
  background:var(--wph-blue) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  box-shadow:none !important;
}

.action.primary:hover,
button.action.primary:hover,
.actions-toolbar .primary .action:hover,
.product-item-actions .actions-primary .action.tocart:hover,
.box-tocart .action.tocart:hover,
.checkout-payment-method .actions-toolbar .primary button:hover,
.action.primary.checkout:hover,
.checkout-success .actions-toolbar .action:hover {
  border-color:var(--wph-blue-dark) !important;
  background:var(--wph-blue-dark) !important;
  color:#fff !important;
}

.action.secondary,
.actions-toolbar .secondary .action,
.action.update,
.action.continue,
.action.multicheckout {
  min-height:38px;
  border:1px solid #ddd !important;
  border-radius:6px !important;
  background:#f5f5f5 !important;
  color:var(--wph-text) !important;
  font-size:13px !important;
  font-weight:500 !important;
  box-shadow:none !important;
}

input.input-text,
input[type='text'],
input[type='email'],
input[type='password'],
input[type='tel'],
input[type='number'],
select,
textarea {
  border:1px solid #ddd !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#222 !important;
  font-size:13px !important;
  outline:none !important;
  box-shadow:none !important;
}

input.input-text:focus,
input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='tel']:focus,
input[type='number']:focus,
select:focus,
textarea:focus {
  border-color:var(--wph-blue) !important;
  box-shadow:0 0 0 3px rgba(37,99,235,.1) !important;
}

.fieldset > .legend,
.block .block-title,
.box-title,
.table-wrapper .table-caption {
  color:#111;
  font-weight:700;
}

/* PLP / search listing */
.page-products .page-main {
  padding-top:24px !important;
  max-width:1600px !important;
}

.page-products .breadcrumbs {
  max-width:1600px !important;
}

.page-products.page-layout-2columns-left .columns,
.catalog-category-view.page-layout-2columns-left .columns,
.catalogsearch-result-index.page-layout-2columns-left .columns {
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  grid-template-areas:
    "sidebar main"
    "additional main";
  gap:32px;
  align-items:start;
}

.page-products.page-layout-2columns-left .columns:before,
.page-products.page-layout-2columns-left .columns:after,
.catalog-category-view.page-layout-2columns-left .columns:before,
.catalog-category-view.page-layout-2columns-left .columns:after,
.catalogsearch-result-index.page-layout-2columns-left .columns:before,
.catalogsearch-result-index.page-layout-2columns-left .columns:after {
  display:none !important;
  content:none !important;
}

.page-products.page-layout-2columns-left .sidebar-main,
.catalog-category-view.page-layout-2columns-left .sidebar-main,
.catalogsearch-result-index.page-layout-2columns-left .sidebar-main,
.page-products.page-layout-2columns-left .sidebar-additional,
.catalog-category-view.page-layout-2columns-left .sidebar-additional,
.catalogsearch-result-index.page-layout-2columns-left .sidebar-additional,
.page-products.page-layout-2columns-left .column.main,
.catalog-category-view.page-layout-2columns-left .column.main,
.catalogsearch-result-index.page-layout-2columns-left .column.main {
  float:none !important;
  width:auto !important;
  padding:0 !important;
}

.page-products.page-layout-2columns-left .sidebar-main,
.catalog-category-view.page-layout-2columns-left .sidebar-main,
.catalogsearch-result-index.page-layout-2columns-left .sidebar-main {
  grid-area:sidebar;
}

.page-products.page-layout-2columns-left .sidebar-additional,
.catalog-category-view.page-layout-2columns-left .sidebar-additional,
.catalogsearch-result-index.page-layout-2columns-left .sidebar-additional {
  grid-area:additional;
}

.page-products.page-layout-2columns-left .column.main,
.catalog-category-view.page-layout-2columns-left .column.main,
.catalogsearch-result-index.page-layout-2columns-left .column.main {
  grid-area:main;
  min-width:0;
}

.page-products .sidebar-main .filter,
.catalog-category-view .sidebar-main .filter,
.catalogsearch-result-index .sidebar-main .filter {
  margin:0;
  border:0;
  background:transparent;
}

.page-products .filter-title strong {
  display:none;
}

.page-products .filter .block-subtitle {
  margin:0 0 16px;
  padding:0;
  border:0;
  color:#111;
  font-size:14px;
  font-weight:600;
}

.page-products .filter-options-item {
  margin:0 0 16px;
  padding:0 0 16px;
  border:0;
  border-bottom:1px solid var(--wph-line);
}

.page-products .filter-options-title {
  padding:0;
  color:#333;
  font-size:13px;
  font-weight:600;
  line-height:1.4;
  text-transform:uppercase;
}

.page-products .filter-options-title:after {
  color:#888;
  font-size:14px;
}

.page-products .filter-options-content {
  padding:12px 0 0;
}

.page-products .filter-options-content a,
.page-products .filter-options-content .count {
  color:#666;
  font-size:12px;
}

.page-products .filter-options-content a:hover {
  color:var(--wph-blue);
}

.page-products .toolbar-products {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 20px;
  padding:0;
}

.page-products .toolbar-products .toolbar-amount {
  color:#888;
  font-size:13px;
}

.page-products .toolbar-products .modes {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
}

.page-products .toolbar-products .modes-mode {
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #ddd !important;
  border-radius:6px !important;
  background:#fff !important;
  box-shadow:none !important;
  color:#777 !important;
}

.page-products .toolbar-products .modes-mode.active,
.page-products .toolbar-products .modes-mode:hover {
  border-color:var(--wph-blue) !important;
  background:var(--wph-blue) !important;
  color:#fff !important;
}

.page-products .toolbar-products .modes-mode:before {
  color:currentColor !important;
  font-size:18px;
  line-height:1;
}

.page-products .toolbar-products .sorter {
  display:flex;
  align-items:center;
  gap:0;
  color:#666;
  font-size:13px;
}

.page-products .toolbar-products .sorter-label,
.page-products .toolbar-products .sorter-action {
  display:none !important;
}

.page-products .toolbar-products .sorter-options,
.page-products .toolbar-products .limiter-options {
  min-width:230px;
  height:48px;
  padding:0 44px 0 24px !important;
  border:1px solid #e5e7eb !important;
  border-radius:8px !important;
  background-color:#fff !important;
  color:#111 !important;
  font-size:16px !important;
  font-weight:400 !important;
  box-shadow:none !important;
}

.page-products .products-grid .product-items {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin:0 !important;
  padding:0 !important;
}

.page-products .products-grid .product-item {
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
}

.page-products .products-grid .product-item-info {
  width:100%;
  min-height:100%;
  padding:0;
  overflow:hidden;
  border:1px solid var(--wph-line);
  border-radius:8px;
  background:#fff;
  transition:box-shadow .2s,transform .2s;
}

.page-products .products-grid .product-item-info:hover {
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  transform:translateY(-2px);
}

.page-products .product-item-photo,
.page-products .bp-source-badge-wrap {
  display:block;
  width:100%;
}

.page-products .product-image-container {
  width:100% !important;
}

.page-products .product-image-wrapper {
  display:block !important;
  height:auto !important;
  padding-bottom:100% !important;
  background:#f5f5f5;
}

.page-products .product-image-photo {
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  background:#f5f5f5 !important;
}

.page-products .product-item-details {
  padding:12px 14px 14px;
}

.page-products .product-item-name {
  min-height:34px;
  margin:0 0 6px;
}

.page-products .product-item-link {
  display:-webkit-box;
  overflow:hidden;
  color:#444 !important;
  font-size:12px;
  font-weight:500;
  line-height:1.4;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.page-products .product-item-link:hover {
  color:var(--wph-blue) !important;
}

.page-products .price-box {
  margin:6px 0 0;
}

.page-products .price {
  color:#111 !important;
  font-size:16px;
  font-weight:700;
}

.page-products .swatch-attribute-options {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:8px 0 0;
}

.page-products .swatch-option.text {
  min-width:30px;
  height:28px;
  padding:0 8px;
  border:1px solid #ddd;
  border-radius:4px;
  background:#f8f8f8;
  color:#666;
  font-size:11px;
  line-height:26px;
}

.page-products .swatch-option.color {
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:50%;
  border:2px solid #eee;
}

.page-products .bp-badge {
  top:8px;
  left:8px;
  border:0;
  border-radius:3px;
  background:var(--wph-blue);
  color:#fff;
  font-size:10px;
  font-weight:600;
}

.page-products .toolbar.toolbar-products:last-child {
  justify-content:center;
  margin-top:40px;
}

.catalogsearch-result-index .search.results {
  min-width:0;
}

.catalogsearch-result-index .search.results > .toolbar-products:first-child {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:16px;
  align-items:center;
  margin:0 0 22px;
}

.catalogsearch-result-index .search.results > .toolbar-products:first-child .toolbar-amount {
  grid-column:1;
  grid-row:1;
  margin:0;
  color:#777;
  font-size:13px;
}

.catalogsearch-result-index .search.results > .toolbar-products:first-child .modes {
  grid-column:2;
  grid-row:1;
  justify-self:end;
}

.catalogsearch-result-index .search.results > .toolbar-products:first-child .sorter {
  grid-column:3;
  grid-row:1;
  justify-self:end;
}

.catalogsearch-result-index .search.results > .block {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 18px;
  padding:0;
  color:#666;
  font-size:13px;
}

.catalogsearch-result-index .search.results > .block .title {
  margin:0;
  color:#555;
  font-size:13px;
  font-weight:400;
}

.catalogsearch-result-index .search.results > .block .title:after {
  content:":";
}

.catalogsearch-result-index .search.results > .block .item {
  margin:0;
}

.catalogsearch-result-index .search.results > .block a {
  color:var(--wph-blue) !important;
  font-size:13px;
}

.catalogsearch-result-index .search.results > .products-grid {
  clear:both;
}

.pages .item {
  margin:0 4px;
}

.pages .item a,
.pages .item strong {
  min-width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #ddd;
  border-radius:5px;
  color:#666;
  font-size:12px;
}

.pages .item.current strong,
.pages .item a:hover {
  border-color:var(--wph-blue);
  background:var(--wph-blue);
  color:#fff;
}

/* PDP */
body.catalog-product-view:not(.cms-index-index) .page-main {
  padding-top:30px !important;
}

.catalog-product-view .page-main > .columns .column.main {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,1fr);
  gap:48px;
  align-items:start;
  padding-top:0 !important;
}

.catalog-product-view .product.media,
.catalog-product-view .product-info-main {
  float:none !important;
  width:auto !important;
}

.catalog-product-view .product.media {
  grid-column:1;
  padding:0;
}

.catalog-product-view .product-info-main {
  grid-column:2;
  display:flex;
  flex-direction:column;
}

.catalog-product-view .product.info.detailed {
  grid-column:1 / -1;
  width:100%;
  margin-top:23px;
}

/* Desktop: page scrolls naturally; sticky bar keeps buy info pinned at top. */
@media (min-width:901px) {
  .catalog-product-view .product.media,
  .catalog-product-view .product-info-main {
    align-self:start;
  }

  .catalog-product-view .product.info.detailed {
    scroll-behavior:smooth;
  }

  /* Anchor nav pins just below the sticky site header (112px). */
  .catalog-product-view .bayport-pdp-anchor-nav {
    position:sticky;
    top:112px;
    z-index:90;
    background:#fff;
    transition:top .2s ease;
  }

  /* Keep scrolled-to sections clear of the fixed stack above them
     (112 header + 50 tab nav + 70 sticky bar). */
  .catalog-product-view .bayport-pdp-section {
    scroll-margin-top:232px;
  }
}

.catalog-product-view .gallery-placeholder,
.catalog-product-view .fotorama__stage,
.catalog-product-view .fotorama__stage__shaft,
.catalog-product-view .fotorama__stage__frame {
  border-radius:12px;
  background:#f8f8f8;
}

.catalog-product-view .fotorama__img {
  object-fit:cover;
}

/* Fullscreen gallery must sit above the sticky header (bp-header 4000 / navbar 4100 / mega 4200),
   otherwise the header covers the fullscreen close button. */
.catalog-product-view .fotorama--fullscreen {
  z-index:4600 !important;
}

.catalog-product-view .product-info-main .page-title-wrapper .page-title {
  margin:0 0 8px;
  font-size:28px;
  line-height:1.3;
  font-weight:700;
}

.catalog-product-view .product-info-main .product-info-price {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  margin:0;
  padding:0;
  border:0;
}

.catalog-product-view .product-info-main .product-info-price .price-box {
  float:none;
  order:1;
  width:100%;
  height:38px;
  margin:0 0 6px;
  padding:0;
}

.catalog-product-view .product-info-main .product-info-price .price-box .price-container,
.catalog-product-view .product-info-main .product-info-price .price-box .price-wrapper {
  display:inline-block;
  height:38px;
  margin:0;
  line-height:38px;
}

.catalog-product-view .product-info-main .product-info-price .product-info-stock-sku {
  float:none;
  order:2;
  width:100%;
  margin:0 0 8px;
  padding:0;
}

.catalog-product-view .product-reviews-summary {
  display:flex;
  align-items:center;
  gap:8px;
  height:16px;
  margin:0 0 16px;
  color:#666;
  font-size:13px;
  line-height:16px;
}

.catalog-product-view .product-reviews-summary .rating-summary {
  height:14px;
  margin:0 !important;
  line-height:14px;
}

.catalog-product-view .product-reviews-summary .rating-result {
  width:72px;
  height:14px;
}

.catalog-product-view .product-reviews-summary .rating-result:before,
.catalog-product-view .product-reviews-summary .rating-result > span:before {
  height:14px;
  font-size:13px;
  line-height:14px;
}

.catalog-product-view .product-reviews-summary .reviews-actions,
.catalog-product-view .product-reviews-summary .reviews-actions a {
  height:16px;
  font-size:13px;
  line-height:16px;
}

.catalog-product-view .product-info-main .product-info-price .price-box .price {
  color:#111 !important;
  font-size:32px !important;
  font-weight:700;
  line-height:38px;
}

.catalog-product-view .product-info-stock-sku {
  display:flex;
  align-items:center;
  gap:16px;
  margin:8px 0 20px;
  color:#888;
  font-size:12px;
  line-height:15px;
}

/* Tighten the SKU label/value spacing (inline-flex ignores the stray
   whitespace text node, so only the explicit gap remains). */
.catalog-product-view .product-info-stock-sku .product.attribute.sku {
  display:inline-flex;
  align-items:baseline;
  gap:4px;
}

.catalog-product-view .product-info-stock-sku .product.attribute.sku .type {
  margin-right:0;
}

.catalog-product-view .product-info-stock-sku .product.attribute.sku .value {
  display:inline;
  margin:0;
}

/* ===================================================================
   Core Selling Points (Short Description) in buy-box area
   =================================================================== */
/* .product-info-price is a flex column that reorders children with explicit
   order values (price-box:1, stock-sku:2). The selling-points block must opt
   in with order:3 or it would default to order:0 and jump ABOVE the price.
   align-self:stretch instead of width:100% avoids content-box padding overflow. */
.catalog-product-view .product-info-price .bp-selling-points {
  order: 3;
  align-self: stretch;
  margin: 10px 0 0;
}

.bp-selling-points {
  margin: 0 0 12px;
  padding: 14px 18px;
  border: 1px solid #e8eaee;
  border-radius: 12px;
  background: #fafbfd;
}

.bp-selling-points__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-selling-points__title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: #2563eb;
}

.bp-selling-points__body {
  overflow: hidden;
}

/* Clamp to 2 lines with an ellipsis; expands to full text on hover. */
.bp-selling-points__content {
  font-size: 13.5px;
  line-height: 1.75;
  color: #4b5563;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-height: 3.6em; /* ~2 lines, smooth expand fallback */
  transition: max-height 0.35s ease;
  cursor: default;
}

.bp-selling-points:hover .bp-selling-points__content {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
  max-height: 1000px;
}

.bp-selling-points__content p {
  margin: 0 0 8px;
}

.bp-selling-points__content p:last-child {
  margin-bottom: 0;
}

.bp-selling-points__content ul,
.bp-selling-points__content ol {
  margin: 0 0 8px;
  padding-left: 20px;
}

.catalog-product-view .stock.available,
.catalog-product-view .stock.unavailable {
  margin-bottom:0;
  color:var(--wph-green);
  font-size:12px;
  font-weight:600;
  line-height:15px;
  text-transform:uppercase;
}

.catalog-product-view .product-options-wrapper {
  margin:8px 0 0;
}

.catalog-product-view .swatch-attribute {
  margin:0 0 12px;
}

/* Keep the attribute label and the selected option name on one line
   (e.g. "Color 白色2"), with the swatch row directly beneath. */
.catalog-product-view .swatch-attribute-label,
.catalog-product-view .field.qty .label {
  display:inline;
  margin:0;
  color:#444;
  font-size:13px;
  font-weight:600;
}

.catalog-product-view .swatch-attribute-selected-option {
  display:inline;
  margin-left:6px;
  color:#111;
  font-weight:600;
}

.catalog-product-view .swatch-attribute-options {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 0;
}

.catalog-product-view .swatch-option.text {
  min-width:44px;
  height:36px;
  padding:0 14px;
  border:1px solid #ddd;
  border-radius:6px;
  background:#fff;
  color:#444;
  font-size:13px;
  line-height:34px;
  transition:all .2s;
}

.catalog-product-view .swatch-option.text:hover {
  border-color:var(--wph-blue);
  color:var(--wph-blue);
}

.catalog-product-view .swatch-option.text.selected {
  border:2px solid var(--wph-blue);
  background:#eef3ff;
  color:var(--wph-blue);
  font-weight:600;
  line-height:32px;
}

.catalog-product-view .swatch-option.color {
  position:relative;
  width:36px;
  height:36px;
  min-width:36px;
  border:2px solid #ddd;
  border-radius:8px;
  transition:all .2s;
}

.catalog-product-view .swatch-option.color:hover {
  border-color:var(--wph-blue) !important;
  transform:scale(1.08);
}

.catalog-product-view .swatch-option.color.selected {
  border-color:var(--wph-blue) !important;
  box-shadow:0 0 0 2px rgba(37,99,235,.3) !important;
}

.catalog-product-view .swatch-option.color.selected:after {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  content:'✓';
  font-size:14px;
  font-weight:700;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
}

.catalog-product-view .swatch-option.selected,
.catalog-product-view .swatch-option:hover {
  border-color:var(--wph-blue) !important;
  outline:none !important;
}

.catalog-product-view .box-tocart {
  margin:0;
}

.catalog-product-view .product-add-form {
  margin-bottom:-10px;
  padding-top:0 !important;
}

.catalog-product-view .box-tocart .fieldset {
  margin:0;
}

.catalog-product-view .box-tocart .field.qty {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 16px;
}

.catalog-product-view .box-tocart .field.qty .label {
  margin:0;
  font-weight:500;
}

.catalog-product-view .box-tocart .qty-stepper {
  display:grid;
  grid-template-columns:34px 50px 34px;
  width:118px;
  height:36px;
  overflow:hidden;
  border:1px solid #ddd;
  border-radius:5px;
  background:#fff;
}

.catalog-product-view .box-tocart .qty-stepper__button {
  width:34px;
  height:34px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:#f7f7f7;
  color:#333;
  font-size:17px;
  font-weight:400;
  line-height:34px;
}

.catalog-product-view .box-tocart .qty-stepper__button:hover,
.catalog-product-view .box-tocart .qty-stepper__button:focus {
  background:#eee;
  color:#111;
}

.catalog-product-view .box-tocart .input-text.qty {
  width:50px !important;
  height:34px !important;
  margin:0;
  padding:0 4px;
  border:0;
  border-right:1px solid #eee;
  border-left:1px solid #eee;
  border-radius:0;
  text-align:center;
  appearance:textfield;
  -moz-appearance:textfield;
}

.catalog-product-view .box-tocart .input-text.qty::-webkit-inner-spin-button,
.catalog-product-view .box-tocart .input-text.qty::-webkit-outer-spin-button {
  margin:0;
  -webkit-appearance:none;
}

.catalog-product-view .box-tocart .actions {
  width:100%;
  padding-top:0;
}

.catalog-product-view .box-tocart .action.tocart {
  width:100%;
  height:45px;
  min-height:45px;
  margin:0;
  padding:12px 17px !important;
  border-radius:6px;
  font-size:15px !important;
}

.catalog-product-view .product-social-links {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:20px;
  order:7;
  min-height:15px;
  margin:0 0 24px;
}

.catalog-product-view .product-social-links .product-addto-links {
  display:flex;
  align-items:center;
  gap:20px;
}

.catalog-product-view .product-social-links a {
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#666 !important;
  font-size:12px;
  font-weight:600;
  line-height:15px;
  white-space:nowrap;
}

.catalog-product-view .product-social-links a span {
  white-space:nowrap;
}

.catalog-product-view .product-social-links a:hover {
  color:var(--wph-blue) !important;
}

.catalog-product-view .product-social-links .action:before {
  display:inline-block !important;
  flex:0 0 14px;
  width:14px !important;
  height:14px !important;
  margin:0 !important;
  background-color:currentColor;
  background-image:none !important;
  content:'' !important;
  font-family:inherit !important;
  font-size:0 !important;
  line-height:0 !important;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:14px 14px;
  mask-size:14px 14px;
}

.catalog-product-view .product-social-links .action.towishlist:before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}

.catalog-product-view .product-social-links .action.tocompare:before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20V14'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20V14'/%3E%3C/svg%3E");
}

.catalog-product-view .product.data.items {
  display:block;
  min-height:48px;
  border-bottom:1px solid #eee;
}

.catalog-product-view .product.data.items:before,
.catalog-product-view .product.data.items:after {
  display:table;
  clear:both;
  content:'';
}

.catalog-product-view .product.data.items > .item.title {
  float:left !important;
  width:auto !important;
  height:48px !important;
  margin:0 !important;
  padding:0 !important;
}

.catalog-product-view .product.data.items > .item.title > .switch {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  width:auto !important;
  height:48px !important;
  margin:0 !important;
  padding:0 24px !important;
  border:0 !important;
  background:transparent !important;
  color:#666 !important;
  font-size:13px;
  font-weight:500;
  line-height:18px !important;
  box-shadow:inset 0 -2px transparent;
}

.catalog-product-view .product.data.items > .item.title.active > .switch,
.catalog-product-view .product.data.items > .item.title > .switch:hover {
  color:var(--wph-blue) !important;
  box-shadow:inset 0 -2px var(--wph-blue);
}

.catalog-product-view .product.data.items > .item.content {
  float:right !important;
  clear:right !important;
  width:100% !important;
  margin:48px 0 0 -100% !important;
  padding:32px 0 48px;
  border:0;
  color:#555;
  font-size:13px;
  line-height:1.7;
}

.catalog-product-view .review-field-rating > .label {
  display:none !important;
}

.catalog-product-view .bp-pdp-description h3,
.catalog-product-view .bp-pdp-faq-list > h3 {
  margin:0 0 12px;
  color:#111;
  font-size:16px;
  font-weight:600;
  line-height:1.4;
}

.catalog-product-view .bp-pdp-description p {
  margin:0 0 16px;
  color:#555;
  font-size:13px;
  line-height:1.7;
}

.catalog-product-view .bp-pdp-description ul {
  margin:0 0 16px;
  padding-left:20px;
}

.catalog-product-view .bp-pdp-description li {
  margin:0 0 6px;
  color:#555;
  font-size:13px;
  line-height:1.5;
}

/* Vendor-entered rich description content */
.catalog-product-view .bp-pdp-description img {
  max-width:100%;
  height:auto;
  margin:8px 0;
  border-radius:8px;
}

.catalog-product-view .bp-pdp-description table {
  width:100%;
  margin:0 0 16px;
  border-collapse:collapse;
}

.catalog-product-view .bp-pdp-description table th,
.catalog-product-view .bp-pdp-description table td {
  padding:8px 12px;
  border:1px solid #eee;
  font-size:12px;
  text-align:left;
}

.catalog-product-view .bp-pdp-description table th {
  background:#fafafa;
  font-weight:600;
}

/* Minimum order quantity note */
.catalog-product-view .product-order-quantity {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px;
  margin:0 0 12px;
  color:#888;
  font-size:12px;
}

.catalog-product-view .product-order-quantity__value {
  color:#444;
  font-weight:600;
}

.catalog-product-view .product-order-quantity__increment {
  color:#aaa;
}

.catalog-product-view .bp-pdp-faq-list {
  margin:0;
}

.catalog-product-view .bp-pdp-faq-item {
  margin:0 0 10px;
  padding:16px;
  border:1px solid #eee;
  border-radius:8px;
  background:#fff;
}

.catalog-product-view .bp-pdp-faq-item h4 {
  margin:0 0 6px;
  color:#111;
  font-size:13px;
  font-weight:600;
  line-height:1.4;
}

.catalog-product-view .bp-pdp-faq-item p {
  margin:0;
  color:#666;
  font-size:12px;
  line-height:1.5;
}

.catalog-product-view .bp-enquiry-product-section {
  width:100%;
  order:6;
  margin:12px 0 0;
  padding:0;
  border:0;
}

.catalog-product-view .bp-enquiry-toggle-btn,
.catalog-product-view .bp-enquiry-toggle-btn.action {
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:100%;
  height:45px;
  min-height:45px;
  margin:0 0 16px;
  padding:10px 16px !important;
  border:2px solid #2563eb !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#2563eb !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:20px !important;
  box-shadow:none !important;
  text-align:center;
  text-decoration:none !important;
  transition:all .2s;
}

.catalog-product-view .bp-enquiry-toggle-btn:hover,
.catalog-product-view .bp-enquiry-toggle-btn:focus,
.catalog-product-view .bp-enquiry-toggle-btn.action:hover,
.catalog-product-view .bp-enquiry-toggle-btn.action:focus {
  background:#eef3ff !important;
  border-color:#2563eb !important;
  color:#2563eb !important;
  box-shadow:none !important;
}

.bp-enquiry-modal {
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:10000;
  padding:24px;
  background:rgba(0,0,0,.45);
}

.bp-enquiry-modal.is-open {
  display:flex;
}

.bp-enquiry-modal-open {
  overflow:hidden;
}

.bp-enquiry-modal__backdrop {
  position:absolute;
  inset:0;
}

.bp-enquiry-modal__dialog {
  position:relative;
  z-index:1;
  width:100%;
  max-width:540px;
  max-height:calc(100vh - 48px);
  overflow:auto;
  border-radius:14px;
  background:#fff;
  box-shadow:0 20px 60px rgba(0,0,0,.2);
  animation:bpEnquiryModalIn .3s ease;
}

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

.bp-enquiry-modal__header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:24px 28px 0;
  border:0;
}

.bp-enquiry-modal__header h2 {
  margin:0;
  color:#111;
  font-size:20px;
  font-weight:700;
  line-height:1.2;
}

.bp-enquiry-modal__header p {
  margin:4px 0 0;
  color:#888;
  font-size:12px;
  line-height:1.45;
}

.bp-enquiry-modal__close {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#f5f5f5;
  color:#666;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}

.bp-enquiry-modal__close:hover,
.bp-enquiry-modal__close:focus {
  background:#fee2e2;
  color:#ef4444;
}

.bp-enquiry-product-preview {
  display:flex;
  gap:14px;
  margin:20px 28px;
  padding:14px;
  border-radius:8px;
  background:#f8f9fa;
}

.bp-enquiry-product-preview img {
  flex:0 0 56px;
  width:56px;
  height:56px;
  border-radius:6px;
  object-fit:cover;
}

.bp-enquiry-product-preview__details {
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  gap:3px;
}

.bp-enquiry-product-preview__details strong {
  overflow:hidden;
  color:#111;
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.bp-enquiry-product-preview__details span {
  color:#888;
  font-size:11px;
  line-height:1.3;
}

.bp-enquiry-product-preview__details b {
  color:#2563eb;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
}

.bp-enquiry-modal__body {
  padding:16px 28px 28px;
}

.bp-enquiry-modal__message {
  display:none;
  margin:0 0 14px;
  padding:10px 12px;
  border-radius:6px;
  font-size:12px;
  font-weight:500;
  line-height:1.45;
}

.bp-enquiry-modal__message.is-success {
  background:#ecfdf5;
  color:#047857;
}

.bp-enquiry-modal__message.is-error {
  background:#fef2f2;
  color:#dc2626;
}

.bp-enquiry-form .field {
  margin:0 0 16px;
}

.bp-enquiry-form label.label {
  display:block;
  margin:0 0 5px;
  color:#444;
  font-size:12px;
  font-weight:500;
}

.bp-enquiry-form label.label em {
  color:#ef4444;
  font-style:normal;
}

.bp-enquiry-form .input-text,
.bp-enquiry-form textarea {
  width:100% !important;
  min-height:38px;
  padding:9px 12px;
  border:1px solid #ddd;
  border-radius:6px;
  background:#fff;
  color:#222;
  font-size:13px;
  box-shadow:none;
}

.bp-enquiry-form textarea {
  min-height:80px;
  resize:vertical;
}

.bp-enquiry-form .bp-enquiry-qty {
  width:100% !important;
  max-width:200px;
}

.bp-enquiry-form .input-text:focus,
.bp-enquiry-form textarea:focus {
  border-color:#2563eb;
  outline:none;
  box-shadow:none;
}

.bp-enquiry-modal__footer {
  display:flex;
  gap:10px;
  margin:22px 0 0;
}

.bp-enquiry-cancel,
.bp-enquiry-submit {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:11px 16px !important;
  border:0 !important;
  border-radius:6px !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.3 !important;
  box-shadow:none !important;
  cursor:pointer;
}

.bp-enquiry-cancel {
  flex:1;
  background:#f5f5f5 !important;
  color:#444 !important;
}

.bp-enquiry-submit {
  flex:2;
  background:#2563eb !important;
  color:#fff !important;
}

.bp-enquiry-submit:disabled {
  cursor:not-allowed;
  opacity:.72;
}

.bp-enquiry-login-action {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:42px;
  padding:11px 16px !important;
  border:0 !important;
  border-radius:6px !important;
  background:#2563eb !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.3 !important;
  box-shadow:none !important;
}

.bp-enquiry-cancel:hover,
.bp-enquiry-cancel:focus {
  background:#ececec !important;
  color:#222 !important;
}

.bp-enquiry-submit:hover,
.bp-enquiry-submit:focus,
.bp-enquiry-login-action:hover,
.bp-enquiry-login-action:focus {
  background:#1d4ed8 !important;
  color:#fff !important;
}

.bp-enquiry-login-hint {
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.6;
}

.bp-enquiry-login-hint p {
  margin:0 0 18px;
}

.bp-enquiry-login-hint .bp-enquiry-cancel {
  width:100%;
  margin-top:10px;
}

/* Cart and minicart */
.checkout-cart-index .page-main {
  padding-top:32px !important;
}

.checkout-cart-index .page-title-wrapper .page-title {
  margin-bottom:28px;
  color:#222;
  font-size:24px;
  font-weight:700;
  line-height:1.25;
}

.checkout-cart-index .cart-container {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 340px;
  grid-template-areas:"items summary";
  gap:32px;
  align-items:start;
  clear:both;
}

.checkout-cart-index .cart-container:before,
.checkout-cart-index .cart-container:after {
  display:none !important;
  content:none !important;
}

.checkout-cart-index .cart-container > .rewards:empty {
  display:none;
}

.checkout-cart-index .cart-container > .rewards:not(:empty) {
  grid-column:1 / -1;
}

.checkout-cart-index .form-cart {
  grid-area:items;
  float:none !important;
  width:auto !important;
  min-width:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.checkout-cart-index .cart.table-wrapper {
  margin:0;
  overflow:visible;
}

.checkout-cart-index .cart.table-wrapper table {
  width:100%;
  border-collapse:collapse;
  table-layout:auto;
}

.checkout-cart-index .cart.table-wrapper thead {
  border-bottom:2px solid #eee;
}

.checkout-cart-index .cart.table-wrapper th {
  padding:12px 16px;
  border:0;
  color:#888;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
}

.checkout-cart-index .cart.table-wrapper th.col.actions {
  width:80px;
}

.checkout-cart-index .cart.table-wrapper td {
  padding:16px;
  border:0;
  vertical-align:middle;
}

.checkout-cart-index .cart.table-wrapper tr.item-info {
  border-bottom:1px solid #f0f0f0;
}

.checkout-cart-index .cart.item .product-item-photo {
  display:block;
  float:left;
  width:80px;
  height:80px;
  margin:0 16px 0 0;
  padding:0;
  border-radius:6px;
  background:#f5f5f5;
  overflow:hidden;
}

.checkout-cart-index .cart.item .product-image-photo {
  width:80px !important;
  height:80px !important;
  object-fit:cover !important;
}

.checkout-cart-index .cart.item .product-item-name a {
  color:#222 !important;
  font-size:14px;
  font-weight:500;
  line-height:1.45;
}

.checkout-cart-index .cart.item .product-item-details {
  overflow:hidden;
  padding-top:6px;
}

.checkout-cart-index .wph-cart-item-sku {
  margin-top:4px;
  color:#aaa;
  font-size:11px;
  line-height:1.35;
}

.checkout-cart-index .cart-price .price {
  color:var(--wph-blue) !important;
  font-size:15px;
  font-weight:600;
}

.checkout-cart-index .input-text.qty {
  width:36px !important;
  height:28px !important;
  min-height:28px;
  padding:0 !important;
  border:0 !important;
  border-right:1px solid #ddd !important;
  border-left:1px solid #ddd !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-align:center;
  -moz-appearance:textfield;
}

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

.checkout-cart-index .wph-cart-qty {
  display:inline-flex;
  align-items:center;
  width:92px;
  height:30px;
  overflow:hidden;
  border:1px solid #ddd;
  border-radius:5px;
}

.checkout-cart-index .wph-cart-qty label {
  margin:0;
}

.checkout-cart-index .wph-cart-qty .label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}

.checkout-cart-index .wph-cart-qty-button {
  width:28px;
  min-width:28px;
  height:28px;
  min-height:28px;
  padding:0;
  border:0;
  border-radius:0;
  background:#f5f5f5;
  color:#444;
  font-size:14px;
  font-weight:500;
  line-height:28px;
  cursor:pointer;
}

.checkout-cart-index .wph-cart-qty-button:hover,
.checkout-cart-index .wph-cart-qty-button:focus {
  background:#eee;
  color:#111;
}

.checkout-cart-index .cart-summary {
  grid-area:summary;
  float:none !important;
  position:sticky;
  top:96px;
  width:340px !important;
  max-width:100%;
  min-width:0;
  padding:28px;
  border:1px solid #eee;
  border-radius:12px;
  background:#fff;
  box-shadow:none;
}

.checkout-cart-index .cart-summary > .title {
  margin:0 0 20px;
  color:#111;
  font-size:16px;
  font-weight:700;
}

.checkout-cart-index .cart-summary .block.discount {
  margin:0 0 20px;
  padding:0;
  border:0;
}

.checkout-cart-index .cart-summary .block.discount > .title {
  position:relative;
  margin:0;
  padding:0 24px 0 0;
  border:0;
}

.checkout-cart-index .cart-summary .block.shipping {
  margin:0 0 12px;
  padding:0;
  border:0;
}

.checkout-cart-index .cart-summary .block.shipping > .title {
  position:relative;
  margin:0;
  padding:0 24px 0 0;
  border:0;
}

.checkout-cart-index .cart-summary .block.shipping > .title strong {
  display:block;
  color:#666;
  font-size:13px;
  font-weight:400;
  line-height:1.4;
}

.checkout-cart-index .cart-summary .block > .title:after {
  content:"";
  position:absolute;
  top:50%;
  right:2px;
  width:9px;
  height:9px;
  margin-top:-7px;
  border-right:2px solid #888;
  border-bottom:2px solid #888;
  transform:rotate(45deg);
  transition:transform .2s ease, margin-top .2s ease;
}

.checkout-cart-index .cart-summary .block.discount > .title strong {
  display:block;
  color:var(--wph-blue);
  font-size:13px;
  font-weight:500;
  line-height:1.4;
}

.checkout-cart-index .cart-summary .block > .title strong:after {
  content:none !important;
  display:none !important;
}

.checkout-cart-index .cart-summary .block.active > .title:after {
  content:"";
  margin-top:-2px;
  transform:rotate(225deg);
}

.checkout-cart-index .cart-summary .block.discount > .content {
  margin:12px 0 0;
  padding:0;
}

.checkout-cart-index .cart-summary .block.discount .fieldset {
  margin:0;
}

.checkout-cart-index .cart-summary .block.discount .field {
  margin:0 0 10px;
}

.checkout-cart-index .cart-summary .block.discount .input-text {
  height:38px;
  border:1px solid #ddd;
  border-radius:5px;
  box-shadow:none;
  font-size:13px;
}

.checkout-cart-index .cart-summary .block.discount .actions-toolbar .primary {
  width:100%;
}

.checkout-cart-index .cart-summary .block.discount .action.primary {
  width:100%;
  min-height:38px;
  margin:0;
  border-radius:5px;
  font-size:13px;
}

.checkout-cart-index .cart-totals tr {
  border:0 !important;
}

.checkout-cart-index .cart-totals {
  width:100%;
  padding:0 !important;
  border-top:0 !important;
  table-layout:auto;
}

.checkout-cart-index .cart-totals td,
.checkout-cart-index .cart-totals th {
  padding:8px 0 !important;
  border:0 !important;
  color:#666;
  font-size:13px;
  line-height:1.35;
  text-transform:none !important;
  vertical-align:top;
}

.checkout-cart-index .cart-totals th {
  width:58%;
  padding-right:16px;
  text-align:left;
}

.checkout-cart-index .cart-totals .totals.sub .mark,
.checkout-cart-index .cart-totals .totals.sub .amount {
  padding:8px 0 12px !important;
  border:0 !important;
  color:#666 !important;
  font-size:13px !important;
  font-weight:400 !important;
  text-transform:none !important;
}

.checkout-cart-index .cart-totals td,
.checkout-cart-index .cart-totals .amount {
  text-align:right;
  white-space:nowrap;
}

.checkout-cart-index .cart-totals .grand.totals td,
.checkout-cart-index .cart-totals .grand.totals th {
  padding:14px 0 8px !important;
  border-top:1px solid #eee !important;
  color:#111;
  font-size:16px;
  font-weight:700;
  text-transform:none !important;
}

.checkout-cart-index .cart-totals .grand.totals .price {
  color:var(--wph-blue) !important;
  font-size:18px;
}

.checkout-cart-index .checkout-methods-items .action.primary.checkout {
  width:100%;
  min-height:48px;
  margin-top:16px;
  padding:0 18px !important;
  white-space:normal;
}

.checkout-cart-index .checkout-methods-items,
.checkout-cart-index .checkout-methods-items .item {
  width:100%;
  margin-left:0;
  margin-right:0;
}

.checkout-cart-index .checkout-methods-items .action.multicheckout {
  display:block;
  width:auto;
  min-height:0;
  margin:12px auto 0;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:var(--wph-blue) !important;
  font-size:12px;
  font-weight:400;
  line-height:18px;
  text-align:center;
  text-decoration:none;
}

.checkout-cart-index .checkout-methods-items .action.multicheckout:hover,
.checkout-cart-index .checkout-methods-items .action.multicheckout:focus {
  color:#1d4ed8 !important;
  text-decoration:underline;
}

.checkout-cart-index .cart.main.actions {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:8px;
  margin-top:20px;
}

.checkout-cart-index .cart.main.actions .action {
  min-height:38px;
  margin:0;
  padding:9px 20px !important;
  border:1px solid #ddd !important;
  border-radius:6px !important;
  background:#f5f5f5 !important;
  box-shadow:none !important;
  color:#222 !important;
  font-size:13px;
  font-weight:500;
  line-height:18px;
}

.checkout-cart-index .cart.main.actions .action:hover,
.checkout-cart-index .cart.main.actions .action:focus {
  background:#eee !important;
  color:#111 !important;
}

.checkout-cart-index .cart.item .item-actions .actions-toolbar {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:8px 0 0;
}

.checkout-cart-index .cart.item td.col.actions {
  width:80px;
  text-align:right;
}

.checkout-cart-index .cart.item td.col.actions .actions-toolbar {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  padding:0;
}

.checkout-cart-index .cart.item .item-actions .action,
.checkout-cart-index .cart.item td.col.actions .action {
  width:28px;
  min-width:28px;
  height:28px;
  min-height:28px;
  padding:0 !important;
  border:1px solid #eee !important;
  border-radius:5px !important;
  background:#fff !important;
  color:#888 !important;
  line-height:28px !important;
  text-align:center;
}

.checkout-cart-index .cart.item td.col.actions .action:before {
  display:none !important;
  content:none !important;
}

.checkout-cart-index .cart.item td.col.actions .action img {
  display:block;
  width:14px;
  height:14px;
  margin:6px auto;
  opacity:.72;
}

.checkout-cart-index .cart.item .item-actions .action:hover,
.checkout-cart-index .cart.item td.col.actions .action:hover,
.checkout-cart-index .cart.item td.col.actions .action:focus {
  background:#f5f5f5 !important;
  color:#444 !important;
}

.block-minicart {
  right:0 !important;
  width:380px !important;
  max-width:calc(100vw - 32px);
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:-4px 0 24px rgba(0,0,0,.1) !important;
}

.block-minicart .block-title {
  padding:20px 24px !important;
  border-bottom:1px solid #eee;
}

.block-minicart .block-content {
  padding:16px 24px 20px !important;
}

.minicart-items .product-item {
  padding:12px 0 !important;
  border-bottom:1px solid #f5f5f5 !important;
}

.minicart-items .product-item-photo {
  width:64px !important;
  height:64px !important;
  border-radius:6px;
  background:#f5f5f5;
  overflow:hidden;
}

.minicart-items .product-image-photo {
  width:64px !important;
  height:64px !important;
  object-fit:cover !important;
}

.minicart-items .product-item-name a {
  color:#222 !important;
  font-size:13px;
  font-weight:500;
}

.block-minicart .subtotal .price,
.minicart-items .price {
  color:var(--wph-blue) !important;
  font-weight:700;
}

.block-minicart .actions .primary .action.primary {
  width:100%;
}

.block-minicart .actions .secondary .action.viewcart {
  display:block;
  width:100%;
  margin-bottom:8px;
  padding:12px;
  border-radius:6px;
  background:var(--wph-blue);
  color:#fff !important;
  font-size:14px;
  font-weight:600;
  text-align:center;
}

/* Checkout and order success */
.checkout-index-index .page-main {
  max-width:1200px !important;
}

.checkout-index-index .opc-progress-bar {
  margin:0 0 28px;
  text-align:center;
}

.checkout-index-index .opc-progress-bar-item > span {
  color:#888;
  font-size:13px;
  font-weight:500;
}

.checkout-index-index .opc-wrapper {
  width:calc(100% - 400px);
  padding-right:40px;
}

.checkout-index-index .opc-sidebar {
  width:360px;
  margin:0;
}

.checkout-index-index .opc-wrapper .step-title {
  margin:0 0 16px;
  padding:0 0 12px;
  border:0;
  border-bottom:1px solid #eee;
  color:#111;
  font-size:18px;
  font-weight:700;
}

.checkout-index-index .opc-wrapper .form-login,
.checkout-index-index .opc-wrapper .form-shipping-address,
.checkout-index-index .checkout-payment-method .payment-method-content,
.checkout-index-index .checkout-shipping-method {
  margin-bottom:24px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.checkout-index-index .checkout-payment-method .payment-method-title {
  margin:0 0 10px;
  padding:12px 16px;
  border:1px solid #eee;
  border-radius:8px;
  background:#fff;
}

.checkout-index-index .checkout-payment-method .payment-method._active .payment-method-title {
  border-color:var(--wph-blue);
  background:#f8faff;
}

.checkout-index-index .opc-sidebar .modal-inner-wrap {
  border:0;
}

.checkout-index-index .opc-block-summary {
  padding:24px !important;
  border:1px solid #eee;
  border-radius:12px;
  background:#fff !important;
  box-shadow:none !important;
}

.checkout-index-index .opc-block-summary > .title {
  margin:0 0 16px;
  color:#111;
  font-size:16px;
  font-weight:700;
}

.checkout-index-index .opc-block-summary .product-item {
  padding:10px 0;
}

.checkout-index-index .opc-block-summary .product-image-container {
  border-radius:5px;
  overflow:hidden;
  background:#f5f5f5;
}

.checkout-index-index .opc-block-summary .grand.totals .price {
  color:var(--wph-blue) !important;
  font-size:18px;
  font-weight:700;
}

.checkout-onepage-success .page-main {
  max-width:1200px !important;
  min-height:560px;
  padding-top:60px !important;
  padding-bottom:40px !important;
  text-align:center;
}

.checkout-onepage-success .columns,
.checkout-onepage-success .column.main {
  display:block !important;
  float:none !important;
  width:100% !important;
  padding:0 !important;
}

.checkout-onepage-success .columns:before,
.checkout-onepage-success .columns:after {
  display:none !important;
  content:none !important;
}

.checkout-onepage-success .page-title-wrapper {
  position:relative;
  max-width:900px;
  margin:0 auto 32px;
  text-align:center;
}

.checkout-onepage-success .page-title-wrapper:before {
  content:"\2713";
  display:flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  margin:0 auto 16px;
  border-radius:50%;
  background:#ecfdf5;
  color:#10b981;
  font-size:32px;
  font-weight:700;
  line-height:1;
}

.checkout-onepage-success .page-title-wrapper .page-title {
  display:block;
  margin:0 0 8px;
  color:#10b981 !important;
  font-size:28px !important;
  font-weight:700 !important;
  line-height:1.25;
  text-align:center;
}

.checkout-onepage-success .page-title-wrapper .print {
  position:static !important;
  float:none !important;
  display:inline-block;
  color:#2563eb !important;
  font-size:13px;
  font-weight:500;
  line-height:1.4;
  text-align:center;
}

.checkout-onepage-success .checkout-success {
  max-width:none;
  margin:0 auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  text-align:center;
}

.checkout-onepage-success .checkout-success .order-box {
  max-width:500px;
  margin:0 auto 48px;
  padding:32px;
  border:0;
  border-radius:12px;
  background:#f8f9fa;
  box-shadow:none;
}

.checkout-onepage-success .checkout-success p {
  margin:0 0 8px;
  color:#555;
  font-size:14px;
  line-height:1.6;
}

.checkout-onepage-success .checkout-success .email-note {
  color:#888;
  font-size:13px;
}

.checkout-onepage-success .checkout-success .order-number {
  color:#2563eb !important;
  text-decoration:none;
}

.checkout-onepage-success .checkout-success .order-number strong {
  color:#2563eb;
  font-size:20px;
  font-weight:700;
}

.checkout-onepage-success .checkout-success .actions-toolbar {
  margin:0 0 48px;
  text-align:center;
}

.checkout-onepage-success .checkout-success .actions-toolbar .primary {
  float:none;
  display:block;
  margin:0;
}

.checkout-onepage-success .checkout-success .actions-toolbar .action.continue,
.checkout-onepage-success .checkout-success .actions-toolbar .action.primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:220px;
  min-height:46px;
  margin:0;
  padding:14px 36px;
  border:0 !important;
  border-radius:6px !important;
  background:#2563eb !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
}

.checkout-onepage-success .checkout-success .actions-toolbar .action.continue:hover,
.checkout-onepage-success .checkout-success .actions-toolbar .action.primary:hover {
  background:#1d4ed8 !important;
  color:#fff !important;
  text-decoration:none;
}

@media (max-width:767px) {
  .checkout-onepage-success .page-main {
    padding-top:44px !important;
  }

  .checkout-onepage-success .page-title-wrapper .page-title {
    font-size:24px !important;
  }

  .checkout-onepage-success .checkout-success .order-box {
    max-width:none;
    margin-bottom:32px;
    padding:24px 18px;
  }

  .checkout-onepage-success .checkout-success .actions-toolbar .action.continue,
  .checkout-onepage-success .checkout-success .actions-toolbar .action.primary {
    width:100%;
    min-width:0;
  }
}

/* Customer login, buyer register and account */
.customer-account-login .page-main,
.customer-account-create .page-main {
  padding-top:48px !important;
  padding-bottom:80px !important;
}

.customer-account-login .page-title-wrapper,
.marketplace-seller-login .page-title-wrapper,
.vendors-account-login .page-title-wrapper {
  display:none;
}

.customer-account-login .login-container,
.marketplace-seller-login .login-container,
.vendors-account-login .login-container {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  max-width:900px;
  margin:32px auto 0;
  align-items:stretch;
}

.customer-account-login .login-container .block,
.marketplace-seller-login .login-container .block,
.vendors-account-login .login-container .block {
  float:none !important;
  width:auto !important;
  max-width:none !important;
  min-height:100%;
  margin:0 !important;
  padding:40px;
  border:1px solid #eee;
  border-radius:12px;
  background:#fff;
}

.customer-account-login .login-container .block-customer-login {
  grid-column:1;
  grid-row:1;
}

.customer-account-login .login-container .block-new-customer {
  grid-column:2;
  grid-row:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.customer-account-login .login-container .block-new-customer .block-content {
  width:100%;
}

.customer-account-login .login-container .block-new-customer .actions-toolbar {
  justify-content:flex-start;
  margin:0;
}

.customer-account-login .login-container .block-new-customer .actions-toolbar .primary {
  width:auto;
}

.customer-account-login .login-container .block-new-customer .action.create {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:0;
  min-height:46px;
  padding:10px 26px !important;
  border:2px solid var(--wph-blue) !important;
  border-radius:6px !important;
  background:#fff !important;
  box-shadow:none !important;
  color:var(--wph-blue) !important;
  font-size:14px;
  font-weight:600;
  line-height:22px;
  text-align:center;
}

.customer-account-login .login-container .block-new-customer .action.create:hover,
.customer-account-login .login-container .block-new-customer .action.create:focus {
  background:#eef3ff !important;
  color:#1d4ed8 !important;
}

.customer-account-login .login-container > .widget.block-static-block {
  display:none !important;
}

.marketplace-seller-login .login-container .block-customer-login,
.vendors-account-login .login-container .block-customer-login {
  grid-column:2;
  grid-row:1;
}

.marketplace-seller-login .login-container .block-new-customer,
.vendors-account-login .login-container .block-new-customer {
  grid-column:1;
  grid-row:1;
}

.marketplace-seller-login .login-container,
.vendors-account-login .login-container {
  gap:0;
  overflow:hidden;
  border-radius:12px;
  box-shadow:0 4px 24px rgba(0,0,0,.08);
}

.marketplace-seller-login .login-container .block,
.vendors-account-login .login-container .block {
  border:0;
  border-radius:0;
}

.marketplace-seller-login .login-container .block-new-customer,
.vendors-account-login .login-container .block-new-customer {
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(135deg,rgba(17,17,17,.78),rgba(37,99,235,.44)),
    url('../images/supplier-registration-office.jpg') center/cover;
  color:#fff;
  text-align:center;
}

.marketplace-seller-login .login-container .block-new-customer .block-title strong,
.marketplace-seller-login .login-container .block-new-customer p,
.vendors-account-login .login-container .block-new-customer .block-title strong,
.vendors-account-login .login-container .block-new-customer p {
  color:#fff;
}

.customer-account-login .block-title,
.marketplace-seller-login .block-title,
.vendors-account-login .block-title {
  margin:0 0 8px;
  border:0;
}

.customer-account-login .block-title strong,
.marketplace-seller-login .block-title strong,
.vendors-account-login .block-title strong {
  color:#111;
  font-size:20px;
  line-height:1.25;
  font-weight:700;
}

.customer-account-login .block-content p,
.marketplace-seller-login .block-content p,
.vendors-account-login .block-content p {
  margin:0 0 24px;
  color:#666;
  font-size:13px;
  line-height:1.6;
}

.customer-account-login .fieldset,
.marketplace-seller-login .fieldset,
.vendors-account-login .fieldset {
  margin:0;
}

.customer-account-login .field,
.marketplace-seller-login .field,
.vendors-account-login .field,
.customer-account-create .field {
  margin:0 0 20px;
}

.customer-account-login .label,
.marketplace-seller-login .label,
.vendors-account-login .label,
.customer-account-create .label {
  margin:0 0 6px;
  color:#444;
  font-size:13px;
  font-weight:500;
}

.customer-account-login .actions-toolbar,
.marketplace-seller-login .actions-toolbar,
.vendors-account-login .actions-toolbar {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:4px;
}

.customer-account-login .actions-toolbar .primary,
.marketplace-seller-login .actions-toolbar .primary,
.vendors-account-login .actions-toolbar .primary {
  float:none;
}

.customer-account-login .actions-toolbar .secondary,
.marketplace-seller-login .actions-toolbar .secondary,
.vendors-account-login .actions-toolbar .secondary {
  float:none;
  margin:0;
}

.customer-account-login .actions-toolbar .secondary a,
.marketplace-seller-login .actions-toolbar .secondary a,
.vendors-account-login .actions-toolbar .secondary a {
  min-height:auto !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:var(--wph-blue) !important;
  font-size:13px;
  line-height:1.4 !important;
  box-shadow:none !important;
}

.customer-account-create .form-create-account {
  max-width:560px;
  margin:0 auto;
  padding:40px;
  border:1px solid #eee;
  border-radius:12px;
  background:#fff;
}

.customer-account-create .fieldset {
  margin:0 0 28px;
}

.customer-account-create .fieldset > .legend {
  margin:0 0 16px;
  padding:0;
  border:0;
  color:#333;
  font-size:14px;
  font-weight:600;
}

.customer-account-create .form-create-account .actions-toolbar {
  margin-top:28px;
}

.customer-account-create .form-create-account .actions-toolbar .primary,
.customer-account-create .form-create-account .actions-toolbar .action.submit {
  width:100%;
}

.customer-account-create .password-strength-meter {
  margin-top:4px;
  color:#aaa;
  font-size:11px;
}

.account.page-layout-2columns-left .columns,
.customer-account-index.page-layout-2columns-left .columns,
.sales-order-history.page-layout-2columns-left .columns,
.customer-address-index.page-layout-2columns-left .columns,
.customer-account-edit.page-layout-2columns-left .columns,
.newsletter-manage-index.page-layout-2columns-left .columns,
.wishlist-index-index.page-layout-2columns-left .columns,
.enquiry-account-index.page-layout-2columns-left .columns {
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  grid-template-areas:
    "sidebar main"
    "additional main";
  gap:32px;
  align-items:start;
}

.account.page-layout-2columns-left .columns:before,
.account.page-layout-2columns-left .columns:after,
.customer-account-index.page-layout-2columns-left .columns:before,
.customer-account-index.page-layout-2columns-left .columns:after,
.sales-order-history.page-layout-2columns-left .columns:before,
.sales-order-history.page-layout-2columns-left .columns:after,
.customer-address-index.page-layout-2columns-left .columns:before,
.customer-address-index.page-layout-2columns-left .columns:after,
.customer-account-edit.page-layout-2columns-left .columns:before,
.customer-account-edit.page-layout-2columns-left .columns:after,
.newsletter-manage-index.page-layout-2columns-left .columns:before,
.newsletter-manage-index.page-layout-2columns-left .columns:after,
.wishlist-index-index.page-layout-2columns-left .columns:before,
.wishlist-index-index.page-layout-2columns-left .columns:after,
.enquiry-account-index.page-layout-2columns-left .columns:before,
.enquiry-account-index.page-layout-2columns-left .columns:after {
  display:none !important;
  content:none !important;
}

.account.page-layout-2columns-left .sidebar-main,
.customer-account-index.page-layout-2columns-left .sidebar-main,
.sales-order-history.page-layout-2columns-left .sidebar-main,
.customer-address-index.page-layout-2columns-left .sidebar-main,
.customer-account-edit.page-layout-2columns-left .sidebar-main,
.newsletter-manage-index.page-layout-2columns-left .sidebar-main,
.wishlist-index-index.page-layout-2columns-left .sidebar-main,
.enquiry-account-index.page-layout-2columns-left .sidebar-main,
.account.page-layout-2columns-left .column.main,
.customer-account-index.page-layout-2columns-left .column.main,
.sales-order-history.page-layout-2columns-left .column.main,
.customer-address-index.page-layout-2columns-left .column.main,
.customer-account-edit.page-layout-2columns-left .column.main,
.newsletter-manage-index.page-layout-2columns-left .column.main,
.wishlist-index-index.page-layout-2columns-left .column.main,
.enquiry-account-index.page-layout-2columns-left .column.main {
  float:none !important;
  width:auto !important;
  padding:0 !important;
  min-width:0;
}

.account.page-layout-2columns-left .sidebar-main,
.customer-account-index.page-layout-2columns-left .sidebar-main,
.sales-order-history.page-layout-2columns-left .sidebar-main,
.customer-address-index.page-layout-2columns-left .sidebar-main,
.customer-account-edit.page-layout-2columns-left .sidebar-main,
.newsletter-manage-index.page-layout-2columns-left .sidebar-main,
.wishlist-index-index.page-layout-2columns-left .sidebar-main,
.enquiry-account-index.page-layout-2columns-left .sidebar-main {
  grid-area:sidebar;
}

.account.page-layout-2columns-left .sidebar-additional,
.customer-account-index.page-layout-2columns-left .sidebar-additional,
.sales-order-history.page-layout-2columns-left .sidebar-additional,
.customer-address-index.page-layout-2columns-left .sidebar-additional,
.customer-account-edit.page-layout-2columns-left .sidebar-additional,
.newsletter-manage-index.page-layout-2columns-left .sidebar-additional,
.wishlist-index-index.page-layout-2columns-left .sidebar-additional,
.enquiry-account-index.page-layout-2columns-left .sidebar-additional {
  grid-area:additional;
  float:none !important;
  width:auto !important;
  padding:0 !important;
  min-width:0;
}

.account.page-layout-2columns-left .column.main,
.customer-account-index.page-layout-2columns-left .column.main,
.sales-order-history.page-layout-2columns-left .column.main,
.customer-address-index.page-layout-2columns-left .column.main,
.customer-account-edit.page-layout-2columns-left .column.main,
.newsletter-manage-index.page-layout-2columns-left .column.main,
.wishlist-index-index.page-layout-2columns-left .column.main,
.enquiry-account-index.page-layout-2columns-left .column.main {
  grid-area:main;
}

.block-collapsible-nav .content {
  padding:0;
  border:0;
  background:transparent;
}

.block-collapsible-nav .item {
  margin:0 0 2px;
}

.block-collapsible-nav .item a,
.block-collapsible-nav .item > strong {
  display:block;
  padding:9px 14px;
  border-left:3px solid transparent;
  border-radius:6px;
  color:#555 !important;
  font-size:13px;
  font-weight:500;
}

.block-collapsible-nav .item.current > strong,
.block-collapsible-nav .item a:hover {
  border-left-color:var(--wph-blue);
  background:var(--wph-hover);
  color:var(--wph-blue) !important;
}

/* The account prototype presents Message as a text-only navigation item. */
.block-collapsible-nav .customer-vnecoms-message-link .message-icon-envelope {
  display:none !important;
}

.account .block,
.account .box,
.customer-account-index .block,
.customer-address-index .block,
.sales-order-history .block,
.enquiry-account-index .block {
  border:0;
  background:transparent;
}

.account .block-title,
.customer-account-index .block-title,
.customer-address-index .block-title,
.sales-order-history .block-title,
.enquiry-account-index .block-title {
  margin:0 0 16px;
  padding:0 0 10px;
  border-bottom:1px solid #eee;
}

.customer-account-index .block-title strong {
  color:#222;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}

.customer-account-index .box-title,
.customer-account-index .box-title span,
.customer-account-index .box-title strong {
  color:#222;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
}

.account .box,
.customer-account-index .box,
.customer-address-index .box {
  padding:20px;
  border-radius:8px;
  background:#f8f9fa;
}

.account .box-content,
.customer-account-index .box-content,
.customer-address-index .box-content {
  color:#666;
  font-size:12px;
  line-height:1.65;
}

.customer-account-index .block-dashboard-info .box-content,
.customer-account-index .block-dashboard-info .box-content address,
.customer-account-index .block-dashboard-info .box-content p,
.customer-account-index .block-dashboard-info .box-content span,
.customer-account-index .block-dashboard-info .box-content a,
.customer-account-index .block-dashboard-addresses .box-content,
.customer-account-index .block-dashboard-addresses .box-content address,
.customer-account-index .block-dashboard-addresses .box-content p,
.customer-account-index .block-dashboard-addresses .box-content span,
.customer-account-index .block-dashboard-addresses .box-content a {
  font-size:12px !important;
  line-height:1.65;
}

.customer-account-index .block-dashboard-info,
.customer-account-index .block-dashboard-addresses {
  clear:both;
  margin:0 0 42px;
}

.customer-account-index .block-dashboard-info:before,
.customer-account-index .block-dashboard-info:after,
.customer-account-index .block-dashboard-addresses:before,
.customer-account-index .block-dashboard-addresses:after {
  display:none;
  content:none;
}

.customer-account-index .block-dashboard-info .block-content,
.customer-account-index .block-dashboard-addresses .block-content {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}

.customer-account-index .block-dashboard-info .block-content:before,
.customer-account-index .block-dashboard-info .block-content:after,
.customer-account-index .block-dashboard-addresses .block-content:before,
.customer-account-index .block-dashboard-addresses .block-content:after {
  display:none;
  content:none;
}

.customer-account-index .block-dashboard-info .box,
.customer-account-index .block-dashboard-addresses .box {
  float:none !important;
  clear:none !important;
  width:auto !important;
  max-width:none !important;
  min-height:0;
  margin:0 !important;
  align-self:stretch;
  justify-self:stretch;
}

.customer-account-index .block-dashboard-info .box-information,
.customer-account-index .block-dashboard-addresses .box-billing-address {
  grid-column:1;
}

.customer-account-index .block-dashboard-info .box-newsletter,
.customer-account-index .block-dashboard-addresses .box-shipping-address {
  grid-column:2;
}

.customer-account-index .block-dashboard-info .box-information,
.customer-account-index .block-dashboard-info .box-newsletter,
.customer-account-index .block-dashboard-addresses .box-billing-address,
.customer-account-index .block-dashboard-addresses .box-shipping-address {
  display:flex;
  flex-direction:column;
  gap:10px;
}

.customer-account-index .block-dashboard-info .box-content,
.customer-account-index .block-dashboard-addresses .box-content {
  flex:0 0 auto;
}

.customer-account-index .block-dashboard-info .box-actions,
.customer-account-index .block-dashboard-addresses .box-actions {
  margin-top:10px;
}

.customer-account-index .block-dashboard-info .box-actions .action + .action:before {
  display:none;
  content:none;
}

.customer-account-index .block-dashboard-info .box-actions .action:after {
  display:none !important;
  content:none !important;
  margin:0 !important;
}

/* Customer dashboard: match the supplied account prototype. */
.customer-account-index.page-layout-2columns-left .columns {
  grid-template-columns:220px minmax(0,1fr);
}

.customer-account-index .sidebar-main > .page-title-wrapper {
  order:-1;
  margin:0 0 28px;
  padding:0;
}

.customer-account-index .sidebar-main {
  display:flex;
  flex-direction:column;
}

.customer-account-index .sidebar-main > .page-title-wrapper .page-title {
  display:block;
  margin:0;
  color:#222;
  font-size:24px;
  font-weight:700;
  line-height:1.25;
}

.customer-account-index .column.main > .page-title-wrapper {
  display:none !important;
}

.customer-account-index .bayport-account-statuses {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 24px;
}

.customer-account-index .approval-badge,
.customer-account-index .annual-fee-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
  font-weight:500;
  line-height:1;
  text-decoration:none;
}

.customer-account-index .approval-badge--approved {
  border:1px solid #a7f3d0;
  background:#ecfdf5;
  color:#059669;
}

.customer-account-index .approval-badge--pending {
  border:1px solid #f5d97a;
  background:#fff8e6;
  color:#8a6200;
}

.customer-account-index .approval-badge--rejected {
  border:1px solid #f5a3a3;
  background:#fef0f0;
  color:#b91c1c;
}

.customer-account-index .annual-fee-badge {
  padding-right:14px;
  padding-left:14px;
  background:#2563eb;
  color:#fff !important;
}

.customer-account-index .annual-fee-badge svg {
  stroke:currentColor;
  stroke-width:2;
}

.customer-account-index .approval-notice {
  flex-basis:100%;
  margin:0;
  color:#666;
  font-size:12px;
}

.customer-account-index .block-dashboard-info .box-actions {
  display:flex;
  gap:12px;
}

.customer-account-index .block-dashboard-addresses .box-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
}

.customer-account-index .block-dashboard-addresses .box-title .action,
.customer-account-index .block-dashboard-addresses .block-title .action,
.customer-account-index .block-dashboard-info .box-actions .action,
.customer-account-index .block-dashboard-orders .action,
.customer-account-index .block-dashboard-wishlist .action,
.customer-account-index .block-dashboard-recently-ordered a {
  color:#2563eb !important;
}

.customer-account-index .block-dashboard-addresses .box-title .action,
.customer-account-index .block-dashboard-addresses .block-title .action,
.customer-account-index .block-dashboard-info .box-actions .action {
  font-size:12px;
  font-weight:500;
}

.customer-account-index .block-dashboard-addresses .block-title .action {
  margin-left:12px;
}

.customer-account-index .block-dashboard-addresses .box-actions {
  display:none;
}

.customer-account-index .block-collapsible-nav a[href*="vstorecredit"] strong,
.customer-account-index .block-collapsible-nav a[href*="vstorecredit"] .credit-balance {
  color:#d97706 !important;
  font-size:inherit !important;
  font-weight:600 !important;
}

.customer-account-index .block-dashboard-orders,
.customer-account-index .block-dashboard-recently-ordered,
.customer-account-index .block-dashboard-wishlist {
  margin:0 0 32px;
}

.customer-account-index .block-dashboard-orders .block-title,
.customer-account-index .block-dashboard-recently-ordered .block-title,
.customer-account-index .block-dashboard-wishlist .block-title {
  display:flex;
  align-items:center;
  gap:12px;
}

.customer-account-index .block-dashboard-orders .block-title .action,
.customer-account-index .block-dashboard-recently-ordered .block-title .action,
.customer-account-index .block-dashboard-wishlist .block-title .action {
  margin:0;
  font-size:13px;
  font-weight:400;
}

.customer-account-index .block-dashboard-orders .message.empty,
.customer-account-index .block-dashboard-recently-ordered .empty,
.customer-account-index .block-dashboard-wishlist .empty {
  margin:0;
  padding:16px 0;
  border:0;
  background:transparent;
  color:#888;
  font-size:13px;
}

.customer-account-index .block-dashboard-orders .order-status {
  display:inline-block;
  padding:3px 8px;
  border-radius:4px;
  font-size:11px;
  font-weight:500;
  line-height:1.3;
  text-transform:capitalize;
}

.customer-account-index .block-dashboard-orders .order-status--pending,
.customer-account-index .block-dashboard-orders .order-status--pending_payment,
.customer-account-index .block-dashboard-orders .order-status--processing {
  background:#fef3c7;
  color:#b45309;
}

.customer-account-index .block-dashboard-orders .order-status--complete,
.customer-account-index .block-dashboard-orders .order-status--closed {
  background:#ecfdf5;
  color:#059669;
}

.customer-account-index .block-dashboard-orders .col.actions .action + .action {
  margin-left:12px;
}

.customer-account-index .recently-ordered-product {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 0;
}

.customer-account-index .recently-ordered-product img {
  display:block;
  width:40px;
  height:40px;
  border-radius:5px;
  object-fit:cover;
}

.customer-account-index .recently-ordered-product .product-item-link {
  color:#444 !important;
  font-size:13px;
}

.customer-account-index .block-dashboard-recently-ordered .actions-toolbar {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:8px;
}

.customer-account-index .block-dashboard-recently-ordered .actions-toolbar form {
  margin:0;
}

.customer-account-index .block-dashboard-recently-ordered .action {
  display:inline-flex;
  box-sizing:border-box;
  width:auto !important;
  min-width:0 !important;
  height:34px !important;
  min-height:34px !important;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:8px 16px;
  border:0;
  border-radius:5px;
  font-size:12px;
  font-weight:600;
  line-height:18px !important;
  box-shadow:none !important;
}

.customer-account-index .block-dashboard-recently-ordered .action.primary {
  background:#2563eb;
  color:#fff !important;
}

.customer-account-index .block-dashboard-recently-ordered .action.secondary {
  background:#f5f5f5;
  color:#444 !important;
}

.customer-account-index .block-dashboard-wishlist .product-items {
  display:flex;
  gap:16px;
  margin:0 0 12px;
  padding:0;
  list-style:none;
}

.customer-account-index .block-dashboard-wishlist .product-item {
  display:flex;
  align-items:center;
  gap:10px;
}

.customer-account-index .block-dashboard-wishlist .product-item-photo,
.customer-account-index .block-dashboard-wishlist .product-image-container {
  width:40px !important;
}

.customer-account-index .block-dashboard-wishlist .product-item-link {
  color:#444 !important;
  font-size:13px;
}

.table-wrapper table.data.table {
  border-collapse:collapse;
}

.table-wrapper table.data.table th {
  padding:10px 12px;
  border-bottom:2px solid #eee;
  color:#888;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
}

.table-wrapper table.data.table td {
  padding:12px;
  border-bottom:1px solid #f0f0f0;
  color:#444;
  font-size:13px;
}

.table-wrapper table.data.table a {
  color:var(--wph-blue) !important;
  font-size:12px;
}

/* Supplier and distributor registration */
.marketplace-seller-register .page-main,
.vnecoms-vendorscustomregister-account-create .page-main,
.cr-container {
  max-width:1200px;
}

.cr-nav-container {
  max-width:600px;
  margin:0 auto 48px;
  padding:0 !important;
  border:0 !important;
}

.cr-nav {
  display:flex !important;
  align-items:flex-start;
  justify-content:center;
  margin:0 !important;
}

.cr-nav-step {
  float:none !important;
  flex:1 1 0;
  height:62px;
  min-width:0;
}

.cr-nav-step:before,
.cr-nav-step:after {
  top:18px;
  height:3px;
  border:0;
  background:#eee;
}

.cr-nav-step.current:before,
.cr-nav-step.current:after {
  background:linear-gradient(to right,var(--wph-green),var(--wph-blue));
  border:0;
}

.cr-nav-step.complete:before,
.cr-nav-step.complete:after {
  background:var(--wph-green);
  border:0;
}

.cr-nav-step-number {
  width:36px;
  height:36px;
  margin-left:-18px;
  border:2px solid #ddd;
  background:#fff;
  color:#999;
  font-size:14px;
  line-height:32px;
  font-weight:600;
}

.cr-nav-step.current .cr-nav-step-number {
  border-color:var(--wph-blue);
  background:var(--wph-blue);
  color:#fff;
}

.cr-nav-step.complete .cr-nav-step-number {
  border-color:var(--wph-green);
  background:var(--wph-green);
  color:#fff;
}

.cr-nav-step-title {
  bottom:0;
  color:#999;
  font-size:11px;
  font-weight:500;
}

.cr-nav-step.current .cr-nav-step-title {
  color:var(--wph-blue);
  font-weight:600;
}

.cr-nav-step.complete .cr-nav-step-title {
  color:var(--wph-green);
}

.cr-container {
  margin:0 auto;
}

.cr-container form {
  max-width:1040px;
  margin:0 auto;
}

.cr-steps-container {
  padding:0 !important;
  border:0 !important;
}

.cr-step-title {
  margin:0 0 24px;
  color:#111;
  font-size:18px;
  line-height:1.3;
  font-weight:600;
}

.cr-step .cr-step-content {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,1fr);
  gap:60px;
  margin:0 0 24px;
  padding:36px;
  border:1px solid #eee;
  border-radius:12px;
  background:#fff;
}

.cr-step .cr-step-content:after {
  display:none;
}

.cr-step-content-col1,
.cr-step-content-col2 {
  float:none !important;
  width:auto !important;
  margin:0 !important;
}

.cr-step-content-col2 {
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  border-radius:12px;
  background:
    linear-gradient(135deg,rgba(37,99,235,.28),rgba(16,185,129,.2)),
    url('/media/bayporthub/goods/LD802_1772011099_699ebe5b2aa0f.webp') center/cover;
  color:#fff;
  text-align:center;
}

.cr-step-content-col2,
.cr-step-content-col2 * {
  color:#fff !important;
}

.cr-step-content-col2 strong {
  color:#fff !important;
}

.cr-container .fieldset {
  margin:0;
}

.cr-container .field {
  margin:0 0 20px;
}

.cr-container .label {
  margin:0 0 6px;
  color:#444;
  font-size:13px;
  font-weight:500;
}

.cr-confirm {
  max-width:1040px;
  margin:0 auto 24px;
  padding:16px 20px;
  border:1px solid #eee;
  border-radius:8px;
  background:#f8faff;
}

.cr-container .actions-toolbar {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:32px;
}

.cr-container .actions-toolbar .cr-next-btn,
.cr-container .actions-toolbar .cr-submit-btn,
.cr-container .actions-toolbar .cr-previous-btn {
  width:230px;
  min-height:44px;
  margin:0;
  padding:0 24px !important;
  border-radius:6px !important;
  font-size:14px !important;
  font-weight:600 !important;
}

.cr-container .actions-toolbar .cr-previous-btn {
  border:1px solid #ddd !important;
  background:#f5f5f5 !important;
  color:#444 !important;
}

/* Supplier login and registration prototypes */
.marketplace-seller-login .page-main,
.vendors-account-login .page-main,
.marketplace-seller-register .page-main,
.vnecoms-vendorscustomregister-account-create .page-main {
  max-width:none;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

.marketplace-seller-login .page-title-wrapper,
.vendors-account-login .page-title-wrapper,
.marketplace-seller-register .page-title-wrapper,
.vnecoms-vendorscustomregister-account-create .page-title-wrapper {
  display:none;
}

.marketplace-seller-login .login-container,
.vendors-account-login .login-container {
  display:block;
  max-width:none;
  margin:0;
  overflow:visible;
  border-radius:0;
  box-shadow:none;
}

.marketplace-seller-login .login-container > .block-new-customer,
.vendors-account-login .login-container > .block-new-customer {
  display:none !important;
}

.bp-supplier-login-page {
  min-height:60vh;
  padding:80px 24px;
  background:#fff;
}

.bp-supplier-login-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  max-width:900px;
  margin:0 auto;
  overflow:hidden;
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 24px rgba(0,0,0,.08);
}

.bp-supplier-login-visual {
  position:relative;
  display:flex;
  min-height:480px;
  align-items:center;
  justify-content:center;
  padding:40px;
  background:
    linear-gradient(135deg,rgba(17,17,17,.7),rgba(37,99,235,.4)),
    url('../images/supplier-registration-office.jpg') center/cover;
}

.bp-supplier-login-visual-content {
  position:relative;
  z-index:1;
  color:#fff;
  text-align:center;
}

.bp-supplier-login-visual-content h2 {
  margin:0 0 12px;
  color:#fff;
  font-size:24px;
  line-height:1.25;
  font-weight:700;
}

.bp-supplier-login-visual-content p {
  margin:0 0 24px;
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.6;
}

.bp-supplier-stats {
  display:flex;
  justify-content:center;
  gap:24px;
}

.bp-supplier-stat {
  text-align:center;
}

.bp-supplier-stat strong {
  display:block;
  color:#fff;
  font-size:22px;
  line-height:1.2;
  font-weight:700;
}

.bp-supplier-stat span {
  display:block;
  margin-top:2px;
  color:rgba(255,255,255,.7);
  font-size:11px;
}

.bp-supplier-login-form-wrap {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px 40px;
  background:#fff;
}

.bp-supplier-login-form-wrap h2 {
  margin:0 0 8px;
  color:#111;
  font-size:24px;
  line-height:1.25;
  font-weight:700;
}

.bp-supplier-login-subtitle {
  margin:0 0 32px;
  color:#888;
  font-size:13px;
}

.bp-supplier-login-form-wrap .fieldset {
  margin:0;
}

.bp-supplier-login-form-wrap .field {
  margin:0 0 20px;
}

.bp-supplier-login-form-wrap .label {
  display:block;
  margin:0 0 6px;
  color:#444;
  font-size:13px;
  font-weight:500;
}

.bp-supplier-login-form-wrap input.input-text {
  width:100%;
  height:auto;
  min-height:43px;
  padding:11px 14px;
  border:1px solid #ddd;
  border-radius:6px;
  background:#fff;
  color:#222;
  font-size:13px;
  outline:none;
  transition:border-color .2s;
}

.bp-supplier-login-form-wrap input.input-text:focus {
  border-color:var(--wph-blue);
  box-shadow:none;
}

.bp-supplier-login-options {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 24px;
}

.bp-supplier-login-options .field.choice {
  margin:0;
}

.bp-supplier-login-options .field.choice label,
.bp-supplier-login-options .field.choice span,
.bp-supplier-login-options a {
  color:#666 !important;
  font-size:12px;
  line-height:1.4;
}

.bp-supplier-login-options a {
  color:var(--wph-blue) !important;
}

.bp-supplier-login-options input[type='checkbox'] {
  accent-color:var(--wph-blue);
}

.bp-supplier-login-button,
.bp-supplier-custom-login .action.primary {
  width:100%;
  min-height:44px;
  margin:0;
  padding:0 24px !important;
  border:0 !important;
  border-radius:6px !important;
  background:var(--wph-blue) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:44px !important;
  text-align:center;
}

.bp-supplier-login-button:hover,
.bp-supplier-custom-login .action.primary:hover {
  background:#1d4ed8 !important;
}

.bp-supplier-login-divider {
  display:flex;
  align-items:center;
  gap:12px;
  margin:24px 0;
}

.bp-supplier-login-divider:before,
.bp-supplier-login-divider:after {
  content:'';
  flex:1;
  height:1px;
  background:#eee;
}

.bp-supplier-login-divider span {
  color:#aaa;
  font-size:11px;
}

.bp-supplier-create-link {
  display:block;
  width:100%;
  min-height:44px;
  padding:11px 24px;
  border:2px solid var(--wph-blue);
  border-radius:6px;
  background:#fff;
  color:var(--wph-blue) !important;
  font-size:14px;
  font-weight:600;
  line-height:20px;
  text-align:center;
  transition:background .2s;
}

.bp-supplier-create-link:hover {
  background:#eef3ff;
  text-decoration:none;
}

.bp-supplier-register-page {
  padding:48px 24px 80px;
  background:#fff;
}

.bp-supplier-register-inner {
  max-width:1200px;
  margin:0 auto;
}

.bp-supplier-register-title {
  margin:0 0 36px;
  color:#111;
  font-size:28px;
  line-height:1.25;
  font-weight:700;
  text-align:center;
}

.bp-supplier-register-page .cr-nav-container {
  max-width:600px;
  margin:0 auto 48px;
}

.bp-supplier-register-page .cr-nav {
  display:flex !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none;
}

.bp-supplier-register-page .cr-nav-step {
  position:relative;
  flex:1 1 0;
  height:64px;
  min-width:0;
  text-align:center;
}

.bp-supplier-register-page .cr-nav-step:before,
.bp-supplier-register-page .cr-nav-step:after {
  top:17px;
  height:3px;
  border:0;
  background:#eee;
}

.bp-supplier-register-page .cr-nav-step.current:before,
.bp-supplier-register-page .cr-nav-step.current:after {
  background:linear-gradient(to right,var(--wph-green),var(--wph-blue));
}

.bp-supplier-register-page .cr-nav-step.complete:before,
.bp-supplier-register-page .cr-nav-step.complete:after {
  background:var(--wph-green);
}

.bp-supplier-register-page .cr-nav-step-number {
  width:36px;
  height:36px;
  margin-left:-18px;
  border:2px solid #ddd;
  border-radius:50%;
  background:#fff;
  color:#999;
  font-size:14px;
  line-height:32px;
  font-weight:600;
  text-align:center;
}

.bp-supplier-register-page .cr-nav-step.current .cr-nav-step-number {
  border-color:var(--wph-blue);
  background:var(--wph-blue);
  color:#fff;
}

.bp-supplier-register-page .cr-nav-step.complete .cr-nav-step-number {
  border-color:var(--wph-green);
  background:var(--wph-green);
  color:#fff;
}

.bp-supplier-register-page .cr-nav-step-title {
  bottom:0;
  color:#999;
  font-size:11px;
  font-weight:500;
  white-space:nowrap;
}

.bp-supplier-register-page .cr-nav-step.current .cr-nav-step-title {
  color:var(--wph-blue);
  font-weight:600;
}

.bp-supplier-register-page .cr-nav-step.complete .cr-nav-step-title {
  color:var(--wph-green);
}

.bp-supplier-register-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,1fr);
  gap:60px;
  align-items:stretch;
}

.bp-supplier-register-visual {
  position:relative;
  min-height:500px;
  overflow:hidden;
  border-radius:12px;
  background:
    linear-gradient(135deg,rgba(37,99,235,.3),rgba(16,185,129,.2)),
    url('../images/supplier-registration-office.jpg') center/cover;
}

.bp-supplier-register-visual:before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.55));
}

.bp-supplier-register-visual-text {
  position:absolute;
  right:30px;
  bottom:40px;
  left:30px;
  z-index:1;
  color:#fff;
}

.bp-supplier-register-visual-text h3 {
  margin:0 0 8px;
  color:#fff;
  font-size:22px;
  line-height:1.3;
  font-weight:700;
}

.bp-supplier-register-visual-text p {
  max-width:420px;
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:13px;
  line-height:1.5;
}

.bp-supplier-register-card {
  padding:36px;
  border:1px solid #eee;
  border-radius:12px;
  background:#fff;
}

.bp-supplier-register-page .cr-steps-container,
.bp-supplier-register-page .cr-step .cr-step-content {
  margin:0;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.bp-supplier-register-page .cr-step {
  display:none;
}

.bp-supplier-register-page .cr-step.cr-step-active {
  display:block;
}

.bp-supplier-register-page .cr-step-title {
  margin:0 0 24px;
  color:#111;
  font-size:18px;
  line-height:1.3;
  font-weight:600;
}

.bp-supplier-fieldset-group {
  margin:0 0 24px;
  padding:0 0 20px;
  border-bottom:1px solid #f0f0f0;
}

.bp-supplier-fieldset-group:last-child {
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:0;
}

.bp-supplier-fieldset-title {
  margin:0 0 16px;
  color:#333;
  font-size:14px;
  line-height:1.3;
  font-weight:600;
}

.bp-supplier-register-page .fieldset {
  margin:0;
}

.bp-supplier-register-page .fieldset:after {
  display:none;
}

.bp-supplier-register-page .field {
  margin:0 0 20px;
}

.bp-supplier-register-page .label {
  display:block;
  margin:0 0 6px;
  color:#444;
  font-size:13px;
  font-weight:500;
}

.bp-supplier-register-page .control input.input-text,
.bp-supplier-register-page .control select,
.bp-supplier-register-page .control textarea {
  width:100%;
  min-height:42px;
  padding:10px 14px;
  border:1px solid #ddd;
  border-radius:6px;
  background:#fff;
  color:#222;
  font-size:13px;
  outline:none;
  transition:border-color .2s;
}

.bp-supplier-register-page .control input.input-text:focus,
.bp-supplier-register-page .control select:focus,
.bp-supplier-register-page .control textarea:focus {
  border-color:var(--wph-blue);
  box-shadow:none;
}

.bp-supplier-register-page textarea {
  min-height:80px;
  resize:vertical;
}

.bp-supplier-register-page input[type='file'] {
  width:100%;
  padding:24px;
  border:2px dashed #ddd;
  border-radius:8px;
  background:#fff;
  color:#888;
  font-size:12px;
  cursor:pointer;
}

.bp-supplier-register-page input[type='file']:hover {
  border-color:var(--wph-blue);
  background:#f8faff;
}

.bp-supplier-register-page .cr-step-1 .fieldset.create.info {
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:16px;
}

.bp-supplier-register-page .cr-step-1 .fieldset.create.info > .field:not(.field-name-firstname):not(.field-name-lastname),
.bp-supplier-register-page .cr-step-1 .fieldset.create.info > .field.choice {
  grid-column:1 / -1;
}

.bp-supplier-register-page .password-strength-meter {
  margin-top:4px;
  color:#aaa;
  font-size:11px;
}

.bp-supplier-register-page .cr-confirm {
  display:none;
  margin:20px 0 0;
  padding:0;
  border:0;
  background:transparent;
}

.bp-supplier-register-page .cr-confirm.complete {
  display:block;
}

.bp-supplier-register-page .field-vendor-registration {
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:20px;
}

.bp-supplier-register-page .field-vendor-registration input {
  width:16px;
  height:16px;
  margin-top:2px;
  accent-color:var(--wph-blue);
}

.bp-supplier-register-page .field-vendor-registration label {
  margin:0;
  color:#666;
  font-size:12px;
  line-height:1.5;
}

.bp-supplier-register-page .actions-toolbar {
  display:flex;
  gap:12px;
  margin-top:32px;
}

.bp-supplier-register-page .actions-toolbar .cr-next-btn,
.bp-supplier-register-page .actions-toolbar .cr-submit-btn,
.bp-supplier-register-page .actions-toolbar .cr-previous-btn {
  flex:1 1 0;
  width:auto;
  min-height:44px;
  margin:0;
  padding:0 24px !important;
  border-radius:6px !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:44px !important;
  text-align:center;
}

.bp-supplier-register-page .actions-toolbar .cr-next-btn,
.bp-supplier-register-page .actions-toolbar .cr-submit-btn {
  border:0 !important;
  background:var(--wph-blue) !important;
  color:#fff !important;
}

.bp-supplier-register-page .actions-toolbar .cr-previous-btn {
  border:1px solid #ddd !important;
  background:#f5f5f5 !important;
  color:#444 !important;
}

.bp-supplier-register-login-link {
  display:block;
  margin-top:16px;
  color:var(--wph-blue) !important;
  font-size:13px;
  font-weight:500;
  text-align:center;
}

.bp-supplier-register-login-link:hover {
  text-decoration:underline;
}

/* Keep supplier registration on the supplied prototype even though Vnecoms
   register.css and Magento styles-l.css are loaded after this theme file. */
.marketplace-seller-register .bp-supplier-register-page .cr-nav-container {
  max-width:600px !important;
  margin:0 auto 48px !important;
  padding:0 !important;
  border:0 !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav {
  display:flex !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step {
  position:relative !important;
  float:none !important;
  flex:1 1 0 !important;
  width:auto !important;
  height:64px !important;
  min-width:0 !important;
  text-align:center !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step:before,
.marketplace-seller-register .bp-supplier-register-page .cr-nav-step:after {
  top:17px !important;
  height:3px !important;
  margin-top:0 !important;
  border:0 !important;
  background:#eee !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step.current:before,
.marketplace-seller-register .bp-supplier-register-page .cr-nav-step.current:after {
  background:linear-gradient(to right,var(--wph-green),var(--wph-blue)) !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step.complete:before,
.marketplace-seller-register .bp-supplier-register-page .cr-nav-step.complete:after {
  background:var(--wph-green) !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step-number {
  position:absolute !important;
  z-index:1 !important;
  left:50% !important;
  width:36px !important;
  height:36px !important;
  margin-left:-18px !important;
  border:2px solid #ddd !important;
  border-radius:50% !important;
  background:#fff !important;
  color:#999 !important;
  font-size:14px !important;
  line-height:32px !important;
  font-weight:600 !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step.current .cr-nav-step-number {
  border-color:var(--wph-blue) !important;
  background:var(--wph-blue) !important;
  color:#fff !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step.complete .cr-nav-step-number {
  border-color:var(--wph-green) !important;
  background:var(--wph-green) !important;
  color:#fff !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step-title {
  position:absolute !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;
  display:block !important;
  color:#999 !important;
  font-size:11px !important;
  line-height:1.2 !important;
  font-weight:500 !important;
  white-space:nowrap !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step.current .cr-nav-step-title {
  color:var(--wph-blue) !important;
  font-weight:600 !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-nav-step.complete .cr-nav-step-title {
  color:var(--wph-green) !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-steps-container,
.marketplace-seller-register .bp-supplier-register-page .cr-step .cr-step-content {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-step {
  display:none !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-step.cr-step-active {
  display:block !important;
}

.marketplace-seller-register .bp-supplier-register-page .fieldset,
.marketplace-seller-register .bp-supplier-register-page .fieldset.create.info,
.marketplace-seller-register .bp-supplier-register-page .fieldset.create.account,
.marketplace-seller-register .bp-supplier-register-page .bp-supplier-fieldset-group .fieldset {
  float:none !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-step-1 .fieldset.create.info {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:16px !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-step-2 .fieldset.create.info {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:16px !important;
}

.marketplace-seller-register .bp-supplier-register-page .cr-step-2 .field-vendor_street,
.marketplace-seller-register .bp-supplier-register-page .cr-step-2 .field-vendor_region_id,
.marketplace-seller-register .bp-supplier-register-page .cr-step-2 .field-vendor_ves_test_attribute4,
.marketplace-seller-register .bp-supplier-register-page .cr-step-2 .note,
.marketplace-seller-register .bp-supplier-register-page .cr-step-3 .field {
  grid-column:1 / -1 !important;
}

.marketplace-seller-register .bp-supplier-register-page .field,
.marketplace-seller-register .bp-supplier-register-page .fieldset > .field,
.marketplace-seller-register .bp-supplier-register-page .fieldset > .fields > .field {
  clear:none !important;
  float:none !important;
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 0 20px !important;
  padding:0 !important;
}

.marketplace-seller-register .bp-supplier-register-page .fieldset > .field:not(.choice) > .label,
.marketplace-seller-register .bp-supplier-register-page .fieldset .fields > .field:not(.choice) > .label,
.marketplace-seller-register .bp-supplier-register-page .label {
  float:none !important;
  display:block !important;
  width:auto !important;
  margin:0 0 6px !important;
  padding:0 !important;
  color:#444 !important;
  font-size:13px !important;
  line-height:1.35 !important;
  font-weight:500 !important;
  text-align:left !important;
}

.marketplace-seller-register .bp-supplier-register-page .fieldset > .field:not(.choice) > .control,
.marketplace-seller-register .bp-supplier-register-page .fieldset .fields > .field:not(.choice) > .control,
.marketplace-seller-register .bp-supplier-register-page .control {
  float:none !important;
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

.marketplace-seller-register .bp-supplier-register-page .control input.input-text,
.marketplace-seller-register .bp-supplier-register-page .control select,
.marketplace-seller-register .bp-supplier-register-page .control textarea,
.marketplace-seller-register .bp-supplier-register-page select.validate-select {
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  min-height:42px !important;
  padding:10px 14px !important;
  border:1px solid #ddd !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#222 !important;
  font-size:13px !important;
  line-height:20px !important;
  outline:none !important;
  box-shadow:none !important;
}

.marketplace-seller-register .bp-supplier-register-page .control input.input-text:focus,
.marketplace-seller-register .bp-supplier-register-page .control select:focus,
.marketplace-seller-register .bp-supplier-register-page .control textarea:focus {
  border-color:var(--wph-blue) !important;
  box-shadow:none !important;
}

.marketplace-seller-register .bp-supplier-register-page input[type='file'].input-text {
  min-height:0 !important;
  padding:24px !important;
  border:2px dashed #ddd !important;
  border-radius:8px !important;
  color:#888 !important;
  cursor:pointer !important;
}

.marketplace-seller-register .bp-supplier-register-page input[type='file'].input-text:hover {
  border-color:var(--wph-blue) !important;
  background:#f8faff !important;
}

.marketplace-seller-register .bp-supplier-register-page .note {
  margin:-12px 0 18px !important;
  color:#aaa !important;
  font-size:11px !important;
}

.marketplace-seller-register .bp-supplier-register-page .actions-toolbar {
  display:flex !important;
  gap:12px !important;
  margin-top:32px !important;
  text-align:left !important;
}

.marketplace-seller-register .bp-supplier-register-page .actions-toolbar .primary,
.marketplace-seller-register .bp-supplier-register-page .actions-toolbar .secondary {
  float:none !important;
}

.marketplace-seller-register .bp-supplier-register-page .actions-toolbar .cr-next-btn,
.marketplace-seller-register .bp-supplier-register-page .actions-toolbar .cr-submit-btn,
.marketplace-seller-register .bp-supplier-register-page .actions-toolbar .cr-previous-btn {
  flex:1 1 0 !important;
  width:auto !important;
  min-width:0 !important;
  min-height:44px !important;
  margin:0 !important;
  padding:0 24px !important;
  border-radius:6px !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:44px !important;
  text-align:center !important;
}

.marketplace-seller-register .bp-supplier-register-page .actions-toolbar .cr-next-btn,
.marketplace-seller-register .bp-supplier-register-page .actions-toolbar .cr-submit-btn {
  border:0 !important;
  background:var(--wph-blue) !important;
  color:#fff !important;
}

.marketplace-seller-register .bp-supplier-register-page .actions-toolbar .cr-previous-btn {
  border:1px solid #ddd !important;
  background:#f5f5f5 !important;
  color:#444 !important;
}

@media(max-width:900px) {
  .bp-supplier-login-page {
    padding:48px 16px;
  }

  .bp-supplier-login-layout,
  .bp-supplier-register-layout {
    grid-template-columns:1fr;
    gap:24px;
  }

  .bp-supplier-login-visual,
  .bp-supplier-register-visual {
    min-height:320px;
  }

  .bp-supplier-register-page {
    padding:40px 16px 64px;
  }

  .bp-supplier-register-page .cr-nav-container {
    margin-bottom:32px;
  }

  .bp-supplier-register-card {
    padding:28px;
  }
}

/* ============ CHECKOUT PROTOTYPE ALIGNMENT ============ */
.checkout-index-index .page-main {
  max-width:1248px !important;
  padding:28px 24px 80px !important;
}

.checkout-index-index .checkout-container {
  margin:0 !important;
}

.checkout-index-index .opc-progress-bar {
  display:flex !important;
  align-items:flex-start;
  justify-content:center;
  width:296px;
  margin:0 auto 36px !important;
  padding:0 !important;
  overflow:visible;
}

.checkout-index-index .opc-progress-bar-item {
  display:block;
  flex:1 1 0;
  width:auto !important;
  margin:0 !important;
  position:relative;
  text-align:center;
}

.checkout-index-index .opc-progress-bar-item:before {
  top:15px !important;
  left:0 !important;
  width:100% !important;
  height:3px !important;
  border:0 !important;
  border-radius:2px !important;
  background:#eee !important;
}

.checkout-index-index .opc-progress-bar-item:first-child:before {
  left:50% !important;
  width:50% !important;
}

.checkout-index-index .opc-progress-bar-item:last-child:before {
  left:0 !important;
  width:50% !important;
}

.checkout-index-index .opc-progress-bar-item._active:before {
  background:#2563eb !important;
}

.checkout-index-index .opc-progress-bar-item._complete:before,
.checkout-index-index .opc-progress-bar-item._complete + .opc-progress-bar-item:before {
  background:#10b981 !important;
}

.checkout-index-index .opc-progress-bar-item > span {
  display:block !important;
  width:100% !important;
  padding:43px 0 0 !important;
  color:#888 !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:18px !important;
  text-align:center;
}

.checkout-index-index .opc-progress-bar-item > span:before,
.checkout-index-index .opc-progress-bar-item > span:after {
  top:0 !important;
  left:50% !important;
  z-index:2;
  box-sizing:border-box;
  margin:0 0 0 -16px !important;
  width:32px !important;
  height:32px !important;
  border-radius:50% !important;
}

.checkout-index-index .opc-progress-bar-item > span:before {
  border:2px solid #ddd !important;
  background:#fff !important;
}

.checkout-index-index .opc-progress-bar-item > span:after {
  display:flex !important;
  align-items:center;
  justify-content:center;
  border:2px solid transparent !important;
  background:transparent !important;
  color:#999 !important;
  content:counter(i) !important;
  counter-increment:i;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:28px !important;
}

.checkout-index-index .opc-progress-bar-item._active > span {
  color:#2563eb !important;
}

.checkout-index-index .opc-progress-bar-item._active > span:before {
  border-color:#2563eb !important;
  background:#2563eb !important;
}

.checkout-index-index .opc-progress-bar-item._active > span:after {
  color:#fff !important;
}

.checkout-index-index .opc-progress-bar-item._complete > span {
  color:#10b981 !important;
}

.checkout-index-index .opc-progress-bar-item._complete > span:before {
  border-color:#10b981 !important;
  background:#10b981 !important;
}

.checkout-index-index .opc-progress-bar-item._complete > span:after {
  color:#fff !important;
  content:'\2713' !important;
  font-size:16px !important;
  line-height:28px !important;
}

.checkout-index-index .opc-wrapper {
  float:left !important;
  width:calc(100% - 408px) !important;
  padding:0 48px 0 0 !important;
}

.checkout-index-index .opc-sidebar {
  float:right !important;
  width:360px !important;
  margin:0 !important;
}

.checkout-index-index .opc-wrapper .step-title {
  margin:0 0 24px !important;
  padding:0 0 14px !important;
  border:0 !important;
  border-bottom:1px solid #eee !important;
  color:#222 !important;
  font-size:20px !important;
  font-weight:700 !important;
  line-height:28px !important;
}

.checkout-index-index .opc-wrapper .form-login,
.checkout-index-index .opc-wrapper .form-shipping-address {
  max-width:420px !important;
  margin:0 0 30px !important;
  padding:0 !important;
}

.checkout-index-index .opc-wrapper .form-shipping-address .fieldset.address {
  margin:0 !important;
}

.checkout-index-index .opc-wrapper .form-shipping-address .field,
.checkout-index-index .opc-wrapper .form-login .field {
  margin:0 0 18px !important;
}

.checkout-index-index .opc-wrapper .form-shipping-address .field.street .field {
  margin-bottom:8px !important;
}

.checkout-index-index .opc-wrapper .form-shipping-address .field.street .field:last-child {
  margin-bottom:0 !important;
}

.checkout-index-index .opc-wrapper .field > .label,
.checkout-index-index .opc-wrapper .fieldset > .field > .label {
  display:block !important;
  float:none !important;
  width:auto !important;
  margin:0 0 5px !important;
  padding:0 !important;
  color:#444 !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:18px !important;
  text-align:left !important;
}

.checkout-index-index .opc-wrapper .field > .control,
.checkout-index-index .opc-wrapper .fieldset > .field > .control {
  float:none !important;
  width:100% !important;
  margin:0 !important;
}

.checkout-index-index .opc-wrapper input.input-text,
.checkout-index-index .opc-wrapper select {
  box-sizing:border-box !important;
  width:100% !important;
  height:40px !important;
  padding:10px 14px !important;
  border:1px solid #ddd !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#222 !important;
  font-size:13px !important;
  line-height:18px !important;
  box-shadow:none !important;
}

.checkout-index-index .opc-wrapper input.input-text:focus,
.checkout-index-index .opc-wrapper select:focus {
  border-color:#2563eb !important;
  outline:0 !important;
  box-shadow:none !important;
}

.checkout-index-index .opc-wrapper .field-tooltip {
  top:6px !important;
}

.checkout-index-index .checkout-shipping-method {
  max-width:420px;
  margin:32px 0 0 !important;
  padding:0 !important;
}

.checkout-index-index .checkout-shipping-method .step-title {
  margin-bottom:14px !important;
  padding:0 !important;
  border:0 !important;
  font-size:16px !important;
  line-height:22px !important;
}

.checkout-index-index .table-checkout-shipping-method {
  width:100% !important;
  min-width:0 !important;
}

.checkout-index-index .table-checkout-shipping-method tbody tr {
  display:grid;
  grid-template-columns:28px 62px 1fr 1fr;
  align-items:center;
  width:100%;
  margin:0 0 8px;
  padding:12px 16px;
  border:1px solid #eee;
  border-radius:8px;
  background:#fff;
  cursor:pointer;
}

.checkout-index-index .table-checkout-shipping-method tbody tr:has(input:checked) {
  border-color:#2563eb;
  background:#f8faff;
}

.checkout-index-index .table-checkout-shipping-method tbody td {
  display:block !important;
  width:auto !important;
  padding:0 !important;
  border:0 !important;
  color:#666;
  font-size:13px;
}

.checkout-index-index .table-checkout-shipping-method tbody td.col-price {
  color:#111;
  font-size:14px;
  font-weight:600;
}

.checkout-index-index .table-checkout-shipping-method input[type='radio'],
.checkout-index-index .checkout-payment-method input[type='radio'] {
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  accent-color:#2563eb;
}

.checkout-index-index #shipping-method-buttons-container {
  margin:20px 0 0 !important;
}

.checkout-index-index #shipping-method-buttons-container .primary {
  float:none !important;
}

.checkout-index-index #shipping-method-buttons-container .action.continue {
  min-width:112px;
  height:42px;
  margin:0 !important;
  padding:0 36px !important;
  border:0 !important;
  border-radius:6px !important;
  background:#2563eb !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:42px !important;
  box-shadow:none !important;
}

.checkout-index-index .opc-sidebar .modal-inner-wrap {
  position:static !important;
  width:auto !important;
  margin:0 !important;
  transform:none !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.checkout-index-index .opc-sidebar .modal-header,
.checkout-index-index .opc-sidebar .modal-footer,
.checkout-index-index .opc-sidebar .action-close {
  display:none !important;
}

.checkout-index-index .opc-sidebar .modal-content {
  padding:0 !important;
}

.checkout-index-index .opc-block-summary {
  position:sticky;
  top:100px;
  box-sizing:border-box;
  width:100%;
  margin:0 !important;
  padding:24px !important;
  border:1px solid #eee !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:none !important;
}

.checkout-index-index .opc-block-summary > .title {
  display:block !important;
  margin:0 0 16px !important;
  padding:0 !important;
  color:#222 !important;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:22px !important;
}

.checkout-index-index .opc-block-summary .items-in-cart {
  margin:0 !important;
  border:0 !important;
}

.checkout-index-index .opc-block-summary .items-in-cart > .title {
  padding:14px 0 12px !important;
  border-top:1px solid #eee;
  border-bottom:0 !important;
  color:#666 !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:18px !important;
}

.checkout-index-index .opc-block-summary .items-in-cart > .title:after {
  top:16px !important;
  right:2px !important;
  font-size:12px !important;
}

.checkout-index-index .opc-block-summary .minicart-items-wrapper {
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  max-height:none !important;
}

.checkout-index-index .opc-block-summary .product-item {
  min-height:52px;
  margin:0 !important;
  padding:12px 0 !important;
  border-bottom:1px solid #eee !important;
}

.checkout-index-index .opc-block-summary .product-image-container {
  width:52px !important;
  height:52px !important;
  border-radius:6px !important;
}

.checkout-index-index .opc-block-summary .product-image-wrapper {
  height:52px !important;
  padding:0 !important;
}

.checkout-index-index .opc-block-summary .product-image-photo {
  width:52px !important;
  height:52px !important;
  object-fit:cover;
}

.checkout-index-index .opc-block-summary .product-item-name {
  margin:0 0 2px !important;
  color:#222 !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:17px !important;
}

.checkout-index-index .opc-block-summary .details-qty,
.checkout-index-index .opc-block-summary .product.options {
  color:#888 !important;
  font-size:11px !important;
}

.checkout-index-index .opc-block-summary .subtotal .price {
  color:#2563eb !important;
  font-size:13px !important;
  font-weight:600 !important;
}

.checkout-index-index .opc-block-summary .table-totals {
  margin:0 0 10px !important;
  border:0 !important;
}

.checkout-index-index .opc-block-summary .table-totals th,
.checkout-index-index .opc-block-summary .table-totals td {
  padding:0 0 10px !important;
  border:0 !important;
  color:#666 !important;
  font-size:13px !important;
  font-weight:400 !important;
}

.checkout-index-index .opc-block-summary .table-totals td {
  text-align:right !important;
}

.checkout-index-index .opc-block-summary .grand.totals th,
.checkout-index-index .opc-block-summary .grand.totals td {
  padding-top:12px !important;
  border-top:1px solid #eee !important;
  color:#111 !important;
  font-size:16px !important;
  font-weight:700 !important;
}

.checkout-index-index .opc-block-summary .grand.totals .price {
  color:#2563eb !important;
  font-size:18px !important;
  font-weight:700 !important;
}

.checkout-index-index .checkout-payment-method .step-title {
  margin-bottom:14px !important;
  font-size:16px !important;
  line-height:22px !important;
}

.checkout-index-index .checkout-payment-method .payment-method {
  max-width:420px;
  margin:0 0 8px !important;
}

.checkout-index-index .checkout-payment-method .payment-method-title {
  display:flex;
  align-items:center;
  min-height:48px;
  margin:0 !important;
  padding:12px 16px !important;
  border:1px solid #eee !important;
  border-radius:8px !important;
  background:#fff !important;
}

.checkout-index-index .checkout-payment-method .payment-method._active .payment-method-title {
  border-color:#2563eb !important;
  background:#f8faff !important;
}

.checkout-index-index .checkout-payment-method .payment-method-title label {
  margin:0 0 0 10px !important;
  color:#222 !important;
  font-size:13px !important;
  font-weight:500 !important;
}

.checkout-index-index .checkout-payment-method .payment-method-content {
  margin:0 !important;
  padding:14px 0 0 !important;
}

.checkout-index-index .checkout-payment-method .payment-option.discount-code {
  max-width:420px;
  margin:28px 0 0 !important;
  padding:0 !important;
}

.checkout-index-index .checkout-payment-method .payment-option.discount-code .payment-option-title {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

.checkout-index-index .checkout-payment-method .payment-option.discount-code .action-toggle {
  display:inline-flex !important;
  align-items:center;
  gap:6px;
  color:#2563eb !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:18px !important;
}

.checkout-index-index .checkout-payment-method .payment-option.discount-code .action-toggle:after {
  margin:0 !important;
  color:#2563eb !important;
  font-size:10px !important;
  line-height:1 !important;
}

.checkout-index-index .checkout-payment-method .payment-option.discount-code .payment-option-content {
  margin:10px 0 0 !important;
  padding:0 !important;
}

.checkout-index-index .checkout-payment-method .form-discount {
  display:flex;
  align-items:flex-start;
  gap:8px;
  width:100%;
}

.checkout-index-index .checkout-payment-method .form-discount .payment-option-inner {
  flex:1 1 auto;
  margin:0 !important;
}

.checkout-index-index .checkout-payment-method .form-discount .field {
  margin:0 !important;
}

.checkout-index-index .checkout-payment-method .form-discount .label {
  display:none !important;
}

.checkout-index-index .checkout-payment-method .form-discount input.input-text {
  height:40px !important;
  padding:10px 14px !important;
  border:1px solid #ddd !important;
  border-radius:6px !important;
  font-size:13px !important;
}

.checkout-index-index .checkout-payment-method .form-discount .actions-toolbar {
  flex:0 0 auto;
  margin:0 !important;
}

.checkout-index-index .checkout-payment-method .form-discount .actions-toolbar .primary {
  float:none !important;
}

.checkout-index-index .checkout-payment-method .form-discount .action {
  height:40px !important;
  margin:0 !important;
  padding:0 20px !important;
  border:0 !important;
  border-radius:6px !important;
  background:#2563eb !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:40px !important;
  white-space:nowrap;
}

.checkout-index-index .checkout-payment-method .payment-method .actions-toolbar .action.checkout {
  width:100%;
  height:46px;
  margin:20px 0 0 !important;
  padding:0 20px !important;
  border:0 !important;
  border-radius:6px !important;
  background:#2563eb !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:46px !important;
  box-shadow:none !important;
}

.checkout-index-index .opc-block-shipping-information {
  margin:16px 0 0 !important;
  padding:14px 0 0 !important;
  border-top:1px solid #eee !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-title {
  margin:0 0 8px !important;
  padding:0 !important;
  border:0 !important;
  color:#222 !important;
  font-size:13px !important;
  font-weight:600 !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-content {
  color:#666 !important;
  font-size:12px !important;
  line-height:1.6 !important;
}

.checkout-index-index .opc-block-shipping-information .action-edit {
  top:0 !important;
  right:0 !important;
  color:#2563eb !important;
}

/* Payment step: match the Review & Payments prototype structure. */
.checkout-index-index.bp-checkout-payment-step .checkout-payment-method {
  max-width:100%;
}

.checkout-index-index.bp-checkout-payment-step .checkout-payment-method .payment-method,
.checkout-index-index.bp-checkout-payment-step .checkout-payment-method .payment-option.discount-code {
  max-width:100%;
}

.checkout-index-index.bp-checkout-payment-step .checkout-payment-method .payment-option.discount-code {
  margin-top:28px !important;
  padding-top:0 !important;
  border-top:0 !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary.bp-payment-order-summary {
  position:sticky;
  top:100px;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary.bp-payment-order-summary .items-in-cart > .title {
  padding-top:14px !important;
  border-top:1px solid #eee !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary.bp-payment-order-summary .minicart-items-wrapper {
  display:block !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-shipping-information {
  margin:14px 0 0 !important;
  padding:0 !important;
  border:0 !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-shipping-information .ship-to,
.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-shipping-information .ship-via {
  position:relative;
  margin:0 !important;
  padding:14px 0 0 !important;
  border-top:1px solid #eee !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-shipping-information .ship-via {
  margin-top:14px !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-shipping-information .shipping-information-title {
  min-height:18px;
  margin:0 0 8px !important;
  padding:0 46px 0 0 !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-shipping-information .action-edit {
  position:absolute !important;
  top:12px !important;
  right:0 !important;
  width:auto !important;
  height:auto !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#2563eb !important;
  display:inline-flex !important;
  align-items:center;
  gap:3px;
  font-size:11px !important;
  line-height:18px !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-shipping-information .action-edit:before {
  font-size:11px !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-shipping-information .action-edit span {
  display:inline !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  position:static !important;
  overflow:visible !important;
  clip:auto !important;
  color:#2563eb !important;
  font-size:11px !important;
  line-height:18px !important;
  text-transform:capitalize;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .product-item .product {
  display:flex !important;
  align-items:flex-start;
  gap:12px;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .product-item-details {
  flex:1 1 auto;
  width:auto !important;
  min-width:0;
  margin:0 !important;
  padding:0 !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .product-item-inner {
  display:flex !important;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .product-item-name-block {
  flex:1 1 auto;
  min-width:0;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .subtotal {
  flex:0 0 auto;
  margin:0 !important;
  text-align:right;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-place-order {
  display:block !important;
  width:100% !important;
  margin:20px 0 0 !important;
  padding:0 !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-place-order .primary {
  float:none !important;
  width:100% !important;
}

.checkout-index-index.bp-checkout-payment-step .opc-block-summary .bp-summary-place-order .action.checkout {
  display:block !important;
  width:100% !important;
  height:46px !important;
  margin:0 !important;
  padding:0 20px !important;
  border:0 !important;
  border-radius:6px !important;
  background:#2563eb !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:46px !important;
  text-align:center !important;
  box-shadow:none !important;
}

@media(max-width:1100px) {
  .checkout-index-index .opc-wrapper,
  .checkout-index-index .opc-sidebar {
    float:none !important;
    width:100% !important;
    padding-right:0 !important;
  }

  .checkout-index-index .opc-sidebar {
    margin-top:28px !important;
  }

  .checkout-index-index .opc-block-summary {
    position:static;
  }
}

@media(max-width:640px) {
  .checkout-index-index .page-main {
    padding:22px 16px 56px !important;
  }

  .checkout-index-index .opc-progress-bar {
    width:100%;
    max-width:296px;
    margin-bottom:28px !important;
  }

  .checkout-index-index .opc-wrapper .form-login,
  .checkout-index-index .opc-wrapper .form-shipping-address,
  .checkout-index-index .checkout-shipping-method,
  .checkout-index-index .checkout-payment-method .payment-method,
  .checkout-index-index .checkout-payment-method .payment-option.discount-code {
    max-width:none !important;
  }

  .checkout-index-index .table-checkout-shipping-method tbody tr {
    grid-template-columns:24px 60px 1fr;
    gap:4px;
  }

  .checkout-index-index .table-checkout-shipping-method tbody td:last-child {
    grid-column:3;
  }

  .checkout-index-index .checkout-payment-method .form-discount {
    flex-direction:column;
  }

  .checkout-index-index .checkout-payment-method .form-discount .payment-option-inner,
  .checkout-index-index .checkout-payment-method .form-discount .actions-toolbar,
  .checkout-index-index .checkout-payment-method .form-discount .action {
    width:100% !important;
  }
}

/*
 * Mobile checkout: luma turns .opc-sidebar into a hidden slide-over modal
 * (position:fixed + transform + visibility). checkout-payment-layout.js
 * relocates the place-order toolbar and the shipping-information block into
 * the summary on the payment step — with the sidebar stuck in modal mode
 * the button disappeared off-canvas and the fixed panel widened the page
 * (horizontal overflow). Pin the sidebar into normal flow so the summary
 * card with the relocated place-order button renders below the payment
 * step.
 */
@media(max-width:767px) {
  .checkout-index-index .opc-sidebar {
    position:static !important;
    visibility:visible !important;
    opacity:1 !important;
    transform:none !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:auto !important;
    margin:24px 0 0 !important;
    overflow:visible !important;
    pointer-events:auto !important;
  }

  /* The modal overlay belongs to the slide-over behavior only. */
  .checkout-index-index .opc-summary-wrapper._show ~ .modals-overlay,
  .checkout-index-index .modals-overlay {
    display:none !important;
  }

  /* Luma's mobile "Order Summary" estimated bar duplicates the in-flow
     summary card. */
  .checkout-index-index .opc-estimated-wrapper {
    display:none !important;
  }

  .checkout-index-index .opc-block-summary {
    position:static !important;
    top:auto !important;
  }

  /* The relocated place-order toolbar inside the summary card. */
  .checkout-index-index .bp-summary-place-order {
    margin:16px 0 0 !important;
  }

  .checkout-index-index .bp-summary-place-order .primary {
    float:none !important;
  }

  .checkout-index-index .bp-summary-place-order .action.primary.checkout {
    display:block !important;
    width:100% !important;
    margin:0 !important;
  }

  /* The off-canvas authentication dropdown stays display:block on checkout
     and its fixed 44px-left panel extends past the viewport, forcing a
     ~408px layout width. Keep it display:none until toggled open. */
  .checkout-index-index .authentication-dropdown.custom-slide {
    display:none !important;
  }

  .checkout-index-index .authentication-dropdown.custom-slide._show {
    display:block !important;
  }

  /* The shipping-method table keeps its table layout on phones and sizes
     rows to min-content (392px), overflowing the 358px column. Switch it
     to block layout so rows track the container width. */
  .checkout-index-index .table-checkout-shipping-method,
  .checkout-index-index .table-checkout-shipping-method tbody {
    display:block !important;
    width:100% !important;
  }

  .checkout-index-index .table-checkout-shipping-method tbody tr {
    box-sizing:border-box !important;
    width:100% !important;
  }
}

@media(max-width:640px) {
  .bp-supplier-login-layout {
    border-radius:10px;
  }

  .bp-supplier-login-visual,
  .bp-supplier-register-visual {
    min-height:260px;
    padding:28px;
  }

  .bp-supplier-login-form-wrap,
  .bp-supplier-register-card {
    padding:24px;
  }

  .bp-supplier-login-options,
  .bp-supplier-register-page .actions-toolbar,
  .bp-supplier-stats {
    flex-direction:column;
    align-items:stretch;
  }

  .bp-supplier-stats {
    gap:12px;
  }

  .bp-supplier-register-page .cr-step-1 .fieldset.create.info {
    grid-template-columns:1fr;
  }

  .bp-supplier-register-title {
    margin-bottom:28px;
    font-size:24px;
  }

  .bp-supplier-register-page .cr-nav-step-title {
    display:none;
  }
}

/* Vendor store pages */
.vendor-page .page-wrapper,
.vendor-home-page .page-wrapper {
  background:#fff !important;
}

.vendor-profile-wrapper {
  margin:0 0 0;
  padding:48px 0;
  background:linear-gradient(135deg,#1e3a5f,var(--wph-blue)) !important;
  color:#fff;
}

.vendor-profile-wrapper .vendor-profile-container {
  max-width:1200px;
  display:flex;
  align-items:center;
  gap:24px;
  padding:0 24px;
}

.vendor-page .vendor-profile-logo,
.vendor-page .profile-sidebar .vendor-profile-logo {
  width:80px !important;
  flex:0 0 80px;
  margin:0 !important;
}

.vendor-page .vendor-profile-logo img,
.vendor-page .profile-sidebar .vendor-profile-logo img {
  width:80px !important;
  height:80px !important;
  border:0 !important;
  border-radius:50%;
  background:#fff;
  object-fit:cover;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}

.vendor-page .vendor-profile-description {
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  color:#fff;
}

.vendor-page .vendor-title,
.vendor-page h3.vendor-title {
  margin:0 0 4px !important;
  color:#fff !important;
  font-size:24px !important;
  font-weight:700 !important;
}

.vendor-page .vendor-headline,
.vendor-page .vendor-profile-description,
.vendor-page .vendor-profile-description p {
  color:rgba(255,255,255,.82) !important;
  font-size:12px;
}

.vendor-menu {
  border-bottom:1px solid #eee;
  background:#fff !important;
}

.vendor-menu .vendor-nav-container {
  max-width:1200px;
  padding:0 24px;
}

.vendor-menu li > a {
  padding:14px 20px;
  border-bottom:2px solid transparent;
  color:#666 !important;
  font-size:13px;
  font-weight:500;
}

.vendor-menu li > a:hover,
.vendor-menu li > a.selected {
  border-bottom-color:var(--wph-blue);
  color:var(--wph-blue) !important;
}

.vendor-page .page-main {
  max-width:1200px !important;
}

.vendor-products-title {
  margin:0 0 20px;
  color:#111;
  font-size:18px;
  font-weight:600;
}

.vendor-page .products-grid .product-items {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

/* Responsive */
@media(max-width:1100px) {
  .page-products .products-grid .product-items,
  .vendor-page .products-grid .product-items {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .checkout-index-index .opc-wrapper,
  .checkout-index-index .opc-sidebar {
    width:100%;
    padding-right:0;
  }

  .checkout-index-index .opc-sidebar {
    margin-top:28px;
  }
}

@media(max-width:900px) {
  body:not(.cms-index-index) .page-main {
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .breadcrumbs {
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .page-products.page-layout-2columns-left .columns,
  .catalog-category-view.page-layout-2columns-left .columns,
  .catalogsearch-result-index.page-layout-2columns-left .columns,
  .catalog-product-view .page-main > .columns .column.main,
  .checkout-cart-index .cart-container,
  .customer-account-login .login-container,
  .marketplace-seller-login .login-container,
  .vendors-account-login .login-container,
  .account.page-layout-2columns-left .columns,
  .customer-account-index.page-layout-2columns-left .columns,
  .sales-order-history.page-layout-2columns-left .columns,
  .customer-address-index.page-layout-2columns-left .columns,
  .customer-account-edit.page-layout-2columns-left .columns,
  .newsletter-manage-index.page-layout-2columns-left .columns,
  .wishlist-index-index.page-layout-2columns-left .columns,
  .enquiry-account-index.page-layout-2columns-left .columns,
  .cr-step .cr-step-content {
    grid-template-columns:1fr;
  }

  .page-products.page-layout-2columns-left .columns,
  .catalog-category-view.page-layout-2columns-left .columns,
  .catalogsearch-result-index.page-layout-2columns-left .columns {
    grid-template-areas:
      "sidebar"
      "additional"
      "main";
    gap:24px;
  }

  /* Mobile: .page-main is a flex child of .page-wrapper (column direction).
     The desktop rule `margin:0 auto` gives it auto cross-margins, which
     neutralizes the default stretch — on narrow screens it shrink-to-fits
     its widest child (~238px on the PLP) and the whole page gets squeezed.
     Pin it to the viewport width on mobile. Desktop keeps margin:auto +
     max-width:1200px (width:100% still caps at max-width). */
  body:not(.cms-index-index) .page-main {
    width:100%;
    box-sizing:border-box;
  }

  .customer-account-login .login-container .block-customer-login,
  .customer-account-login .login-container .block-new-customer,
  .marketplace-seller-login .login-container .block-customer-login,
  .marketplace-seller-login .login-container .block-new-customer,
  .vendors-account-login .login-container .block-customer-login,
  .vendors-account-login .login-container .block-new-customer {
    grid-column:1;
    grid-row:auto;
  }

  .catalog-product-view .product.media,
  .catalog-product-view .product-info-main,
  .catalog-product-view .product.info.detailed {
    grid-column:auto;
  }

  /* Mobile: let PDP info flex children shrink below their min-content width.
     Flex items default to min-width:auto, so a long unbreakable token would
     push .product-info-price ~20px past the viewport on narrow phones. */
  .catalog-product-view .product-info-main > * {
    min-width:0;
  }

  /* Mobile: luma ships a ≤639px hack `.product-info-price{width:calc(100% + 20px)
     !important}` (full-bleed price bar) which pushes the info column 20px past
     the viewport on narrow phones. Our redesign doesn't use the full-bleed bar,
     so cancel it (higher specificity !important) and stretch to the container.
     Desktop is untouched — the luma hack only applies ≤639px. */
  .catalog-product-view .product-info-main .product-info-price {
    width:auto !important;
    align-self:stretch;
  }

  .checkout-cart-index .cart-summary {
    position:static;
  }

  .checkout-cart-index .cart-container {
    grid-template-areas:
      "items"
      "summary";
  }

  .customer-account-index .block-dashboard-info .block-content,
  .customer-account-index .block-dashboard-addresses .block-content {
    grid-template-columns:1fr;
  }

  .customer-account-index .block-dashboard-info .box-information,
  .customer-account-index .block-dashboard-info .box-newsletter,
  .customer-account-index .block-dashboard-addresses .box-billing-address,
  .customer-account-index .block-dashboard-addresses .box-shipping-address {
    grid-column:auto;
  }

  .account.page-layout-2columns-left .columns,
  .customer-account-index.page-layout-2columns-left .columns,
  .sales-order-history.page-layout-2columns-left .columns,
  .customer-address-index.page-layout-2columns-left .columns,
  .customer-account-edit.page-layout-2columns-left .columns,
  .newsletter-manage-index.page-layout-2columns-left .columns,
  .wishlist-index-index.page-layout-2columns-left .columns,
  .enquiry-account-index.page-layout-2columns-left .columns {
    grid-template-areas:
      "sidebar"
      "main"
      "additional";
  }

  .cr-step-content-col2 {
    min-height:200px;
  }
}

@media(max-width:760px) {
  .page-products .products-grid .product-items,
  .vendor-page .products-grid .product-items {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .page-products .toolbar-products {
    align-items:flex-start;
    flex-direction:column;
  }

  .customer-account-login .login-container .block,
  .marketplace-seller-login .login-container .block,
  .vendors-account-login .login-container .block,
  .customer-account-create .form-create-account,
  .cr-step .cr-step-content {
    padding:24px;
  }

  .cr-nav-step-title {
    display:none;
  }
}

@media(max-width:520px) {
  /* Keep the 2-column product grid on phones (~171px cards at 390px). This
     used to collapse to a single column because a page-main shrink bug made
     the container ~206px wide; with that fixed, one column looks oversized
     and inconsistent with typical mobile e-commerce. */
  .page-products .products-grid .product-items,
  .vendor-page .products-grid .product-items {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .bp-header-search {
    width:150px;
    min-width:150px;
  }

  .cr-container .actions-toolbar {
    flex-direction:column;
  }

  .cr-container .actions-toolbar .cr-next-btn,
  .cr-container .actions-toolbar .cr-submit-btn,
  .cr-container .actions-toolbar .cr-previous-btn {
    width:100%;
  }
}

.marketplace-seller-register .bp-supplier-register-page .field.bp-supplier-agreement {
  display:flex !important;
  align-items:flex-start !important;
  column-gap:14px !important;
  row-gap:0 !important;
  margin:20px 0 0 !important;
  padding:0 !important;
  line-height:22px !important;
}

.marketplace-seller-register .bp-supplier-register-page .field.bp-supplier-agreement input[type="checkbox"] {
  float:none !important;
  flex:0 0 18px !important;
  width:18px !important;
  min-width:18px !important;
  height:18px !important;
  min-height:18px !important;
  margin:2px 0 0 !important;
  padding:0 !important;
  accent-color:var(--wph-blue);
}

.marketplace-seller-register .bp-supplier-register-page .field.bp-supplier-agreement label {
  display:block !important;
  flex:1 1 auto !important;
  margin:0 !important;
  padding:0 !important;
  color:#444 !important;
  font-size:13px !important;
  line-height:22px !important;
  font-weight:500 !important;
  text-align:left !important;
}

/* Distributor login and registration prototypes */
.distributor-account-login .page-wrapper,
.distributor-account-register .page-wrapper {
  background:#fff !important;
}

.distributor-account-login .page-main,
.distributor-account-register .page-main {
  max-width:none !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

.distributor-account-login .page-title-wrapper,
.distributor-account-register .page-title-wrapper {
  display:none !important;
}

.bp-distributor-container {
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

.bp-distributor-login-page {
  min-height:60vh;
  padding:80px 0;
  background:#fff;
}

.bp-distributor-login-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  max-width:900px;
  margin:0 auto;
  overflow:hidden;
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 24px rgba(0,0,0,.08);
}

.bp-distributor-login-visual {
  position:relative;
  display:flex;
  min-height:480px;
  align-items:center;
  justify-content:center;
  padding:40px;
  background:
    linear-gradient(135deg,rgba(17,17,17,.7),rgba(37,99,235,.4)),
    url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=600&q=80') center/cover;
}

.bp-distributor-login-visual__content {
  position:relative;
  z-index:1;
  color:#fff;
  text-align:center;
}

.bp-distributor-login-visual__content h2 {
  margin:0 0 12px;
  color:#fff;
  font-size:24px;
  line-height:1.25;
  font-weight:700;
}

.bp-distributor-login-visual__content p {
  margin:0 0 24px;
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.6;
}

.bp-distributor-stats {
  display:flex;
  justify-content:center;
  gap:24px;
}

.bp-distributor-stat {
  text-align:center;
}

.bp-distributor-stat strong {
  display:block;
  color:#fff;
  font-size:22px;
  line-height:1.2;
  font-weight:700;
}

.bp-distributor-stat span {
  display:block;
  margin-top:2px;
  color:rgba(255,255,255,.7);
  font-size:11px;
}

.bp-distributor-login-form-wrap {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px 40px;
  background:#fff;
}

.bp-distributor-login-form-wrap h2 {
  margin:0 0 8px;
  color:#111;
  font-size:24px;
  line-height:1.25;
  font-weight:700;
}

.bp-distributor-login-subtitle {
  margin:0 0 32px;
  color:#888;
  font-size:13px;
}

.bp-distributor-form-group {
  margin:0 0 20px;
}

.bp-distributor-form-group label {
  display:block;
  margin:0 0 6px;
  color:#444;
  font-size:13px;
  line-height:1.35;
  font-weight:500;
}

.bp-distributor-form-group label span {
  color:#ef4444;
}

.bp-distributor-form-group input:not([type='file']),
.bp-distributor-form-group select,
.bp-distributor-form-group textarea {
  box-sizing:border-box !important;
  width:100% !important;
  min-height:42px !important;
  padding:10px 14px !important;
  border:1px solid #ddd !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#222 !important;
  font-size:13px !important;
  line-height:20px !important;
  outline:none !important;
  box-shadow:none !important;
  transition:border-color .2s;
}

.bp-distributor-form-group input:not([type='file']):focus,
.bp-distributor-form-group select:focus,
.bp-distributor-form-group textarea:focus {
  border-color:var(--wph-blue) !important;
}

.bp-distributor-login-options {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 24px;
}

.bp-distributor-login-options label {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  color:#666;
  font-size:12px;
  line-height:1.4;
}

.bp-distributor-login-options input {
  width:14px;
  height:14px;
  margin:0;
  accent-color:var(--wph-blue);
}

.bp-distributor-login-options a {
  color:var(--wph-blue) !important;
  font-size:12px;
  text-decoration:none;
}

.bp-distributor-btn {
  display:inline-flex;
  box-sizing:border-box !important;
  align-items:center;
  justify-content:center;
  max-width:100%;
  min-height:44px;
  padding:0 24px !important;
  border-radius:6px !important;
  font-size:14px !important;
  line-height:44px !important;
  font-weight:600 !important;
  text-align:center;
  text-decoration:none !important;
  cursor:pointer;
  box-shadow:none !important;
}

.bp-distributor-btn--primary {
  border:0 !important;
  background:var(--wph-blue) !important;
  color:#fff !important;
}

.bp-distributor-btn--primary:hover {
  background:#1d4ed8 !important;
}

.bp-distributor-btn--outline {
  width:100% !important;
  border:2px solid var(--wph-blue) !important;
  background:#fff !important;
  color:var(--wph-blue) !important;
}

.bp-distributor-btn--outline:hover {
  background:#eef3ff !important;
}

.bp-distributor-btn--secondary {
  border:1px solid #ddd !important;
  background:#f5f5f5 !important;
  color:#444 !important;
}

.bp-distributor-login-form .bp-distributor-btn--primary {
  width:100%;
}

.bp-distributor-divider {
  display:flex;
  align-items:center;
  gap:12px;
  margin:24px 0;
}

.bp-distributor-divider:before,
.bp-distributor-divider:after {
  content:'';
  flex:1;
  height:1px;
  background:#eee;
}

.bp-distributor-divider span {
  color:#aaa;
  font-size:11px;
}

.bp-distributor-register-page {
  padding:48px 0 80px;
  background:#fff;
}

.bp-distributor-register-title {
  margin:0 0 36px;
  color:#111;
  font-size:28px;
  line-height:1.25;
  font-weight:700;
  text-align:center;
}

.bp-distributor-stepper {
  display:flex;
  align-items:flex-start;
  justify-content:center;
  max-width:600px;
  margin:0 auto 48px;
}

.bp-distributor-step {
  position:relative;
  display:flex;
  flex:0 0 112px;
  flex-direction:column;
  align-items:center;
}

.bp-distributor-step__circle {
  position:relative;
  z-index:1;
  display:flex;
  width:36px;
  height:36px;
  align-items:center;
  justify-content:center;
  border:2px solid #ddd;
  border-radius:50%;
  background:#fff;
  color:#999;
  font-size:14px;
  font-weight:600;
  transition:all .2s;
}

.bp-distributor-step__label {
  margin-top:8px;
  color:#999;
  font-size:11px;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap;
}

.bp-distributor-step.is-active .bp-distributor-step__circle {
  border-color:var(--wph-blue);
  background:var(--wph-blue);
  color:#fff;
}

.bp-distributor-step.is-active .bp-distributor-step__label {
  color:var(--wph-blue);
  font-weight:600;
}

.bp-distributor-step.is-done .bp-distributor-step__circle {
  border-color:var(--wph-green);
  background:var(--wph-green);
  color:#fff;
}

.bp-distributor-step.is-done .bp-distributor-step__label {
  color:var(--wph-green);
}

.bp-distributor-step-line {
  flex:1 1 0;
  height:3px;
  margin:17px -20px 0;
  background:#eee;
}

.bp-distributor-step-line.is-active {
  background:linear-gradient(to right,var(--wph-green),var(--wph-blue));
}

.bp-distributor-step-line.is-done {
  background:var(--wph-green);
}

.bp-distributor-register-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:stretch;
}

.bp-distributor-register-visual {
  position:relative;
  min-height:500px;
  overflow:hidden;
  border-radius:12px;
  background:
    linear-gradient(135deg,rgba(37,99,235,.3),rgba(16,185,129,.2)),
    url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=600&q=80') center/cover;
}

.bp-distributor-register-visual:before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.55));
}

.bp-distributor-register-visual__text {
  position:absolute;
  right:30px;
  bottom:40px;
  left:30px;
  z-index:1;
  color:#fff;
}

.bp-distributor-register-visual__text h3 {
  margin:0 0 8px;
  color:#fff;
  font-size:22px;
  line-height:1.3;
  font-weight:700;
}

.bp-distributor-register-visual__text p {
  max-width:460px;
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:13px;
  line-height:1.5;
}

.bp-distributor-register-card {
  box-sizing:border-box;
  min-height:500px;
  padding:36px;
  border:1px solid #eee;
  border-radius:12px;
  background:#fff;
}

.bp-distributor-register-panel {
  display:none;
}

.bp-distributor-register-panel.is-active {
  display:block;
}

.bp-distributor-register-panel h3 {
  margin:0 0 24px;
  color:#111;
  font-size:18px;
  line-height:1.3;
  font-weight:600;
}

.bp-distributor-form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.bp-distributor-upload {
  display:flex !important;
  min-height:134px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:24px !important;
  border:2px dashed #ddd !important;
  border-radius:8px !important;
  background:#fff;
  text-align:center;
  cursor:pointer;
  transition:all .2s;
}

.bp-distributor-upload:hover {
  border-color:var(--wph-blue) !important;
  background:#f8faff;
}

.bp-distributor-upload.is-invalid {
  border-color:#ef4444 !important;
  background:#fff7f7;
}

.bp-distributor-upload input {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}

.bp-distributor-upload__icon {
  display:flex;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  margin:0 auto 8px;
  border-radius:8px;
  background:#eef3ff;
}

.bp-distributor-upload__icon svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:var(--wph-blue);
  stroke-width:1.5;
}

.bp-distributor-upload__text {
  color:#888 !important;
  font-size:12px !important;
  line-height:1.4 !important;
}

.bp-distributor-upload__hint {
  margin-top:4px;
  color:#aaa !important;
  font-size:11px !important;
  line-height:1.4 !important;
}

.bp-distributor-password-strength {
  margin-top:4px;
  color:#aaa;
  font-size:11px;
  line-height:1.4;
}

.bp-distributor-password-strength span {
  color:#ef4444;
}

.bp-distributor-password-strength span[data-level='medium'] {
  color:#f59e0b;
}

.bp-distributor-password-strength span[data-level='strong'] {
  color:#10b981;
}

.bp-distributor-checkbox-group {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:20px 0 0;
}

.bp-distributor-checkbox-group input {
  flex:0 0 16px;
  width:16px;
  height:16px;
  margin:2px 0 0;
  accent-color:var(--wph-blue);
}

.bp-distributor-checkbox-group label {
  margin:0;
  color:#666;
  font-size:12px;
  line-height:1.5;
}

.bp-distributor-checkbox-group a {
  color:var(--wph-blue) !important;
  text-decoration:underline;
}

.bp-distributor-field-error {
  display:none;
  margin-top:6px;
  color:#ef4444;
  font-size:12px;
  line-height:1.4;
}

.bp-distributor-form-group.is-invalid input:not([type='file']),
.bp-distributor-form-group.is-invalid select {
  border-color:#ef4444 !important;
}

.bp-distributor-inline-error {
  margin-top:6px;
  color:#ef4444;
  font-size:12px;
  line-height:1.4;
}

.bp-distributor-checkbox-group.is-invalid input {
  outline:1px solid #ef4444;
  outline-offset:2px;
}

.bp-distributor-btn-row {
  display:flex;
  gap:12px;
  margin-top:32px;
}

.bp-distributor-btn-row .bp-distributor-btn {
  flex:1 1 0;
  width:auto;
}

.bp-distributor-register-login-link {
  display:block;
  margin-top:16px;
  color:var(--wph-blue) !important;
  font-size:13px;
  font-weight:500;
  text-align:center;
}

/* Distributor post-login dashboard prototype */
.distributor-account-dashboard .page-wrapper,
.distributor-account-dashboard .page-main,
.distributor-account-dashboard .columns,
.distributor-account-dashboard .column.main {
  width:100% !important;
  max-width:none !important;
  min-height:100vh !important;
  margin:0 !important;
  padding:0 !important;
  background:#f5f7fa !important;
}

.distributor-account-dashboard .page-title-wrapper {
  display:none !important;
}

.bp-distributor-dashboard {
  min-height:100vh;
  background:#f5f7fa;
  color:#1f2937;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}

.bp-distributor-dash-sidebar {
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  z-index:100;
  display:flex;
  box-sizing:border-box;
  width:180px;
  flex-direction:column;
  padding:20px 0;
  background:linear-gradient(180deg,#1a2332 0%,#0f1923 100%);
}

.bp-distributor-dash-profile {
  padding:20px 15px 25px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:center;
}

.bp-distributor-dash-avatar {
  display:flex;
  width:52px;
  height:52px;
  align-items:center;
  justify-content:center;
  margin:0 auto 10px;
  border-radius:50%;
  background:#3a4a5c;
}

.bp-distributor-dash-avatar svg {
  width:26px;
  height:26px;
  fill:#8899aa;
}

.bp-distributor-dash-profile-name {
  overflow:hidden;
  margin:0 0 6px;
  color:#fff;
  font-size:13px;
  font-weight:500;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.bp-distributor-dash-profile-status {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#8899aa;
  font-size:11px;
  line-height:1.2;
}

.bp-distributor-dash-status-dot {
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#22c55e;
}

.bp-distributor-dash-nav {
  flex:1 1 auto;
  padding:15px 0;
}

.bp-distributor-dash-nav-bottom {
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.08);
}

.bp-distributor-dash-nav-item {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 20px;
  color:#8899aa !important;
  font-size:13px;
  line-height:1.35;
  text-decoration:none !important;
  transition:background .15s,color .15s;
}

.bp-distributor-dash-nav-item:hover {
  background:rgba(255,255,255,.04);
  color:#cbd5e1 !important;
}

.bp-distributor-dash-nav-item.is-active {
  color:#f87171 !important;
}

.bp-distributor-dash-nav-icon {
  display:flex;
  width:28px;
  height:28px;
  flex:0 0 28px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
}

.bp-distributor-dash-nav-icon svg {
  width:16px;
  height:16px;
  fill:currentColor;
}

.bp-distributor-dash-nav-item.is-active .bp-distributor-dash-nav-icon {
  background:rgba(248,113,113,.16);
  color:#fff;
}

.bp-distributor-dash-main {
  min-height:100vh;
  margin-left:180px;
}

.bp-distributor-dash-topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 30px;
  border-bottom:1px solid #e5e7eb;
  background:#fff;
}

.bp-distributor-dash-topbar h1 {
  margin:0;
  color:#2563eb;
  font-size:16px;
  font-weight:600;
  line-height:1.3;
}

.bp-distributor-dash-topbar a {
  color:#6b7280 !important;
  font-size:13px;
  line-height:1.3;
  text-decoration:none !important;
}

.bp-distributor-dash-content {
  padding:25px 30px;
}

.bp-distributor-dash-alert {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:0 0 22px;
  padding:12px 20px;
  border:1px solid #ffc107;
  border-radius:8px;
  background:#fef3cd;
  color:#92400e;
  font-size:13px;
  line-height:1.45;
}

.bp-distributor-dash-alert span {
  margin-right:8px;
}

.bp-distributor-dash-update {
  min-height:32px;
  padding:0 20px !important;
  border:0 !important;
  border-radius:6px !important;
  background:#2563eb !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:32px !important;
  box-shadow:none !important;
  cursor:pointer;
}

.bp-distributor-dash-tabs {
  display:flex;
  gap:30px;
  margin:0 0 22px;
  border-bottom:1px solid #e5e7eb;
}

.bp-distributor-dash-tab {
  position:relative;
  display:block;
  padding:0 0 12px;
  color:#6b7280 !important;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  text-decoration:none !important;
}

.bp-distributor-dash-tab.is-active {
  color:#2563eb !important;
}

.bp-distributor-dash-tab.is-active:after {
  content:'';
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:2px;
  background:#2563eb;
}

.bp-distributor-dash-card,
.bp-distributor-dash-stat-card {
  box-sizing:border-box;
  border:1px solid #e5e7eb;
  border-radius:8px;
  background:#fff;
}

.bp-distributor-dash-card {
  margin:0 0 20px;
  padding:22px;
}

.bp-distributor-dash-card h2 {
  margin:0 0 18px;
  color:#111827;
  font-size:16px;
  font-weight:600;
  line-height:1.35;
}

.bp-distributor-dash-program-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 32px;
}

.bp-distributor-dash-program-row:first-child {
  grid-column:1 / -1;
}

.bp-distributor-dash-program-label {
  margin:0 0 4px;
  color:#6b7280;
  font-size:12px;
  font-weight:500;
  line-height:1.35;
}

.bp-distributor-dash-program-value {
  color:#111827;
  font-size:14px;
  line-height:1.5;
}

.bp-distributor-dash-baselinker {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.bp-distributor-dash-baselinker h2 {
  margin-bottom:8px;
}

.bp-distributor-dash-connected {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 8px;
  color:#16a34a;
  font-size:13px;
  font-weight:600;
}

.bp-distributor-dash-baselinker p {
  margin:0;
  color:#6b7280;
  font-size:13px;
  line-height:1.45;
}

.bp-distributor-dash-baselinker a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:auto;
  padding:0;
  border-radius:0;
  background:transparent;
  color:#2563eb !important;
  font-size:13px;
  font-weight:600;
  text-decoration:none !important;
  white-space:nowrap;
}

.bp-distributor-dash-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin:0 0 20px;
}

.bp-distributor-dash-stat-card {
  padding:20px;
}

.bp-distributor-dash-stat-label {
  margin:0 0 10px;
  color:#6b7280;
  font-size:13px;
  line-height:1.35;
}

.bp-distributor-dash-stat-value {
  color:#111827;
  font-size:28px;
  font-weight:700;
  line-height:1.15;
}

.bp-distributor-dash-table-card {
  padding:0;
  overflow:hidden;
}

.bp-distributor-dash-table-card h2 {
  margin:0;
  padding:18px 22px;
  border-bottom:1px solid #e5e7eb;
}

.bp-distributor-dash-table-wrap {
  width:100%;
  overflow-x:auto;
}

.bp-distributor-dash-table-card table {
  width:100%;
  min-width:760px;
  border-collapse:collapse;
}

.bp-distributor-dash-table-card th,
.bp-distributor-dash-table-card td {
  padding:14px 22px;
  border-bottom:1px solid #f0f2f5;
  color:#374151;
  font-size:13px;
  line-height:1.35;
  text-align:left;
  vertical-align:middle;
}

.bp-distributor-dash-table-card th {
  color:#6b7280;
  font-size:12px;
  font-weight:600;
  text-transform:none;
}

.bp-distributor-dash-table-card tbody tr:last-child td {
  border-bottom:0;
}

.bp-distributor-dash-badge {
  display:inline-flex;
  min-height:22px;
  align-items:center;
  padding:0 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  line-height:22px;
}

.bp-distributor-dash-badge--green {
  background:#dcfce7;
  color:#16a34a;
}

.bp-distributor-dash-badge--blue {
  background:#dbeafe;
  color:#2563eb;
}

.bp-distributor-dash-badge--yellow {
  background:#fef3c7;
  color:#d97706;
}

body.distributor-account-dashboard .page.messages,
body.distributor-account-products .page.messages,
body.distributor-account-orders .page.messages,
body.distributor-account-orderslog .page.messages,
body.distributor-account-commission .page.messages,
body.distributor-account-guide .page.messages,
body.distributor-account-settings .page.messages {
  position:relative;
  z-index:20;
  box-sizing:border-box;
  width:calc(100% - 180px) !important;
  max-width:none !important;
  margin:0 0 0 180px !important;
  padding:0 !important;
}

body.distributor-account-dashboard .page.messages .messages,
body.distributor-account-products .page.messages .messages,
body.distributor-account-orders .page.messages .messages,
body.distributor-account-orderslog .page.messages .messages,
body.distributor-account-commission .page.messages .messages,
body.distributor-account-guide .page.messages .messages,
body.distributor-account-settings .page.messages .messages {
  margin:0 !important;
}

body.distributor-account-dashboard .page.messages .message,
body.distributor-account-products .page.messages .message,
body.distributor-account-orders .page.messages .message,
body.distributor-account-orderslog .page.messages .message,
body.distributor-account-commission .page.messages .message,
body.distributor-account-guide .page.messages .message,
body.distributor-account-settings .page.messages .message {
  margin:0 !important;
  padding-left:30px !important;
  padding-right:30px !important;
  border-radius:0 !important;
}

@media(max-width:900px) {
  .bp-distributor-login-layout,
  .bp-distributor-register-layout {
    grid-template-columns:1fr;
    gap:24px;
  }

  .bp-distributor-login-page {
    padding:48px 0;
  }

  .bp-distributor-login-visual,
  .bp-distributor-register-visual {
    min-height:320px;
  }

  .bp-distributor-dash-sidebar {
    position:relative;
    width:100%;
    min-height:auto;
  }

  .bp-distributor-dash-nav,
  .bp-distributor-dash-nav-bottom {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .bp-distributor-dash-main {
    margin-left:0;
  }

  body.distributor-account-dashboard .page.messages,
  body.distributor-account-products .page.messages,
  body.distributor-account-orders .page.messages,
  body.distributor-account-orderslog .page.messages,
  body.distributor-account-commission .page.messages,
  body.distributor-account-guide .page.messages,
  body.distributor-account-settings .page.messages {
    width:100% !important;
    margin-left:0 !important;
  }

  .bp-distributor-dash-stats {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .bp-distributor-dash-program-grid,
  .bp-distributor-dash-baselinker {
    grid-template-columns:1fr;
  }

  .bp-distributor-dash-baselinker {
    align-items:flex-start;
    flex-direction:column;
  }

  .bp-distributor-register-page {
    padding:40px 0 64px;
  }
}

@media(max-width:640px) {
  .bp-distributor-container {
    padding:0 16px;
  }

  .bp-distributor-login-form-wrap,
  .bp-distributor-register-card {
    padding:24px;
  }

  .bp-distributor-form-row,
  .bp-distributor-login-layout,
  .bp-distributor-register-layout {
    grid-template-columns:1fr;
  }

  .bp-distributor-stats,
  .bp-distributor-btn-row {
    flex-direction:column;
  }

  .bp-distributor-dash-topbar,
  .bp-distributor-dash-alert {
    align-items:flex-start;
    flex-direction:column;
  }

  .bp-distributor-dash-content {
    padding:20px 16px;
  }

  .bp-distributor-dash-stats {
    grid-template-columns:1fr;
  }

  .bp-distributor-step__label {
    display:none;
  }
}

/* VendorsMessage sidebar — strip card chrome, match account nav style */
.vnecoms-message-container .box {
  border: none;
  background: transparent;
  margin-bottom: 0;
  box-shadow: none;
}
.vnecoms-message-container .box-header {
  padding: 0 0 8px 0;
  border-bottom: none;
}
.vnecoms-message-container .box-body {
  padding: 0;
}
.vnecoms-message-container .box-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}
.vnecoms-message-container .nav li a {
  padding: 6px 0;
  font-size: 14px;
  color: #333;
}

/* Homepage video banner */
.bp-modern-home .bp-modern-hero {
  position: relative;
  height: calc(100svh - var(--bp-home-hero-offset, 112px));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  background: #07111f;
}

.bp-modern-home .bp-modern-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity .45s ease;
}

.bp-modern-home .bp-modern-hero.has-video-error .bp-modern-hero-video {
  opacity: 0;
}

.bp-modern-home .bp-modern-hero.is-video-ready .bp-modern-hero-video {
  opacity: 1;
}

.bp-modern-home .bp-modern-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(2, 8, 23, .82) 0%, rgba(2, 8, 23, .5) 42%, rgba(2, 8, 23, .2) 72%, rgba(2, 8, 23, .42) 100%);
}

#bpVideoHero .bp-modern-hero-content {
  position: absolute;
  top: 50%;
  left: max(28px, calc((100% - 1200px) / 2));
  z-index: 2;
  width: min(520px, calc(100% - 56px));
  max-width: 520px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  color: #fff;
  text-align: left;
}

.bp-modern-home .bp-modern-hero .bp-modern-kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bp-modern-home .bp-modern-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(44px, 4.4vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: left;
}

.bp-modern-home .bp-modern-hero h1 span {
  color: #fff;
}

.bp-modern-home .bp-modern-hero p {
  max-width: 510px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
}

.bp-modern-home .bp-modern-hero .bp-modern-actions {
  justify-content: flex-start;
}

.bp-modern-home .bp-modern-hero .bp-modern-primary {
  min-height: 50px;
  gap: 10px;
  padding: 0 30px;
  border-radius: 6px;
  background: #2563eb;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.bp-modern-home .bp-modern-hero .bp-modern-primary:hover,
.bp-modern-home .bp-modern-hero .bp-modern-primary:focus {
  background: #1d4ed8;
}

.bp-modern-home .bp-modern-hero .bp-modern-primary span {
  font-size: 18px;
  line-height: 1;
}

.bp-modern-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 72% 46%, rgba(37, 99, 235, .18), transparent 32%);
}

.bp-marketplace-scene {
  position: absolute;
  top: 50%;
  right: max(30px, calc((100vw - 1260px) / 2));
  z-index: 2;
  width: 520px;
  height: 410px;
  pointer-events: none;
  transform: translateY(-50%);
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .3));
}

.bp-marketplace-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bp-marketplace-links path {
  fill: none;
  stroke: #60a5fa;
  stroke-width: 1.5;
  stroke-dasharray: 6 9;
  opacity: .75;
  animation: bpTradeFlow 3s linear infinite;
}

.bp-trade-node {
  position: absolute;
  width: 150px;
  box-sizing: border-box;
  padding: 13px 14px 12px 45px;
  border: 1px solid rgba(147, 197, 253, .32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 24, 50, .83), rgba(15, 46, 82, .56));
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
  animation: bpNodeFloat 5s ease-in-out infinite;
}

.bp-node-icon {
  position: absolute;
  top: 13px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: rgba(37, 99, 235, .35);
}

.bp-trade-node svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #bfdbfe;
  stroke-width: 1.7;
}

.bp-trade-node b {
  display: block;
  font-size: 12px;
  line-height: 1.2;
}

.bp-trade-node small {
  display: block;
  margin-top: 5px;
  color: #93c5fd;
  font-size: 7px;
  letter-spacing: 1px;
}

.bp-supplier-node {
  top: 48px;
  left: 28px;
}

.bp-buyer-node {
  top: 48px;
  right: 28px;
  animation-delay: -1.6s;
}

.bp-logistics-node {
  bottom: 4px;
  left: 185px;
  animation-delay: -2.8s;
}

.bp-marketplace-core {
  position: absolute;
  top: 135px;
  left: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  box-sizing: border-box;
  border: 1px solid rgba(147, 197, 253, .5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .48), rgba(4, 17, 39, .9) 68%);
  color: #fff;
  text-align: center;
  box-shadow: 0 0 70px rgba(37, 99, 235, .45), inset 0 0 30px rgba(96, 165, 250, .2);
}

.bp-core-rings,
.bp-core-rings i {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(96, 165, 250, .25);
  border-radius: 50%;
  animation: bpCoreSpin 12s linear infinite;
}

.bp-core-rings i:nth-child(1) {
  inset: -24px;
  border-style: dashed;
  animation: bpCoreSpin 18s linear infinite reverse;
}

.bp-core-rings i:nth-child(2) {
  inset: 12px;
}

.bp-core-rings i:nth-child(3) {
  inset: 28px;
  border-color: rgba(147, 197, 253, .15);
}

.bp-core-icon {
  width: 25px;
  height: 25px;
  margin-bottom: 6px;
}

.bp-core-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #bfdbfe;
  stroke-width: 1.3;
}

.bp-marketplace-core strong {
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 1px;
}

.bp-marketplace-core em {
  margin-top: 6px;
  color: #93c5fd;
  font-size: 6px;
  font-style: normal;
  letter-spacing: 1.3px;
}

.bp-product-chip {
  position: absolute;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(8, 25, 51, .58);
  color: rgba(255, 255, 255, .8);
  font-size: 8px;
  letter-spacing: .5px;
  backdrop-filter: blur(8px);
  animation: bpChipDrift 6s ease-in-out infinite;
}

.bp-chip-one {
  top: 225px;
  left: 2px;
}

.bp-chip-two {
  top: 220px;
  right: 0;
  animation-delay: -2s;
}

.bp-chip-three {
  right: 60px;
  bottom: 42px;
  animation-delay: -4s;
}

.bp-video-control {
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(7, 18, 39, .5);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .2s, transform .2s;
}

.bp-video-control:hover {
  background: rgba(37, 99, 235, .78);
  transform: scale(1.06);
}

.bp-video-control:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

.bp-video-control svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.bp-video-play-icon {
  display: none;
}

.bp-video-control.is-paused .bp-video-pause-icon {
  display: none;
}

.bp-video-control.is-paused .bp-video-play-icon {
  display: block;
}

.bp-hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .58);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.bp-hero-scroll i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, #93c5fd, transparent);
  animation: bpScrollLine 1.8s ease-in-out infinite;
}

@keyframes bpTradeFlow {
  to {
    stroke-dashoffset: -30;
  }
}

@keyframes bpNodeFloat {
  50% {
    border-color: rgba(147, 197, 253, .62);
    transform: translateY(-7px);
  }
}

@keyframes bpChipDrift {
  50% {
    opacity: .65;
    transform: translateY(-9px);
  }
}

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

@keyframes bpScrollLine {
  0%,
  100% {
    opacity: .35;
    transform: scaleY(.3);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 1050px) {
  .bp-marketplace-scene {
    right: 20px;
    transform: translateY(-50%) scale(.82);
    transform-origin: right center;
  }

  #bpVideoHero .bp-modern-hero-content {
    width: 48vw;
    margin-left: 30px;
  }
}

@media (max-width: 820px) {
  .bp-modern-home .bp-modern-hero {
    justify-content: center;
  }

  .bp-modern-home .bp-modern-hero-shade {
    background: rgba(2, 8, 23, .64);
  }

  #bpVideoHero .bp-modern-hero-content {
    left: 50%;
    width: calc(100% - 48px);
    max-width: 620px;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .bp-modern-home .bp-modern-hero h1,
  .bp-modern-home .bp-modern-hero p {
    max-width: none;
    text-align: center;
  }

  .bp-modern-home .bp-modern-hero .bp-modern-actions {
    justify-content: center;
  }

  .bp-marketplace-scene {
    display: none;
  }
}

@media (max-width: 520px) {
  #bpVideoHero .bp-modern-hero-content {
    width: calc(100% - 32px);
  }

  .bp-modern-home .bp-modern-hero h1 {
    margin-bottom: 18px;
    font-size: 38px;
  }

  .bp-modern-home .bp-modern-hero p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-marketplace-links path,
  .bp-trade-node,
  .bp-core-rings,
  .bp-core-rings i,
  .bp-product-chip,
  .bp-hero-scroll i {
    animation: none;
  }
}

/* ===================================================================
   Product Reviews - Core review list on PDP (beautified)
   =================================================================== */

/* The section already renders an <h2> heading, so hide the list's
   redundant inner block title. */
.catalog-product-view .block.review-list .block-title {
  display: none;
}

.catalog-product-view .block.review-list {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
}

.catalog-product-view .block.review-list .block-content {
  padding: 0;
}

/* Reset the ordered list so items render as cards. */
.catalog-product-view .review-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-product-view .review-item {
  margin: 0;
  padding: 18px 20px 16px;
  border: 1px solid #e8eaee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-product-view .review-item:hover {
  border-color: #d7dce3;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
}

/* Title */
.catalog-product-view .review-item .review-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2937;
}

/* Body text */
.catalog-product-view .review-item .review-content-container {
  margin: 0;
}

.catalog-product-view .review-item .review-content {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  word-break: break-word;
}

/* Star ratings inside a review item */
.catalog-product-view .review-item .review-ratings {
  margin: 0 0 10px;
  display: flex;
  gap: 12px;
}

.catalog-product-view .review-item .rating-summary {
  line-height: 1;
}

.catalog-product-view .review-item .rating-summary .rating-result > span,
.catalog-product-view .product-reviews-summary .rating-result > span {
  color: #f59e0b;
}

/* Author / date footer */
.catalog-product-view .review-item .review-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #f1f3f5;
  font-size: 12px;
  color: #9ca3af;
}

.catalog-product-view .review-item .review-author,
.catalog-product-view .review-item .review-date {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.catalog-product-view .review-item .review-details-label {
  color: #b6bcc4;
}

.catalog-product-view .review-item .review-details-value {
  color: #6b7280;
  font-weight: 600;
}

/* Avatar circle with a generic user icon before the author name. */
.catalog-product-view .review-item .review-author .review-details-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #374151;
}

.catalog-product-view .review-item .review-author .review-details-value::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #eef2f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
  flex-shrink: 0;
}

/* Review toolbar (pagination / limiter) */
.catalog-product-view .review-toolbar {
  margin: 16px 0 0;
  border: none;
  padding: 0;
}

.catalog-product-view .review-toolbar .pager {
  margin: 0;
}

/* Review form polish */
.catalog-product-view .review-form {
  max-width: 640px;
  margin-top: 20px;
}

.catalog-product-view .review-form .review-fieldset {
  margin-bottom: 8px;
}

.catalog-product-view .review-form .actions-toolbar {
  margin-top: 16px;
}

/* The details section already renders an <h2> for each tab, so hide the
   FAQ block's own duplicate heading to avoid "常见问题" showing twice. */
.catalog-product-view .bayport-pdp-details .bp-pdp-faq-list > h3 {
  display: none;
}

/* ===================================================================
   Sticky Product Bar - on scroll past product image
   =================================================================== */
.bp-sticky-bar {
  display: none;
  position: fixed;
  top: 162px; /* sit just below the sticky header (112px) + tab nav (50px) */
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.bp-sticky-bar--visible {
  display: block;
  transform: translateY(0);
}

.bp-sticky-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bp-sticky-bar__thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}

.bp-sticky-bar__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-sticky-bar__info {
  flex: 1;
  min-width: 0;
}

.bp-sticky-bar__name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 2px;
}

.bp-sticky-bar__price {
  font-size: 18px;
  font-weight: 700;
  color: #dc2626;
  line-height: 1;
}

.bp-sticky-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bp-sticky-bar__qty {
  width: 48px;
  height: 36px;
  text-align: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.bp-sticky-bar__add {
  height: 36px;
  padding: 0 24px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.bp-sticky-bar__add:hover {
  background: #b91c1c;
}

/* Keep the qty label on one line inside the sticky bar. */
.bp-sticky-bar__qty-label {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
  color: #4b5563;
  margin: 0;
}

/* Responsive sticky bar */
@media (max-width: 768px) {
  .bp-sticky-bar__name {
    display: none;
  }
  .bp-sticky-bar__inner {
    padding: 0 12px;
    gap: 8px;
  }
  .bp-sticky-bar__price {
    font-size: 15px;
    /* Never wrap/overlap: the info column may shrink to 0 when the actions
       row takes too much space, so keep the price on one line. */
    white-space: nowrap;
  }
  /* Luma forces .input-text{width:100%} on mobile, which blows the qty input
     up to ~168px, pushes the actions row past the viewport and squeezes the
     price into the qty label. Pin the qty input back to its intended size. */
  .bp-sticky-bar__qty {
    width: 48px !important;
    min-width: 0;
    flex-shrink: 0;
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* Mobile: no sticky tab nav, and the mobile header is taller (168px),
   so pin the sticky bar directly beneath the header. */
@media (max-width: 900px) {
  .bp-sticky-bar {
    top: 168px;
  }
}

/* Review list loading placeholder (shown while review/product/listAjax is in flight) */
.bp-review-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 16px;
  color: #6b7280;
  font-size: 14px;
}

.bp-review-loading__spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #e5e7eb;
  border-top-color: #1f6fff;
  border-radius: 50%;
  animation: bp-review-loading-spin 0.8s linear infinite;
}

.bp-review-loading--error {
  color: #dc2626;
}

@keyframes bp-review-loading-spin {
  to {
    transform: rotate(360deg);
  }
}
