:root {
  --b2b-ink: #17211c;
  --b2b-muted: #5f6e65;
  --b2b-green: #174f3a;
  --b2b-green-dark: #103a2b;
  --b2b-lime: #d8f28d;
  --b2b-sand: #f3f0e7;
  --b2b-line: #d9ded9;
  --b2b-white: #fff;
  --b2b-radius: 18px;
}

html { scroll-behavior: smooth; }
body { color: var(--b2b-ink); background: #fff; }
.b2b-shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.b2b-skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 18px; background: #fff; color: #111; }
.b2b-skip-link:focus { top: 12px; }
.b2b-topbar { background: var(--b2b-green-dark); color: #fff; font-size: 12px; letter-spacing: .04em; }
.b2b-topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.b2b-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--b2b-line); backdrop-filter: blur(12px); }
.b2b-header__inner { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.b2b-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--b2b-ink); text-decoration: none; flex: 0 0 auto; }
.b2b-brand__mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--b2b-green); color: var(--b2b-lime); font-weight: 800; font-size: 23px; }
.b2b-brand__logo, .b2b-brand > picture, .b2b-brand > picture img { width: auto; max-width: 148px; height: 42px; object-fit: contain; }
.b2b-brand__text { display: grid; line-height: 1.05; }
.b2b-brand__text strong { font-size: 20px; letter-spacing: .08em; }
.b2b-brand__text small { margin-top: 5px; color: var(--b2b-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.b2b-brand__descriptor { padding-left: 12px; border-left: 1px solid var(--b2b-line); color: var(--b2b-muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.b2b-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.b2b-nav a, .b2b-search { color: var(--b2b-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.b2b-nav a:hover, .b2b-search:hover { color: var(--b2b-green); }
.b2b-nav__dropdown { position: relative; padding: 24px 0; margin: -24px 0; }
.b2b-nav__products { display: inline-flex; align-items: center; gap: 5px; }
.b2b-nav__products span { font-size: 12px; transition: transform .2s ease; }
.b2b-nav__dropdown:hover .b2b-nav__products span, .b2b-nav__dropdown:focus-within .b2b-nav__products span { transform: rotate(180deg); }
.b2b-nav__mega { position: absolute; z-index: 30; top: calc(100% + 1px); left: 50%; width: 640px; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; padding: 10px; border: 1px solid var(--b2b-line); border-radius: 16px; background: #fff; box-shadow: 0 22px 50px rgba(16,37,29,.15); opacity: 0; visibility: hidden; transform: translate(-40%,10px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.b2b-nav__dropdown:hover .b2b-nav__mega, .b2b-nav__dropdown:focus-within .b2b-nav__mega { opacity: 1; visibility: visible; transform: translate(-38%,0); }
.b2b-nav .b2b-nav__mega > a { display: grid; gap: 4px; padding: 15px 16px; border-radius: 10px; }
.b2b-nav .b2b-nav__mega > a:hover { background: var(--b2b-sand); }
.b2b-nav .b2b-nav__mega strong { color: var(--b2b-ink); font-size: 13px; }
.b2b-nav .b2b-nav__mega span { color: var(--b2b-muted); font-size: 11px; font-weight: 400; }
.b2b-nav .b2b-nav__mega .b2b-nav__all-products { grid-column: 1 / -1; display: block; margin-top: 2px; border-top: 1px solid var(--b2b-line); border-radius: 0 0 10px 10px; text-align: center; }
.b2b-header__actions { display: flex; align-items: center; gap: 18px; }
.b2b-button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--b2b-green); border-radius: 10px; background: var(--b2b-green); color: #fff !important; text-decoration: none; font-weight: 700; }
.b2b-button:hover { background: var(--b2b-green-dark); border-color: var(--b2b-green-dark); }
.b2b-button--secondary { background: transparent; color: var(--b2b-green) !important; }
.b2b-button--secondary:hover { color: #fff !important; }
.b2b-button--small { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.b2b-mobile-nav { display: none; margin-left: auto; }
.b2b-mobile-nav summary { list-style: none; cursor: pointer; font-weight: 700; }
.b2b-mobile-nav summary::-webkit-details-marker { display: none; }
.b2b-mobile-nav__panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 0; padding: 14px 24px 24px; background: #fff; border-bottom: 1px solid var(--b2b-line); box-shadow: 0 16px 30px rgba(0,0,0,.08); }
.b2b-mobile-nav__panel > a:not(.b2b-button) { padding: 14px 4px; border-bottom: 1px solid #edf0ed; color: var(--b2b-ink); text-decoration: none; font-weight: 600; }
.b2b-mobile-products { border-bottom: 1px solid #edf0ed; }
.b2b-mobile-products > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; color: var(--b2b-ink); font-weight: 600; }
.b2b-mobile-products > summary::after { content: "+"; color: var(--b2b-green); font-size: 18px; }
.b2b-mobile-products[open] > summary::after { content: "−"; }
.b2b-mobile-products > div { display: grid; grid-template-columns: 1fr 1fr; padding: 0 4px 12px; }
.b2b-mobile-products a { padding: 9px 10px 9px 0; color: var(--b2b-muted); text-decoration: none; font-size: 13px; }

.b2b-footer { padding: 72px 0 24px; background: #10251d; color: rgba(255,255,255,.72); }
.b2b-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 54px; }
.b2b-footer h2 { margin: 0 0 18px; color: #fff; font-size: 15px; }
.b2b-footer p { max-width: 390px; line-height: 1.7; }
.b2b-footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.b2b-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.b2b-footer a:hover { color: var(--b2b-lime); }
.b2b-brand--footer { color: #fff !important; margin-bottom: 12px; }
.b2b-brand--footer .b2b-brand__text small { color: rgba(255,255,255,.62); }
.b2b-brand--footer .b2b-brand__descriptor { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.62); }
.b2b-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; }
.b2b-sticky-rfq { display: none; }

/* B2B catalog mode: prices and cart controls are intentionally removed from buyer-facing pages. */
body[data-page-type="index"] .block-product-price,
body[data-page-type="collection"] .block-product-price,
body[data-page-type="search"] .block-product-price,
body[data-page-type="product"] .product-detail__price,
.block-product-card-quick-add,
.product-card__quick-add,
.block-product-card-discount-tag,
body[data-page-type="product"] .product-buy-button-group,
body[data-page-type="product"] [data-role="product-buy-button-group"] { display: none !important; }
a[href="/cart"], a[href$="/cart"], [data-role="cart-bubble"], .cart-bubble { display: none !important; }

.block-product-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--b2b-line); background: #fff; box-shadow: none !important; }
.block-product-card-info { padding: 14px 14px 18px; }

@media (max-width: 1120px) {
  .b2b-nav, .b2b-header__actions { display: none; }
  .b2b-mobile-nav { display: block; }
  .b2b-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .b2b-shell { width: min(100% - 32px, 1220px); }
  .b2b-topbar__inner { justify-content: center; text-align: center; }
  .b2b-topbar__inner span:last-child { display: none; }
  .b2b-header__inner { min-height: 68px; }
  .b2b-brand__mark { width: 38px; height: 38px; }
  .b2b-brand__logo, .b2b-brand > picture, .b2b-brand > picture img { max-width: 112px; height: 38px; }
  .b2b-brand__text strong { font-size: 18px; }
  .b2b-brand__descriptor { display: none; }
  .b2b-footer { padding-top: 52px; padding-bottom: 82px; }
  .b2b-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .b2b-footer__bottom { flex-direction: column; }
  .b2b-sticky-rfq { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 14px; min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--b2b-green); color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 10px 30px rgba(16,58,43,.28); }
}
