/*
 * B2B Trade Ordering — Aston Building Supplies frontend skin v2.2
 * Matches the site's black / yellow / white visual system while inheriting
 * the active theme / Elementor font family so typography stays consistent.
 */
:root{
  --b2b-yellow:#fdd406;
  --b2b-yellow-dark:#e5bd00;
  --b2b-black:#0d0d0d;
  --b2b-text:#111111;
  --b2b-muted:#626262;
  --b2b-line:#dedede;
  --b2b-soft:#f1f1f1;
  --b2b-white:#ffffff;
}

.b2b-shell,
.b2b-shell *,
.b2b-price-note,
.b2b-price-label{
  box-sizing:border-box;
  font-family:inherit!important;
}

.b2b-shell{
  width:100%;
  max-width:1640px;
  margin:54px auto 70px;
  padding:0 24px;
  color:var(--b2b-text);
  font-size:16px;
  line-height:1.55;
}
.b2b-narrow{max-width:820px}

.b2b-shell h1,.b2b-shell h2,.b2b-shell h3,.b2b-shell h4,
.b2b-shell p,.b2b-shell dl,.b2b-shell dd,.b2b-shell dt{font-family:inherit!important}
.b2b-shell h2{font-size:clamp(38px,4.1vw,58px);line-height:.98;letter-spacing:-.045em;font-weight:800;margin:7px 0 16px;color:var(--b2b-black)}
.b2b-shell h3{font-size:clamp(24px,2.2vw,34px);line-height:1.02;letter-spacing:-.035em;font-weight:800;color:var(--b2b-black)}
.b2b-shell h4{font-size:22px;line-height:1.08;letter-spacing:-.025em;font-weight:800;color:var(--b2b-black)}
.b2b-shell p{font-size:15px;line-height:1.58}
.b2b-shell a{color:var(--b2b-black)}

.b2b-card{
  background:var(--b2b-white);
  border:1px solid var(--b2b-line);
  border-radius:0;
  padding:30px;
  box-shadow:none;
}

.b2b-section-heading p,.b2b-catalogue-head p,.b2b-dashboard-hero p{color:var(--b2b-muted);margin:0;max-width:760px}
.b2b-eyebrow{
  display:inline-block;
  margin:0 0 7px;
  padding:5px 9px 4px;
  background:var(--b2b-black);
  color:var(--b2b-white);
  font-size:10px;
  line-height:1.1;
  letter-spacing:.11em;
  font-weight:800;
  text-transform:uppercase;
}

.b2b-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 17px;
  border:1px solid var(--b2b-black);
  border-radius:0;
  background:var(--b2b-white);
  color:var(--b2b-black)!important;
  text-decoration:none!important;
  font-family:inherit!important;
  font-size:13px;
  font-weight:700;
  line-height:1.1;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
  box-shadow:none!important;
  text-transform:none;
}
.b2b-btn:hover{background:var(--b2b-black);color:var(--b2b-white)!important;border-color:var(--b2b-black);transform:none;box-shadow:none!important}
.b2b-btn-primary{background:var(--b2b-yellow);border-color:var(--b2b-yellow);color:var(--b2b-black)!important}
.b2b-btn-primary:hover{background:var(--b2b-black);border-color:var(--b2b-black);color:var(--b2b-white)!important}
.b2b-btn-dark{background:var(--b2b-black);border-color:var(--b2b-black);color:var(--b2b-white)!important}
.b2b-btn-dark:hover{background:var(--b2b-yellow);border-color:var(--b2b-yellow);color:var(--b2b-black)!important}
.b2b-btn-primary:not(button)::after,.b2b-btn-dark:not(button)::after{content:'→';font-size:18px;line-height:1;margin-left:13px;font-weight:400}
.b2b-btn-block{width:100%}
.b2b-btn-large{min-height:52px;padding:14px 22px;font-size:14px}
.b2b-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

