.line-item { border: 1px solid #e1e6ee; margin: 20px 0; padding: 18px; }
.b2b-variant-group { min-width: 0; padding: 10px; border: 1px solid #d4dfeb; margin: 6px 0; max-height: 280px; overflow-y: auto; }
.b2b-variant-group legend { font-weight: 700; font-size: 12px; }
.b2b-variant-group .b2b-variant-choice { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.b2b-variant-group .b2b-variant-choice input { width: auto; min-height: 0; padding: 0; flex: 0 0 auto; }
.b2b-variant-choice img { width: 48px; height: 48px; object-fit: contain; background: #fff; }
.b2b-variant-choice span { overflow-wrap: anywhere; min-width: 0; }
.b2b-variant-choice small { display: block; color: #53647b; }
.b2b-checkout-options input[type="checkbox"] { width: auto; }
.line-item legend { color: #203e76; font-size: 12px; font-weight: 800; padding: 0 7px; }
.line-item p { margin: 0 0 15px; }
.line-item p:last-child { margin-bottom: 0; }
.add-line { min-height: 40px; padding: 9px 15px; border: 1px solid #d4ddea; border-radius: 3px; cursor: pointer; font-weight: 800; font-size: 12px; }
.add-line:disabled { opacity: .5; cursor: not-allowed; }
.form-help { color: #6b7482; font-size: 12px; margin-bottom: 0; }
.conversation-message { border-left: 3px solid #d4deea; background: #f7f9fc; padding: 15px; margin: 12px 0; }
.conversation-message small { color: #6b7482; }
.conversation-message p { white-space: pre-wrap; overflow-wrap: anywhere; }
.details-list { display: grid; grid-template-columns: minmax(110px, 180px) minmax(0, 1fr); gap: 12px 18px; }
.details-list dt { font-weight: 800; color: #516075; }
.details-list dd { margin: 0; overflow-wrap: anywhere; }
.portal-admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.portal-admin-tabs a { padding: 9px 13px; border: 1px solid #d4dfeb; border-radius: 4px; background: #fff; font-weight: 700; font-size: 12px; }
.portal-admin-tabs a.active { color: #fff; background: #203e76; border-color: #203e76; }
.portal-admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.portal-admin-cards a { display: grid; gap: 12px; margin: 0; }
.portal-admin-cards h2 { margin: 0; }
.portal-admin-cards strong { font-size: 30px; }
.portal-admin-cards span { font-size: 12px; font-weight: 700; }
.b2b-document-actions { flex-wrap: wrap; }
.b2b-order-summary > section { grid-column: 1 / -1; overflow-wrap: anywhere; }
.ticket-toggle { margin-top: 20px; }
.registration-card { width: min(100%, 900px); }
.registration-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.registration-form .field { margin-bottom: 16px; }
.registration-professional { margin: 0 0 16px; padding: 16px 0 0; border: 0; border-top: 1px solid #d4dfeb; min-width: 0; }
.registration-professional legend { font-weight: 700; }
.registration-form:has([data-registration-type] option[value="consumer"]:checked) .registration-professional { display: none; }
.b2b-order-summary { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.7fr); gap: 35px; }
.b2b-totals { align-self: start; border: 1px solid #dce2e8; background: #fafbfc; }
.b2b-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 16px; border-bottom: 1px solid #e4e8ed; font-size: 12px; }
.b2b-totals > div:last-child { border-bottom: 0; }
.b2b-totals .b2b-total { background: #172640; color: #fff; font-size: 14px; }
.b2b-order-summary > h2,.b2b-order-summary > p { grid-column: 1/-1; }
.b2b-discount-card .b2b-discount-toggle { border:1px solid #ccd6df; background:#fff; color:#172640; padding:6px 10px; font-size:12px; cursor:pointer; }
.b2b-discount-card [hidden] { display:none; }
.b2b-discount-card [data-discount-mask] { font-size:26px; margin:16px 0 9px; }
.b2b-catalog-toolbar { margin:20px 0; display:flex; overflow:auto; }
.b2b-category-tabs { display:flex; gap:8px; }
.b2b-category-tabs button { white-space:nowrap; border:1px solid #ccd6df; background:#fff; padding:9px 14px; color:#263a55; font-size:11px; cursor:pointer; }
.b2b-category-tabs button[aria-pressed=true] { background:#172640; color:#fff; border-color:#172640; }
.b2b-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.b2b-product-card { min-width:0; background:#fff; border:1px solid #dce2e8; box-shadow:0 5px 20px #1726400a; }
.b2b-product-card[hidden] { display:none; }
.b2b-product-image { position:relative; display:grid; place-items:center; height:260px; overflow:hidden; background:#fff; text-decoration:none; cursor:zoom-in; }
.b2b-product-image img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.b2b-product-image span { font:400 72px Georgia,serif; color:#9aa6b1; }
.b2b-product-image .b2b-image-hint { position:absolute; right:10px; bottom:10px; padding:7px 10px; border:1px solid #dce2e8; background:#fffffff0; color:#172640; font:700 11px sans-serif; }
.b2b-product-body h2 a { color:inherit; text-decoration:none; }
.b2b-product-body h2 a:hover { text-decoration:underline; }
body.b2b-image-open { overflow:hidden; }
.b2b-image-dialog { width:min(1100px,calc(100% - 24px)); max-width:none; max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); padding:16px; border:0; background:#fff; color:#172640; box-shadow:0 20px 70px #0c1a2e4a; }
.b2b-image-dialog::backdrop { background:#091629d9; }
.b2b-image-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }
.b2b-image-dialog-head h2 { margin:0; font-size:20px; overflow-wrap:anywhere; }
.b2b-image-dialog-head button { flex-shrink:0; width:44px; height:44px; border:1px solid #ccd6df; background:#fff; color:#172640; font-size:28px; cursor:pointer; }
.b2b-image-viewport { max-height:70vh; max-height:70dvh; overflow:auto; background:#fff; }
.b2b-image-viewport img { display:block; width:100%; height:70vh; height:70dvh; object-fit:contain; }
.b2b-image-viewport.is-zoomed img { width:200%; max-width:none; height:auto; }
.b2b-image-zoom-toggle { min-height:44px; margin-top:12px; padding:8px 18px; border:1px solid #ccd6df; background:#fff; color:#172640; font-weight:700; cursor:pointer; }
.b2b-product-body { padding:20px; }
.b2b-product-category { margin:0 0 8px; color:#7f8b98; font-size:9px; letter-spacing:.1em; text-transform:uppercase; }
.b2b-product-body h2 { margin:0; font-size:22px; }
.b2b-product-price { margin:18px 0; color:#172640; font-size:20px; font-weight:800; }
.b2b-product-price small { display:inline-block; margin-left:6px; color:#8793a0; font-size:9px; font-weight:400; text-transform:uppercase; }
.b2b-add-row { display:grid; grid-template-columns:70px 1fr; gap:10px; margin-bottom:13px; }
.b2b-add-row--options { grid-template-columns:70px minmax(0,1fr); }
.b2b-add-row--options>div { min-width:0; display:grid; gap:9px; }
.b2b-add-row--options select { width:100%; min-height:38px; padding:7px 9px; border:1px solid #ccd6df; background:#fff; }
.b2b-no-options { display:block; align-self:end; color:#7b8792; font-size:11px; padding-bottom:10px; }
.b2b-add-row label span { display:block; margin-bottom:5px; color:#5f6d7b; font-size:10px; }
.b2b-add-row input { width:100%; min-height:38px; padding:7px 9px; border:1px solid #ccd6df; background:#fff; }
.b2b-add { width:100%; }
.b2b-cart-drawer { position:fixed; z-index:1200; right:20px; bottom:20px; width:min(460px,calc(100% - 40px)); max-height:calc(100vh - 40px); overflow:auto; background:#fff; box-shadow:0 20px 70px #0c1a2e4a; border:1px solid #dbe1e7; }
.b2b-cart-drawer[hidden] { display:none; }
.b2b-cart-head { display:flex; justify-content:space-between; align-items:flex-start; padding:20px; background:#172640; color:#fff; }
.b2b-cart-head span { font-size:9px; letter-spacing:.14em; }
.b2b-cart-head h2 { margin:5px 0 0; color:#fff; font-size:22px; }
.b2b-cart-head button { border:0; background:transparent; color:#fff; font-size:25px; cursor:pointer; }
.b2b-cart-item { display:grid; grid-template-columns:1fr auto 30px; gap:15px; align-items:center; padding:15px 20px; border-bottom:1px solid #e1e6eb; }
.b2b-cart-item strong,.b2b-cart-item span,.b2b-cart-item small { display:block; }
.b2b-cart-item span,.b2b-cart-item small { margin-top:3px; color:#71808e; font-size:10px; }
.b2b-cart-item button { width:30px; height:30px; border:1px solid #d4dce4; background:#fff; color:#a63c32; cursor:pointer; }
.b2b-cart-footer { padding:18px 20px; }
.b2b-cart-footer .button { width:100%; }
.b2b-cart-store { display:block; padding:15px 20px; font-size:12px; }
.b2b-cart-store select { display:block; width:100%; margin-top:8px; padding:8px; }
.b2b-cart-error { margin:15px 20px; color:#a63c32; font-size:12px; }
.b2b-cart-drawer .b2b-totals { margin:15px 20px 0; }
.b2b-cart-footer [aria-disabled=true] { opacity:.5; pointer-events:none; }
.b2b-checkout { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr); gap:24px; align-items:start; }
.b2b-checkout-line { min-width:0; margin:0 0 20px; }
.b2b-checkout-line legend { padding:0 8px; font-size:12px; font-weight:700; }
.b2b-checkout-article { display:flex; align-items:center; gap:18px; }
.b2b-checkout-article img { width:100px; height:110px; object-fit:contain; flex-shrink:0; }
.b2b-checkout-article h2 { margin:0 0 8px; font-size:20px; overflow-wrap:anywhere; }
.b2b-checkout-article p { color:#71808e; font-size:12px; }
.b2b-checkout-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:12px; margin-top:15px; }
.b2b-checkout-options label { display:block; margin-bottom:6px; font-size:12px; font-weight:700; }
.b2b-checkout-options input,.b2b-checkout-options select { width:100%; min-height:42px; padding:8px; border:1px solid #ccd6df; background:#fff; }
.b2b-checkout-remove { display:flex; align-items:center; gap:8px; margin-top:10px; font-size:12px; }
.b2b-checkout-details { min-width:0; }
.b2b-checkout-details h2 { margin:0 0 20px; font-size:22px; }
.b2b-checkout-details .field { margin-bottom:18px; }
.b2b-checkout-details .field label { display:block; margin-bottom:6px; font-size:12px; font-weight:700; }
.b2b-checkout-details .field input,.b2b-checkout-details .field select,.b2b-checkout-details .field textarea { width:100%; padding:10px; border:1px solid #ccd6df; background:#fff; }
.b2b-checkout-details .field small { display:block; margin-top:5px; font-size:11px; }
.b2b-checkout-actions { display:grid; gap:10px; margin-top:20px; }
.b2b-checkout-error { color:#a63c32; font-size:13px; }
.b2b-order-thanks { border-top:3px solid #cfb78c; margin-bottom:24px; }
.b2b-order-thanks h2 { margin-top:0; }
@media (max-width:980px) { .b2b-checkout { grid-template-columns:1fr; } }
@media (max-width: 600px) { .registration-fields { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .b2b-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .b2b-order-summary { grid-template-columns: 1fr; gap: 20px; } .b2b-product-grid { grid-template-columns:1fr; } .b2b-product-image { height:240px; } .b2b-cart-drawer { right:10px; bottom:10px; width:calc(100% - 20px); } }
