/* ============================================
   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;
  white-space:nowrap;
}
.bp-header-top__actions a {
  color:#ccc !important;
  font-size:12px;
  font-weight:500;
  text-decoration:none;
  transition:color .2s;
}
.bp-header-top__actions a:hover {
  color:#fff !important;
}
.bp-header-currency {
  display:flex;
  align-items:center;
  margin:0;
}
.bp-header-currency span {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}
.bp-header-currency 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-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 {
  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;
  }
  .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;
  }
  .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 {
    justify-content:flex-end;
  }
  .bp-header-top .bp-header-container > span {
    display:none;
  }
  .bp-header-top__actions {
    gap:10px;
  }
  .bp-header-main {
    padding-left:16px;
    padding-right:16px;
    gap:14px;
  }
  .bp-header-logo img {
    height:48px !important;
    max-height:48px !important;
  }
  .bp-header-search {
    width:160px;
    min-width:160px;
  }
  .bp-header-icon {
    width:32px;
    height:32px;
  }
  .bp-header-mega {
    display:none;
  }
}

/* ---- 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:var(--bp-teal); font-size:26px; font-weight:700; }
.checkout-success { background:#fff; border-radius:8px; padding:30px; box-shadow:0 2px 8px rgba(0,0,0,.06); max-width:600px; margin:20px auto; text-align:center; }
.checkout-success .order-number strong { color:var(--bp-teal); font-size:18px; }
.checkout-success .actions-toolbar .action { background:var(--bp-teal); color:#fff; border:none; border-radius:6px; padding:12px 28px; font-size:14px; font-weight:600; cursor:pointer; display:inline-block; margin-top:16px; }
.checkout-success .actions-toolbar .action:hover { background:var(--bp-teal2); }

/* ============ 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 */
.bp-source-badge-detail {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.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 */
.catalog-product-view .page-main {
  padding-top:24px !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;
}

.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;
}

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

.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;
}

.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-reviews-summary {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 16px;
  color:#666;
  font-size:13px;
}

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

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

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

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

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

.catalog-product-view .swatch-attribute-label,
.catalog-product-view .field.qty .label {
  display:block;
  margin:0 0 8px;
  color:#444;
  font-size:13px;
  font-weight:600;
}

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

.catalog-product-view .swatch-option.text {
  min-width:38px;
  height:32px;
  padding:0 10px;
  border:1px solid #ddd;
  border-radius:5px;
  background:#f8f8f8;
  color:#666;
  font-size:12px;
  line-height:30px;
}

.catalog-product-view .swatch-option.color {
  width:28px;
  height:28px;
  min-width:28px;
  border:2px solid #eee;
  border-radius:50%;
}

.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:18px 0 0;
}

.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 20px;
}

.catalog-product-view .box-tocart .input-text.qty {
  width:58px !important;
  height:36px !important;
  text-align:center;
}

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

.catalog-product-view .box-tocart .action.tocart {
  width:100%;
  min-height:48px;
  margin:0 0 12px;
  font-size:15px !important;
}

.catalog-product-view .product-social-links {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin:18px 0 0;
}

.catalog-product-view .product-social-links a {
  color:#666 !important;
  font-size:12px;
  font-weight:600;
}

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

.catalog-product-view .product.data.items {
  border-bottom:1px solid #eee;
}

.catalog-product-view .product.data.items > .item.title > .switch {
  padding:14px 24px;
  border:0 !important;
  border-bottom:2px solid transparent !important;
  background:transparent !important;
  color:#666 !important;
  font-size:13px;
  font-weight:500;
}

.catalog-product-view .product.data.items > .item.title.active > .switch,
.catalog-product-view .product.data.items > .item.title > .switch:hover {
  border-bottom-color:var(--wph-blue) !important;
  color:var(--wph-blue) !important;
}

.catalog-product-view .product.data.items > .item.content {
  padding:32px 0 48px;
  border:0;
  color:#555;
  font-size:13px;
  line-height:1.7;
}

.bp-enquiry-product-section {
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--wph-line);
}

.bp-enquiry-toggle-btn,
.bp-enquiry-submit {
  border:2px solid var(--wph-blue) !important;
  border-radius:6px !important;
  background:#fff !important;
  color:var(--wph-blue) !important;
  font-size:14px !important;
  font-weight:600 !important;
}

.bp-enquiry-toggle-btn:hover,
.bp-enquiry-submit:hover {
  background:var(--wph-hover) !important;
}

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

.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 td {
  padding:16px;
  border-bottom:1px solid #f0f0f0;
  vertical-align:middle;
}

.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 .cart-price .price {
  color:var(--wph-blue) !important;
  font-size:15px;
  font-weight:600;
}

.checkout-cart-index .input-text.qty {
  width:52px !important;
  height:32px !important;
  text-align:center;
}

.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 18px;
  color:#111;
  font-size:16px;
  font-weight:700;
}

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

.checkout-cart-index .cart-totals {
  width:100%;
  table-layout:auto;
}

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

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

.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-top:14px;
  border-top:1px solid #eee;
  color:#111;
  font-size:16px;
  font-weight:700;
}

.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 .cart.main.actions {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:8px;
  margin-top:20px;
}

.checkout-cart-index .cart.main.actions .action {
  margin:0;
}

.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 .item-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 .item-actions .action:hover {
  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:48px !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;
  text-align:center;
}

.checkout-onepage-success .page-title-wrapper .page-title {
  color:#111;
  font-size:28px;
  text-align:center;
}

.checkout-onepage-success .page-title-wrapper .print {
  position:absolute;
  top:8px;
  right:0;
  color:var(--wph-blue) !important;
  font-size:14px;
  font-weight:500;
}

.checkout-onepage-success .checkout-success {
  max-width:620px;
  margin:24px auto 0;
  padding:40px;
  border:1px solid #eee;
  border-radius:12px;
  background:#fff;
  box-shadow:none;
}

.checkout-onepage-success .checkout-success p {
  color:#666;
  font-size:13px;
  line-height:1.65;
}

.checkout-onepage-success .checkout-success .order-number strong {
  color:var(--wph-blue);
}

/* 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,
.marketplace-seller-login .login-container .block-customer-login,
.vendors-account-login .login-container .block-customer-login {
  grid-column:2;
  grid-row:1;
}

.customer-account-login .login-container .block-new-customer,
.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('/media/bayporthub/goods/X12-PYO_1772011098_699ebe5ad4a81.webp') 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;
}

.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;
}

.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;
}

.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;
}

/* 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;
  }

  .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;
  }

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

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

  .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) {
  .page-products .products-grid .product-items,
  .vendor-page .products-grid .product-items {
    grid-template-columns: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%;
  }
}