.b2b-alert{padding:15px 18px;margin:0 0 22px;border:1px solid var(--b2b-line);border-left:5px solid var(--b2b-black);border-radius:0;background:#fafafa;color:var(--b2b-text)}
.b2b-alert-success{background:#fffbea;border-color:#e7d36a;border-left-color:var(--b2b-yellow)}
.b2b-alert-error{background:#fff4f4;border-color:#e4b8b8;border-left-color:#bb2626}

.b2b-form{margin-top:26px}
.b2b-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.b2b-span-2{grid-column:1/-1}
.b2b-field{margin:0 0 18px}
.b2b-field label{display:block;font-size:13px;font-weight:700;margin:0 0 7px;color:var(--b2b-black)}
.b2b-field input,.b2b-field textarea,.b2b-field select,.b2b-search input,.b2b-search select{
  width:100%;min-height:49px;border:1px solid #c9c9c9;border-radius:0;padding:10px 13px;background:#fff;color:#111;outline:none;font-family:inherit!important;font-size:14px;box-shadow:none!important
}
.b2b-field textarea{min-height:125px;resize:vertical}
.b2b-field input:focus,.b2b-field textarea:focus,.b2b-field select:focus,.b2b-search input:focus,.b2b-search select:focus{border-color:var(--b2b-black);box-shadow:inset 0 -3px 0 var(--b2b-yellow)!important}
.b2b-field small,.b2b-help{display:block;color:var(--b2b-muted);font-size:13px;margin-top:6px}
.b2b-login-options{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:12px 0 20px;font-size:13px}
.b2b-login-card{border-top:8px solid var(--b2b-yellow);padding:38px}

/* Dashboard */
.b2b-dashboard-hero,.b2b-catalogue-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}
.b2b-dashboard-hero{
  position:relative;
  overflow:hidden;
  padding:42px 40px;
  border:0;
  border-radius:0;
  background:var(--b2b-black);
  color:#fff;
}
.b2b-dashboard-hero::before{content:'';position:absolute;left:0;top:0;width:9px;height:100%;background:var(--b2b-yellow)}
.b2b-dashboard-hero h2{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;margin-top:8px;max-width:800px}
.b2b-dashboard-hero .b2b-eyebrow{background:var(--b2b-yellow);color:var(--b2b-black)}
.b2b-dashboard-hero p{color:#d0d0d0!important;-webkit-text-fill-color:#d0d0d0!important;font-size:15px}

.b2b-dashboard-nav{
  display:flex;
  gap:0;
  overflow:auto;
  margin:0 0 26px;
  padding:0;
  background:var(--b2b-yellow);
  border:1px solid var(--b2b-yellow);
  border-radius:0;
}
.b2b-dashboard-nav a{white-space:nowrap;padding:14px 18px;border-right:1px solid rgba(0,0,0,.18);border-radius:0;text-decoration:none!important;color:var(--b2b-black)!important;font-size:13px;font-weight:700;transition:.15s}
.b2b-dashboard-nav a:hover,.b2b-dashboard-nav a.is-active{background:var(--b2b-black);color:var(--b2b-white)!important}
.b2b-dashboard-nav a span{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;margin-left:6px;border-radius:0;background:#fff;font-size:11px;color:#111}
.b2b-dashboard-nav a.is-active span{background:var(--b2b-yellow);color:var(--b2b-black)}

.b2b-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:26px 0;border-top:1px solid var(--b2b-line);border-left:1px solid var(--b2b-line)}
.b2b-stat{position:relative;padding:25px 24px 23px;border-right:1px solid var(--b2b-line);border-bottom:1px solid var(--b2b-line);border-radius:0;background:#fff}
.b2b-stat::before{content:'';position:absolute;left:0;top:0;width:58px;height:5px;background:var(--b2b-yellow)}
.b2b-stat span{display:block;color:var(--b2b-muted);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.b2b-stat strong{display:block;font-size:42px;line-height:1;font-weight:800;letter-spacing:-.05em;margin:15px 0 10px;color:var(--b2b-black)}
.b2b-stat a,.b2b-stat small{color:var(--b2b-muted);font-size:12px}
.b2b-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.75fr);gap:20px}
.b2b-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}
.b2b-card-head h3{margin:5px 0 0}
.b2b-card-head p{color:var(--b2b-muted);margin:5px 0 0}
.b2b-card-head>a:not(.b2b-btn){font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:4px}

.b2b-table-wrap{overflow:auto;border-top:1px solid var(--b2b-line)}
.b2b-table{width:100%;border-collapse:collapse;background:#fff}
.b2b-table th,.b2b-table td{padding:15px 12px;text-align:left;border-bottom:1px solid var(--b2b-line);vertical-align:middle;font-size:13px}
.b2b-table th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#666;background:#f7f7f7;font-weight:800}
.b2b-status{display:inline-flex;align-items:center;border-radius:0;padding:6px 9px;font-size:10px;font-weight:800;white-space:nowrap;background:#ededed;text-transform:uppercase;letter-spacing:.035em}
.b2b-status-quote-review{background:var(--b2b-yellow);color:#111}
.b2b-status-quote-approved{background:#dff1e3;color:#165f28}
.b2b-status-quote-rejected{background:#f9dddd;color:#8d2525}
.b2b-empty{text-align:center;padding:44px 18px;background:#fafafa}
.b2b-empty h4{margin:0 0 8px}
.b2b-empty p{color:var(--b2b-muted);max-width:550px;margin:0 auto 20px}
.b2b-account-summary{background:#f3f3f3;border-color:#e3e3e3}
.b2b-account-summary dl{margin:0}
.b2b-account-summary dl div{padding:13px 0;border-bottom:1px solid #d8d8d8}
.b2b-account-summary dt{font-size:10px;color:#6b6b6b;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.b2b-account-summary dd{margin:4px 0 0;font-weight:700;font-size:14px}

.b2b-how-it-works{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:22px;border:1px solid var(--b2b-line)}
.b2b-how-it-works>div{position:relative;border-right:1px solid var(--b2b-line);border-radius:0;padding:25px 22px;background:#fff;min-height:190px}
.b2b-how-it-works>div:last-child{border-right:0}
.b2b-how-it-works span{display:inline-flex;width:auto;height:auto;align-items:center;justify-content:center;border-radius:0;background:var(--b2b-black);color:#fff;font-size:10px;font-weight:800;padding:5px 9px;margin-bottom:20px}
.b2b-how-it-works strong{display:block;font-size:16px;line-height:1.15}
.b2b-how-it-works p{color:var(--b2b-muted);font-size:13px;margin:8px 0 0}

.b2b-order-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:20px 0;background:var(--b2b-line);border:1px solid var(--b2b-line)}
.b2b-order-meta-grid>div{padding:18px;border-radius:0;background:#fff}
.b2b-order-meta-grid span{display:block;color:var(--b2b-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.b2b-order-meta-grid strong{display:block;margin-top:6px;font-size:18px}
.b2b-note{margin-top:20px;padding:18px;border-left:6px solid var(--b2b-yellow);background:#f5f5f5}
.b2b-note p{margin:7px 0 0}
.b2b-back{display:inline-block;margin-bottom:8px;font-size:13px;font-weight:700}

/* Catalogue */
.b2b-catalogue-head{padding-bottom:26px;border-bottom:5px solid var(--b2b-yellow)}
.b2b-search{display:flex;gap:0;align-items:stretch;margin:0 0 28px;border:1px solid var(--b2b-black);background:#fff}
.b2b-search input{max-width:none;border:0;min-height:50px}
.b2b-search .b2b-btn{border:0;border-left:1px solid var(--b2b-black);min-width:110px}
.b2b-search>a{display:flex;align-items:center;padding:0 14px;font-size:12px;font-weight:700}
.b2b-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--b2b-line);border-left:1px solid var(--b2b-line)}
.b2b-product-card{overflow:hidden;border:0;border-right:1px solid var(--b2b-line);border-bottom:1px solid var(--b2b-line);border-radius:0;background:#fff;display:flex;flex-direction:column}
.b2b-product-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#f5f5f5;overflow:hidden;border-bottom:1px solid var(--b2b-line)}
.b2b-product-image img{width:100%!important;height:100%!important;object-fit:contain;padding:16px;transition:transform .2s ease}
.b2b-product-image:hover img{transform:scale(1.025)}
.b2b-product-body{padding:18px;display:flex;flex-direction:column;flex:1}
.b2b-product-meta{font-size:9px;color:#777;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.b2b-product-body h3{font-size:19px;line-height:1.1;letter-spacing:-.025em;margin:8px 0 11px}
.b2b-product-body h3 a{text-decoration:none!important;color:#111!important}
.b2b-price-label,.b2b-price-note{
  display:inline-flex!important;
  align-items:center;
  width:auto!important;
  max-width:100%;
  background:var(--b2b-yellow)!important;
  color:var(--b2b-black)!important;
  padding:7px 10px!important;
  margin:3px 0 14px!important;
  border:0!important;
  border-radius:0!important;
  font-family:inherit!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:800!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}
.b2b-product-body .b2b-price-label{align-self:flex-start}
.b2b-quick-add{display:grid;grid-template-columns:74px 1fr;gap:8px;align-items:end;margin-top:auto;padding-top:7px}
.b2b-quick-add label{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.b2b-quick-add input{display:block;width:74px;height:46px;border:1px solid #bdbdbd;border-radius:0;padding:8px;margin-top:4px;font-family:inherit!important}
.b2b-out-stock{display:inline-block;padding:10px 12px;border-radius:0;background:#efefef;color:#666;font-size:12px;font-weight:700}
.b2b-pagination{display:flex;gap:0;justify-content:center;margin-top:30px}
.b2b-pagination a{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid var(--b2b-line);border-right:0;border-radius:0;text-decoration:none!important;color:#111!important;font-size:12px;font-weight:700}
.b2b-pagination a:last-child{border-right:1px solid var(--b2b-line)}
.b2b-pagination a.is-current{background:var(--b2b-yellow);border-color:var(--b2b-yellow);color:#111!important}


/* Dedicated Trade Basket */
.b2b-basket-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.55fr);gap:20px;align-items:start}
.b2b-basket-card{padding:28px}
.b2b-basket-list{border-top:1px solid var(--b2b-line)}
.b2b-basket-item{display:grid;grid-template-columns:110px minmax(0,1fr) 120px 70px;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--b2b-line)}
.b2b-basket-thumb{display:flex;align-items:center;justify-content:center;width:110px;height:110px;background:#f4f4f4;border:1px solid #ececec;overflow:hidden}
.b2b-basket-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;padding:8px}
.b2b-basket-product h4{margin:5px 0 7px!important;font-size:20px!important;line-height:1.05!important}
.b2b-basket-product h4 a{text-decoration:none!important;color:var(--b2b-black)!important}
.b2b-basket-variation{font-size:12px;color:var(--b2b-muted);margin-bottom:7px}
.b2b-basket-price-note{display:inline-block;background:var(--b2b-yellow);color:#111;padding:5px 8px;font-size:10px;font-weight:800;line-height:1.2;text-transform:uppercase;letter-spacing:.035em}
.b2b-basket-qty label{display:block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}
.b2b-basket-qty input{width:100%;height:44px;border:1px solid #bdbdbd;border-radius:0;padding:7px 10px;background:#fff;color:#111;font-family:inherit!important;font-size:14px}
.b2b-basket-qty small{display:block;margin-top:5px;color:#777;font-size:10px;line-height:1.2}
.b2b-basket-remove{text-align:right}.b2b-basket-remove a{font-size:12px;font-weight:700;text-decoration:underline!important;text-underline-offset:3px}
.b2b-basket-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:18px}
.b2b-basket-summary{position:sticky;top:20px;background:#f7f7f7;border-top:6px solid var(--b2b-yellow)}
.b2b-basket-summary h3{margin:8px 0 20px!important}
.b2b-basket-summary-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-top:1px solid #d8d8d8;font-size:12px}
.b2b-basket-summary-row span{color:#666}.b2b-basket-summary-row strong{text-align:right;color:#111}
.b2b-basket-summary p{margin:18px 0;color:#666;font-size:12px;line-height:1.55}
.b2b-basket-empty{text-align:center;padding:48px 30px}.b2b-basket-empty p{max-width:560px;margin:0 auto 20px;color:var(--b2b-muted)}

/* Submit order */
.b2b-request-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.65fr);gap:20px}
.b2b-request-items>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--b2b-line);font-size:13px}
.b2b-request-total{display:flex;justify-content:space-between;gap:12px;padding:20px 0;font-size:15px;border-bottom:4px solid var(--b2b-yellow)}
.b2b-customer-mini{padding:17px;border-radius:0;background:#f1f1f1;margin-top:18px}
.b2b-customer-mini span,.b2b-customer-mini small{display:block;color:var(--b2b-muted);font-size:12px}
.b2b-customer-mini strong{display:block;margin:4px 0;font-size:15px}
.b2b-confirm-box{padding:18px;border-radius:0;background:#fff8d1;border:1px solid #e8cc44;margin-bottom:20px}
.b2b-confirm-box p{margin:7px 0 0}
.b2b-link-arrow{text-decoration:none!important;font-weight:700}

/* WooCommerce / Aston product-page integration for approved trade users.
 * This specifically neutralises the theme's normal large price block so the
 * trade-price message does not become a huge black banner. */
body.b2b-trade-hide-prices .woocommerce div.product p.price,
body.b2b-trade-hide-prices .woocommerce div.product span.price,
body.b2b-trade-hide-prices .woocommerce ul.products li.product .price,
body.b2b-trade-hide-prices .elementor-widget-woocommerce-product-price .price{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:var(--b2b-black)!important;
  padding:0!important;
  margin:12px 0 18px!important;
  font-size:12px!important;
  line-height:1.25!important;
  min-height:0!important;
  width:auto!important;
  height:auto!important;
  text-decoration:none!important;
}
body.b2b-trade-hide-prices .woocommerce div.product p.price .b2b-price-note,
body.b2b-trade-hide-prices .woocommerce div.product span.price .b2b-price-note,
body.b2b-trade-hide-prices .woocommerce ul.products li.product .price .b2b-price-note,
body.b2b-trade-hide-prices .elementor-widget-woocommerce-product-price .price .b2b-price-note{
  display:inline-flex!important;
  background:var(--b2b-yellow)!important;
  color:var(--b2b-black)!important;
  padding:8px 11px!important;
  margin:0!important;
  font-family:inherit!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
}
body.b2b-trade-hide-prices .woocommerce-cart .product-price,
body.b2b-trade-hide-prices .woocommerce-cart .product-subtotal,
body.b2b-trade-hide-prices .woocommerce-cart .cart-subtotal td,
body.b2b-trade-hide-prices .woocommerce-cart .order-total td{font-family:inherit!important;font-size:13px!important;font-weight:700!important}

.woocommerce .b2b-alert{margin-bottom:20px}
body.b2b-trade-approved .woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  background:var(--b2b-yellow)!important;color:#111!important;border:1px solid var(--b2b-yellow)!important;border-radius:0!important;font-family:inherit!important;font-weight:800!important;box-shadow:none!important
}
body.b2b-trade-approved .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#111!important;border-color:#111!important;color:#fff!important}

@media(max-width:1100px){
  .b2b-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .b2b-dashboard-columns,.b2b-request-layout,.b2b-basket-layout{grid-template-columns:1fr}
  .b2b-basket-summary{position:static}
}
@media(max-width:900px){
  .b2b-stat-grid{grid-template-columns:repeat(2,1fr)}
  .b2b-how-it-works{grid-template-columns:repeat(2,1fr)}
  .b2b-how-it-works>div:nth-child(2){border-right:0}
  .b2b-how-it-works>div:nth-child(-n+2){border-bottom:1px solid var(--b2b-line)}
  .b2b-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .b2b-shell{margin:30px auto 46px;padding:0 14px;font-size:15px}
  .b2b-shell h2{font-size:38px}
  .b2b-card{padding:20px}
  .b2b-login-card{padding:24px;border-top-width:6px}
  .b2b-form-grid,.b2b-stat-grid,.b2b-how-it-works,.b2b-order-meta-grid,.b2b-product-grid{grid-template-columns:1fr}
  .b2b-span-2{grid-column:auto}
  .b2b-dashboard-hero,.b2b-catalogue-head,.b2b-card-head{flex-direction:column;align-items:flex-start}
  .b2b-dashboard-hero{padding:29px 22px}
  .b2b-dashboard-hero::before{width:6px}
  .b2b-dashboard-nav a{padding:12px 14px}
  .b2b-how-it-works>div{border-right:0;border-bottom:1px solid var(--b2b-line)!important;min-height:0}
  .b2b-how-it-works>div:last-child{border-bottom:0!important}
  .b2b-search{align-items:stretch;flex-direction:column;border:0;gap:8px;background:transparent}
  .b2b-search input{max-width:none;border:1px solid var(--b2b-black)}
  .b2b-search .b2b-btn{border:1px solid var(--b2b-yellow)}
  .b2b-search>a{padding:8px 0}
  .b2b-login-options{align-items:flex-start;flex-direction:column}
  .b2b-quick-add{grid-template-columns:1fr}
  .b2b-quick-add input{width:100%}
  .b2b-basket-item{grid-template-columns:78px minmax(0,1fr);gap:12px}
  .b2b-basket-thumb{width:78px;height:78px}
  .b2b-basket-qty{grid-column:2/3}
  .b2b-basket-remove{grid-column:2/3;text-align:left}
  .b2b-basket-actions{align-items:flex-start;flex-direction:column}
}

/* --------------------------------------------------------------------------
 * v2.3 — compact Aston typography, guest price lock, trade/bulk pricing
 * -------------------------------------------------------------------------- */
.b2b-shell h2{
  font-size:clamp(30px,2.8vw,42px)!important;
  line-height:1.02!important;
  letter-spacing:-.035em!important;
}
.b2b-shell h3{
  font-size:clamp(22px,1.8vw,28px)!important;
  line-height:1.08!important;
}
.b2b-login-card .b2b-section-heading h2,
.b2b-narrow .b2b-section-heading h2{font-size:clamp(30px,2.5vw,38px)!important}
.b2b-dashboard-hero h2{font-size:clamp(32px,3vw,44px)!important;line-height:1.02!important}
.b2b-catalogue-head h2{font-size:clamp(32px,3vw,42px)!important}

.b2b-price-locked-label{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:7px 11px!important;
  margin:4px 0!important;
  background:#0d0d0d!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.15!important;
  text-transform:uppercase!important;
  letter-spacing:.045em!important;
  border-left:4px solid var(--b2b-yellow)!important;
}
.b2b-guest-price-lock{display:flex!important;gap:10px!important;flex-wrap:wrap!important;align-items:stretch!important;margin:10px 0!important;max-width:100%!important}
.b2b-guest-price-lock a{
  display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  width:auto!important;max-width:100%!important;min-width:0!important;min-height:42px!important;padding:10px 14px!important;text-decoration:none!important;
  font-size:11px!important;font-weight:800!important;line-height:1.2!important;border-radius:0!important;
  box-shadow:none!important;text-transform:none!important;white-space:nowrap!important;overflow:visible!important;letter-spacing:0!important;
  box-sizing:border-box!important;flex:0 0 auto!important
}
.b2b-login-price{background:#111!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #111!important;min-width:190px!important}
.b2b-get-quote{background:var(--b2b-yellow)!important;color:#0d0d0d!important;-webkit-text-fill-color:#0d0d0d!important;border:1px solid var(--b2b-yellow)!important;min-width:135px!important}
.b2b-login-price::after,.b2b-get-quote::after{content:'→'!important;margin-left:0!important;flex:0 0 auto!important;font-size:14px!important;line-height:1!important;font-weight:500!important}
.b2b-loop-locked-actions{margin-top:8px!important}
.b2b-single-guest-cta{margin:16px 0 20px!important;padding:15px!important;background:#f6f6f6!important;border-left:5px solid var(--b2b-yellow)!important}
.b2b-single-guest-cta p{margin:0 0 8px!important;font-size:13px!important}

/* Belt-and-braces protection for theme/Elementor add-to-cart widgets. */
body.b2b-trade-price-locked .single_add_to_cart_button,
body.b2b-trade-price-locked form.cart .quantity,
body.b2b-trade-price-locked a.add_to_cart_button,
body.b2b-trade-price-locked button[name="add-to-cart"]{display:none!important}

.b2b-approved-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:5px 0 9px!important;color:#111!important}
.b2b-approved-price small{font-size:10px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.045em!important;color:#666!important}
.b2b-approved-price strong{font-size:22px!important;line-height:1!important;font-weight:800!important;color:#111!important;-webkit-text-fill-color:#111!important}
.b2b-approved-price em{font-style:normal!important;font-size:10px!important;line-height:1.25!important;color:#717171!important}
.b2b-trade-product-price{margin:6px 0 7px}
.b2b-tier-list{display:flex;gap:5px;flex-wrap:wrap;align-items:center;margin:7px 0 12px}
.b2b-tier-list>span{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#666}
.b2b-tier-list small{display:inline-flex;padding:5px 7px;background:#f2f2f2;border-left:2px solid var(--b2b-yellow);font-size:10px!important;font-weight:700;color:#111!important;line-height:1.1}

.b2b-basket-price-box{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin:9px 0 4px;padding:8px 10px;background:#f5f5f5;border-left:4px solid var(--b2b-yellow)}
.b2b-basket-price-box span{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#666}
.b2b-basket-price-box strong{font-size:17px;color:#111}
.b2b-basket-price-box small{font-size:10px;color:#666}
.b2b-request-items span small{display:block;margin-top:3px;font-size:10px;color:#777}
.b2b-quote-disclaimer{margin:11px 0 0!important;font-size:11px!important;color:#666!important;line-height:1.45!important}

@media (max-width:767px){
  .b2b-shell h2{font-size:30px!important}
  .b2b-shell h3{font-size:22px!important}
  .b2b-dashboard-hero h2,.b2b-catalogue-head h2{font-size:31px!important}
  .b2b-guest-price-lock{gap:6px!important}
  .b2b-guest-price-lock a{width:100%!important;min-width:0!important}
}

/* v2.3.2: protect guest CTA labels from theme button width/letter-spacing overrides. */
@media (min-width:768px) and (max-width:1200px){
  .b2b-guest-price-lock a{font-size:10px!important;padding-left:11px!important;padding-right:11px!important;gap:9px!important}
  .b2b-login-price{min-width:170px!important}
  .b2b-get-quote{min-width:122px!important}
}


/* v2.3.3: equal-width guest CTA buttons with improved backgrounds */
.b2b-guest-price-lock{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  width:100%!important;
}
.b2b-guest-price-lock a{
  width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  padding:12px 14px!important;
  justify-content:center!important;
  text-align:center!important;
  gap:10px!important;
}
.b2b-login-price{
  background:#0d0d0d!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border:1px solid #0d0d0d!important;
}
.b2b-login-price:hover{
  background:#1b1b1b!important;
  border-color:#1b1b1b!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
.b2b-get-quote{
  background:var(--b2b-yellow)!important;
  color:#0d0d0d!important;
  -webkit-text-fill-color:#0d0d0d!important;
  border:1px solid var(--b2b-yellow)!important;
}
.b2b-get-quote:hover{
  background:#e9bf00!important;
  border-color:#e9bf00!important;
  color:#0d0d0d!important;
  -webkit-text-fill-color:#0d0d0d!important;
}
@media (max-width:767px){
  .b2b-guest-price-lock{grid-template-columns:1fr!important;}
}
@media (min-width:768px) and (max-width:1200px){
  .b2b-guest-price-lock{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .b2b-guest-price-lock a{font-size:10px!important;padding-left:10px!important;padding-right:10px!important;}
}


/* Product catalogue PDF action */
.b2b-download-catalogue{margin-top:10px!important;text-align:center;text-decoration:none!important}
.b2b-product-catalogue-action{margin:12px 0 4px}
.b2b-product-catalogue-action .b2b-download-catalogue{margin-top:0!important}
.woocommerce ul.products li.product .b2b-download-catalogue{display:inline-flex;align-items:center;justify-content:center;margin-top:8px!important}
.b2b-price-hidden{font-weight:600}

/* =========================================================
   BASKET / DASHBOARD COLOUR VISIBILITY FIX
   Keeps basket actions readable against the Aston white UI.
   ========================================================= */

/* Update Basket: force a visible default state with black text. */
.b2b-shell .b2b-basket-actions button.b2b-btn.b2b-btn-dark,
.b2b-shell .b2b-basket-actions .b2b-btn.b2b-btn-dark {
    background: #FFFFFF !important;
    border: 2px solid var(--b2b-black) !important;
    color: var(--b2b-black) !important;
    -webkit-text-fill-color: var(--b2b-black) !important;
    box-shadow: none !important;
}

/* Update Basket hover: Aston yellow with black text. */
.b2b-shell .b2b-basket-actions button.b2b-btn.b2b-btn-dark:hover,
.b2b-shell .b2b-basket-actions button.b2b-btn.b2b-btn-dark:focus,
.b2b-shell .b2b-basket-actions .b2b-btn.b2b-btn-dark:hover,
.b2b-shell .b2b-basket-actions .b2b-btn.b2b-btn-dark:focus {
    background: var(--b2b-yellow) !important;
    border-color: var(--b2b-yellow) !important;
    color: var(--b2b-black) !important;
    -webkit-text-fill-color: var(--b2b-black) !important;
    outline: none !important;
}

/* Remove link: preserve the current accent look, but never allow white-on-white. */
.b2b-shell .b2b-basket-remove a,
.b2b-shell .b2b-basket-remove a:visited {
    color: #E84D0E !important;
    -webkit-text-fill-color: #E84D0E !important;
    background: transparent !important;
}

/* Remove hover/focus: black text on a yellow highlight. */
.b2b-shell .b2b-basket-remove a:hover,
.b2b-shell .b2b-basket-remove a:focus {
    color: var(--b2b-black) !important;
    -webkit-text-fill-color: var(--b2b-black) !important;
    background: var(--b2b-yellow) !important;
    text-decoration-color: var(--b2b-black) !important;
    outline: none !important;
}

/* Continue browsing: preserve accent colour in normal state. */
.b2b-shell .b2b-basket-actions a.b2b-link-arrow,
.b2b-shell .b2b-basket-actions a.b2b-link-arrow:visited {
    color: #E84D0E !important;
    -webkit-text-fill-color: #E84D0E !important;
    background: transparent !important;
}

/* Continue browsing hover/focus: strong black text, no white-on-white merge. */
.b2b-shell .b2b-basket-actions a.b2b-link-arrow:hover,
.b2b-shell .b2b-basket-actions a.b2b-link-arrow:focus {
    color: var(--b2b-black) !important;
    -webkit-text-fill-color: var(--b2b-black) !important;
    background: transparent !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    outline: none !important;
}


/* v2.3.6: responsive guest CTA sizing, arrow alignment and equal action spacing */
.b2b-loop-locked-actions .b2b-guest-price-lock{
  grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;
  column-gap:12px!important;
  row-gap:12px!important;
  margin:0!important;
}
.b2b-loop-locked-actions .b2b-guest-price-lock > a{
  margin:0!important;
  min-width:0!important;
  min-height:58px!important;
  padding:14px 18px!important;
  box-sizing:border-box!important;
  justify-content:space-between!important;
  gap:16px!important;
  white-space:nowrap!important;
}
.b2b-loop-locked-actions .b2b-login-price::after,
.b2b-loop-locked-actions .b2b-get-quote::after{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
  flex:0 0 auto!important;
}
.woocommerce ul.products li.product .b2b-download-catalogue{
  width:100%!important;
  max-width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  box-sizing:border-box!important;
}

@media (max-width:767px){
  .b2b-loop-locked-actions .b2b-guest-price-lock{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .b2b-loop-locked-actions .b2b-guest-price-lock > a{
    width:100%!important;
    min-height:62px!important;
    padding:14px 24px!important;
    font-size:12px!important;
    justify-content:space-between!important;
  }
  .woocommerce ul.products li.product .b2b-download-catalogue{
    min-height:62px!important;
    margin-top:12px!important;
  }
}

@media (max-width:420px){
  .b2b-loop-locked-actions .b2b-guest-price-lock > a{
    min-height:58px!important;
    padding-left:18px!important;
    padding-right:18px!important;
    font-size:11px!important;
  }
  .woocommerce ul.products li.product .b2b-download-catalogue{
    min-height:58px!important;
  }
}
