#view-b2bPortal {
    background: #eef2f5;
}

.b2b-panel {
    padding: 0;
    overflow: hidden;
}

.b2b-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    border-bottom: 1px solid #d7dee4;
    background: #f8fafc;
}

.b2b-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
}

.b2b-customer-rail,
.b2b-main {
    min-width: 0;
}

.b2b-page[hidden] {
    display: none !important;
}

.b2b-card {
    min-width: 0;
    border: 1px solid #d7dee4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.b2b-card + .b2b-card,
.b2b-lower-grid {
    margin-top: 14px;
}

.b2b-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8ee;
    background: #f7f9fb;
}

.b2b-card-head h2 {
    margin: 0;
    color: #1f2933;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.b2b-card-head small,
.b2b-empty-state,
.b2b-card small {
    color: #6b7280;
    font-size: 12px;
}

.b2b-grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.b2b-bc-provision-card {
    margin-bottom: 14px;
}

.b2b-bc-provision-form {
    padding: 14px;
}

.b2b-bc-provision-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.b2b-bc-provision-row label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: #40515f;
    font-size: 12px;
    font-weight: 600;
}

.b2b-bc-provision-row input,
.b2b-bc-provision-row button {
    min-height: 36px;
}

.b2b-bc-provision-row button {
    border-color: #0098c7;
    background: #0098c7;
    color: #fff;
}

.b2b-bc-provision-hints {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.b2b-bc-provision-hints span {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #dce5eb;
    border-radius: 7px;
    background: #f8fbfd;
    color: #566979;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.b2b-bc-provision-hints strong {
    color: #263746;
    font-size: 12px;
    font-weight: 600;
}

.b2b-customer-list,
.b2b-user-list,
.b2b-address-list,
.b2b-wishlist-list,
.b2b-orders-list,
.b2b-rule-summary {
    padding: 12px;
}

.b2b-customer-row,
.b2b-user-row,
.b2b-address-row,
.b2b-wishlist-item {
    width: 100%;
    border: 1px solid #dce3e9;
    border-radius: 7px;
    background: #fff;
    color: #25313b;
    text-align: left;
}

.b2b-customer-row {
    display: grid;
    gap: 7px;
    margin-bottom: 8px;
    padding: 10px;
}

.b2b-customer-row:hover,
.b2b-user-row:hover,
.b2b-address-row:hover,
.b2b-wishlist-item:hover,
.b2b-product-card:hover {
    border-color: #9ccfe2;
    box-shadow: 0 2px 8px rgba(0, 152, 199, 0.12);
}

.b2b-customer-row.is-active,
.b2b-user-row.is-active,
.b2b-address-row.is-active {
    border-color: #0098c7;
    background: #f1fbff;
}

.b2b-customer-row strong,
.b2b-user-row strong,
.b2b-address-row strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.b2b-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.b2b-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 7px;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    background: #f5f7f9;
    color: #40515f;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.b2b-chip.green {
    border-color: #93c5a0;
    background: #eef8f0;
    color: #2f7d42;
}

.b2b-chip.red {
    border-color: #f1aaa8;
    background: #fff2f1;
    color: #b42318;
}

.b2b-chip.yellow {
    border-color: #f2cf70;
    background: #fff8df;
    color: #8a6210;
}

.b2b-form,
.b2b-user-form,
.b2b-address-form,
.b2b-order-form {
    padding: 14px;
}

.b2b-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.b2b-customer-settings-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding: 3px;
    border: 1px solid #dce3e9;
    border-radius: 7px;
    background: #f8fafc;
}

.b2b-customer-settings-tabs button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #40515f;
    font-size: 12px;
    font-weight: 600;
}

.b2b-customer-settings-tabs button.is-active {
    border-color: #9ccfe2;
    background: #eaf7fc;
    color: #0079a6;
}

.b2b-order-conditions {
    display: grid;
    gap: 12px;
}

.b2b-order-conditions[hidden] {
    display: none !important;
}

.b2b-condition-intro,
.b2b-condition-help {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dce3e9;
    border-radius: 7px;
    background: #f8fafc;
    color: #40515f;
    font-size: 12px;
    line-height: 1.45;
}

.b2b-condition-section {
    border: 1px solid #dce3e9;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.b2b-condition-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-bottom: 1px solid #e2e8ee;
    background: #f7f9fb;
    color: #1f2933;
    font-size: 14px;
    font-weight: 600;
}

.b2b-relationship-create {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr) auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
}

.b2b-relationship-create label {
    display: grid;
    gap: 5px;
    margin: 0;
    color: #40515f;
    font-size: 12px;
    font-weight: 600;
}

.b2b-relationship-options,
.b2b-relationship-list {
    display: grid;
    gap: 8px;
}

.b2b-relationship-options {
    max-height: 174px;
    overflow: auto;
}

.b2b-relationship-options button,
.b2b-relationship-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid #dce3e9;
    border-radius: 7px;
    background: #fff;
    color: #2f3b45;
    text-align: left;
}

.b2b-relationship-options button {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    cursor: pointer;
}

.b2b-relationship-options button.is-selected {
    border-color: #8cc8dd;
    background: #edf8fc;
}

.b2b-relationship-options strong,
.b2b-relationship-row strong {
    display: block;
    color: #1f2933;
    font-size: 13px;
    font-weight: 600;
}

.b2b-relationship-options button > span,
.b2b-relationship-row > div > span {
    color: #627282;
    font-size: 12px;
}

.b2b-relationship-list {
    padding: 12px;
}

.b2b-relationship-row button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #d7e0e7;
    border-radius: 6px;
    background: #f8fafc;
    color: #40515f;
    font-size: 12px;
    font-weight: 600;
}

.b2b-condition-section-head span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    background: #fff;
    color: #0098c7;
    font-size: 13px;
}

.b2b-condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
}

.b2b-condition-grid label {
    align-content: start;
}

.b2b-condition-grid .b2b-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 5px 8px;
}

.b2b-condition-grid .b2b-toggle small {
    grid-column: 2;
    margin-top: 0;
}

.b2b-condition-grid small,
.b2b-toggle small {
    display: block;
    margin-top: 5px;
    color: #687785;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: none;
}

.b2b-condition-grid .b2b-toggle small {
    margin-top: 0;
}

.b2b-user-grid,
.b2b-address-grid,
.b2b-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.b2b-field-wide {
    grid-column: 1 / -1;
}

.b2b-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.b2b-form-actions button,
.b2b-buy-row button.primary {
    border-color: #0098c7;
    background: #0098c7;
    color: #fff;
}

.b2b-toggle {
    align-self: end;
    min-height: 34px;
}

.b2b-toggle.is-disabled {
    opacity: 0.68;
}

.b2b-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    padding: 9px 10px;
}

.b2b-user-row span {
    min-width: 0;
}

.b2b-user-row .b2b-chip-row {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.b2b-user-row small {
    display: block;
    overflow-wrap: anywhere;
}

.b2b-address-card {
    margin-top: 14px;
}

.b2b-address-lock-notice {
    margin: 12px 14px 0;
    padding: 9px 11px;
    border: 1px solid #f2cf70;
    border-radius: 7px;
    background: #fff8df;
    color: #77550d;
    font-size: 12px;
    line-height: 1.35;
}

.b2b-address-lock-notice[hidden] {
    display: none !important;
}

.b2b-address-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
    padding: 9px 10px;
    cursor: pointer;
}

.b2b-address-row > span {
    min-width: 0;
}

.b2b-address-row small {
    display: block;
    overflow-wrap: anywhere;
}

.b2b-address-actions {
    display: flex;
    justify-content: flex-end;
}

.b2b-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.b2b-metric-grid article {
    min-width: 0;
    padding: 9px;
    border: 1px solid #dde5ec;
    border-radius: 7px;
    background: #f8fafc;
}

.b2b-metric-grid span {
    display: block;
    color: #687785;
    font-size: 11px;
}

.b2b-metric-grid strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 4px;
    color: #1f2933;
    font-size: 14px;
}

.b2b-rule-flow {
    display: grid;
    gap: 8px;
}

.b2b-rule-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #dce3e9;
    border-radius: 7px;
    background: #fff;
}

.b2b-rule-card > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    border-radius: 5px;
    background: #eaf7fc;
    color: #007fa9;
    font-size: 12px;
    font-weight: 700;
}

.b2b-rule-card strong,
.b2b-rule-card small {
    display: block;
    overflow-wrap: anywhere;
}

.b2b-wishlist {
    display: grid;
    gap: 7px;
}

.b2b-wishlist + .b2b-wishlist {
    margin-top: 12px;
}

.b2b-wishlist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.b2b-wishlist-item {
    display: grid;
    gap: 2px;
    padding: 9px 10px;
}

.b2b-wishlist-item span {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.b2b-shop-shell {
    --b2b-brand: #0098c7;
    --b2b-brand-dark: #0079a6;
    min-height: 720px;
    border: 1px solid #d7dee4;
    border-radius: 8px;
    background: #eef2f5;
    overflow: hidden;
}

.b2b-shop-topline {
    min-height: 18px;
    padding: 2px 12px;
    background: var(--b2b-brand);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

.b2b-shop-head {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(220px, 1fr) minmax(260px, auto);
    gap: 16px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid #d6dee5;
    background: #fff;
}

.b2b-shop-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    color: var(--b2b-brand);
}

.b2b-shop-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: var(--b2b-brand);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.b2b-shop-brand strong {
    overflow: hidden;
    color: var(--b2b-brand);
    font-size: 17px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2b-shop-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #aeb9c2;
    border-radius: 18px;
    background: #fff;
}

.b2b-shop-search span {
    color: #6b7280;
    font-size: 16px;
}

.b2b-shop-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #26323b;
    font-size: 13px;
}

.b2b-shop-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: #4b5563;
    font-size: 12px;
    white-space: nowrap;
}

.b2b-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    border-color: transparent;
    background: #eaf7fc;
    color: var(--b2b-brand);
}

.b2b-cart-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--b2b-brand);
    color: #fff;
    font-size: 11px;
}

.b2b-shop-nav {
    display: flex;
    gap: 8px;
    padding: 9px 18px;
    border-bottom: 1px solid #cfd8df;
    background: #fff;
}

.b2b-shop-nav button {
    min-height: 28px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #505b65;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.b2b-shop-nav button.is-active {
    background: #eaf7fc;
    color: var(--b2b-brand);
}

.b2b-shop-body {
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    min-height: 650px;
}

.b2b-shop-body-checkout,
.b2b-shop-body-compare,
.b2b-shop-body-orders {
    grid-template-columns: minmax(0, 1fr);
}

.b2b-category-pane {
    padding: 16px 20px;
    border-right: 1px solid #d7dee4;
    background: #eef2f5;
}

.b2b-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #d4dce3;
    color: #1f2933;
    font-size: 18px;
}

.b2b-category-head strong {
    font-weight: 500;
}

.b2b-category-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 34px;
    margin-top: 14px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #34424d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.b2b-category-all.is-active,
.b2b-category-all:hover {
    border-color: #cfe4ee;
    background: #fff;
    color: var(--b2b-brand);
}

.b2b-category-tree {
    display: grid;
    gap: 12px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.b2b-category-tree li {
    display: grid;
    gap: 9px;
    min-width: 0;
    color: #1f2933;
    font-size: 12px;
}

.b2b-category-main,
.b2b-category-sub {
    min-width: 0;
    color: #26323b;
    font-size: 13px;
    text-decoration: none;
}

.b2b-category-main,
.b2b-category-sub,
.b2b-category-all {
    overflow-wrap: anywhere;
}

.b2b-category-main,
.b2b-category-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.b2b-category-main {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 700;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.b2b-category-main::before {
    content: "▸";
    flex: 0 0 auto;
    color: #5d6b76;
    font-size: 12px;
    transition: transform 180ms ease, color 180ms ease;
}

.b2b-category-tree li.is-open .b2b-category-main::before {
    color: var(--b2b-brand);
    transform: rotate(90deg);
}

.b2b-category-main > span,
.b2b-category-sub > span,
.b2b-category-all > span {
    min-width: 0;
    flex: 1 1 auto;
}

.b2b-category-children {
    display: grid;
    gap: 8px;
    margin-left: 16px;
    padding-left: 20px;
    border-left: 1px solid #aeb8bf;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 240ms ease, opacity 180ms ease, transform 180ms ease;
}

.b2b-category-tree li.is-open .b2b-category-children {
    opacity: 1;
    transform: translateY(0);
}

.b2b-category-sub {
    position: relative;
    min-height: 24px;
    padding: 2px 7px 2px 0;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 600;
}

.b2b-category-sub::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    width: 18px;
    height: 1px;
    background: #aeb8bf;
}

.b2b-category-sub:hover,
.b2b-category-sub.is-active {
    border-color: #cfe4ee;
    background: #fff;
    color: var(--b2b-brand);
}

.b2b-category-main.is-active {
    color: var(--b2b-brand);
}

.b2b-product-area {
    min-width: 0;
    padding: 14px;
}

.b2b-shop-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.b2b-shop-status strong,
.b2b-shop-status span {
    display: block;
}

.b2b-shop-status strong {
    color: #1f2933;
    font-size: 15px;
}

.b2b-shop-status > div > span {
    color: #6b7280;
    font-size: 12px;
}

.b2b-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
    gap: 12px;
}

.b2b-product-card {
    display: grid;
    grid-template-rows: 170px minmax(45px, auto) auto auto auto;
    gap: 8px;
    min-width: 0;
    min-height: 290px;
    padding: 12px;
    border: 1px solid #d7dee4;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.b2b-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
}

.b2b-product-image img {
    display: block;
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.b2b-product-title {
    display: -webkit-box;
    overflow: hidden;
    color: #26323b;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.b2b-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 22px;
}

.b2b-product-footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 30px;
    gap: 8px;
    align-items: center;
}

.b2b-stock-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2f9e44;
}

.b2b-product-price {
    color: var(--b2b-brand);
    font-size: 18px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

.b2b-product-footer button {
    width: 30px;
    height: 30px;
    padding: 0;
    border-color: #c9d4dc;
    background: #fff;
    color: var(--b2b-brand);
    font-size: 18px;
    line-height: 1;
}

.b2b-device {
    position: relative;
    display: block;
    width: 112px;
    height: 74px;
    border-radius: 5px 5px 2px 2px;
    background: #242b32;
    box-shadow: inset 0 0 0 4px #111827;
}

.b2b-device::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 12px;
    bottom: 16px;
    border-radius: 3px;
    background: linear-gradient(135deg, #113f67, #2fa7d9 55%, #eef8ff);
}

.b2b-device span {
    position: absolute;
    left: -12px;
    right: -12px;
    bottom: -10px;
    height: 12px;
    border-radius: 2px;
    background: #3f4a52;
}

.b2b-device.is-large {
    width: 250px;
    height: 160px;
}

.b2b-detail-page {
    border: 1px solid #d7dee4;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.b2b-detail-hero {
    display: grid;
    grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
    gap: 34px;
    min-height: 360px;
    padding: 28px 34px 18px;
}

.b2b-detail-gallery {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    min-width: 0;
}

.b2b-detail-gallery img {
    display: block;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.b2b-detail-image-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 292px;
}

.b2b-detail-image-stage.has-thumbs {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
}

.b2b-detail-thumbs {
    display: flex;
    flex-direction: column;
    align-self: center;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 2px;
}

.b2b-detail-thumb,
.b2b-detail-main-image {
    appearance: none;
    border: 1px solid #d8e1e8;
    background: #fff;
    cursor: pointer;
    font: inherit;
}

.b2b-detail-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 4px;
    border-radius: 6px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.b2b-detail-thumb:hover,
.b2b-detail-thumb:focus-visible,
.b2b-detail-thumb.is-active {
    border-color: var(--b2b-brand, #0098c7);
    box-shadow: 0 0 0 2px rgba(0, 152, 199, 0.13);
    outline: none;
}

.b2b-detail-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.b2b-detail-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 292px;
    padding: 12px;
    border-color: transparent;
    border-radius: 8px;
}

.b2b-detail-main-image:hover,
.b2b-detail-main-image:focus-visible {
    border-color: #d8e1e8;
    box-shadow: inset 0 0 0 1px rgba(0, 152, 199, 0.12);
    outline: none;
}

.b2b-detail-main-image img {
    display: block;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.b2b-image-modal {
    width: min(1120px, calc(100vw - 40px));
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

.b2b-image-modal::backdrop {
    background: rgba(15, 23, 42, 0.58);
}

.b2b-image-modal-shell {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(760px, calc(100vh - 72px));
    padding: 38px;
    border: 1px solid #d8e1e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.b2b-image-modal-shell img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

.b2b-image-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d4dde5;
    border-radius: 6px;
    background: #fff;
    color: #40515f;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.b2b-image-modal-close:hover,
.b2b-image-modal-close:focus-visible {
    border-color: var(--b2b-brand, #0098c7);
    color: var(--b2b-brand, #0098c7);
    outline: none;
}

.b2b-eco {
    color: #4caf50;
    font-size: 13px;
    font-weight: 600;
}

.b2b-detail-info {
    min-width: 0;
}

.b2b-detail-info h1 {
    margin: 0;
    color: #1f2933;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.b2b-detail-info p {
    margin: 12px 0 14px;
    color: #4b5563;
    font-size: 13px;
}

.b2b-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.b2b-link-row a {
    color: #0098c7;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.b2b-detail-price {
    margin-top: 22px;
    color: #0098c7;
    font-size: 28px;
    font-weight: 600;
}

.b2b-availability {
    display: flex;
    gap: 9px;
    margin-top: 20px;
    color: #4b5563;
    font-size: 12px;
}

.b2b-availability strong {
    color: #2f9e44;
}

.b2b-buy-row {
    margin-top: 10px;
}

.b2b-public-detail-cart {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end;
    margin-top: 12px;
}

.b2b-public-detail-cart label {
    display: grid;
    gap: 4px;
    color: #56616d;
    font-size: 11px;
    font-weight: 600;
}

.b2b-public-detail-cart input {
    width: 74px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #c7d0d8;
    border-radius: 5px;
}

.b2b-public-detail-cart button,
.b2b-accessory-row button {
    min-height: 34px;
    padding: 0 13px;
    border: 0;
    border-radius: 5px;
    background: var(--b2b-brand, #0098c7);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.b2b-public-cart-note {
    width: max-content;
    max-width: 100%;
    margin-top: 8px;
    padding: 7px 9px;
    border: 1px solid #9fd0a9;
    border-radius: 6px;
    background: #eff9f1;
    color: #2f7d3d;
    font-size: 12px;
    font-weight: 600;
}

.b2b-public-cart-note.is-warning {
    border-color: #efd487;
    background: #fff8df;
    color: #76520e;
}

.b2b-detail-compare-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
}

.b2b-detail-compare-actions form {
    margin: 0;
}

.b2b-detail-compare-actions button,
.b2b-detail-compare-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #b9d5e6;
    border-radius: 6px;
    background: #fff;
    color: var(--b2b-brand, #0098c7);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.b2b-detail-compare-actions button:hover,
.b2b-detail-compare-actions button:focus-visible,
.b2b-detail-compare-actions a:hover,
.b2b-detail-compare-actions a:focus-visible {
    border-color: var(--b2b-brand, #0098c7);
    background: #eef7fc;
    outline: none;
}

.b2b-detail-compare-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.b2b-compare-page {
    display: grid;
    gap: 12px;
    overflow-x: auto;
}

.b2b-compare-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #dbe3e8;
    border-radius: 8px;
    background: #fbfcfd;
}

.b2b-compare-head h1,
.b2b-compare-head span {
    display: block;
    margin: 0;
}

.b2b-compare-head h1 {
    color: #202a32;
    font-size: 15px;
    font-weight: 500;
}

.b2b-compare-head span {
    color: #667582;
    font-size: 12px;
}

.b2b-compare-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.b2b-compare-actions form {
    margin: 0;
}

.b2b-compare-actions a,
.b2b-compare-actions button,
.b2b-compare-product-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    background: #fff;
    color: #40515f;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.b2b-compare-actions a:hover,
.b2b-compare-actions a:focus-visible,
.b2b-compare-actions button:hover,
.b2b-compare-actions button:focus-visible,
.b2b-compare-product-card button:hover,
.b2b-compare-product-card button:focus-visible {
    border-color: var(--b2b-brand, #0098c7);
    background: #eaf7fc;
    color: var(--b2b-brand, #0098c7);
    outline: none;
}

.b2b-compare-board {
    min-width: max(100%, calc(176px + (var(--b2b-compare-count) * 250px)));
    overflow: visible;
}

.b2b-compare-products,
.b2b-compare-card {
    display: grid;
    grid-template-columns: 176px repeat(var(--b2b-compare-count), minmax(250px, 1fr));
    overflow: hidden;
}

.b2b-compare-products {
    gap: 10px;
    margin-bottom: 12px;
}

.b2b-compare-spacer {
    position: sticky;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: end;
    min-height: 156px;
    padding: 0 10px 10px 0;
    background: #eef2f5;
    color: #667582;
    font-size: 12px;
    font-weight: 700;
}

.b2b-compare-product-card,
.b2b-compare-card {
    border: 1px solid #dbe3e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(23, 33, 43, 0.03);
}

.b2b-compare-product-card {
    display: grid;
    grid-template-rows: 104px minmax(0, 1fr) auto;
    overflow: hidden;
}

.b2b-compare-image {
    display: grid;
    place-items: center;
    min-height: 104px;
    border-bottom: 1px solid #edf2f4;
    background: #fff;
}

.b2b-compare-image img {
    display: block;
    max-width: 100%;
    max-height: 86px;
    object-fit: contain;
}

.b2b-compare-card-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 9px 10px;
}

.b2b-compare-card-copy strong {
    color: #202a32;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.b2b-compare-card-copy span,
.b2b-compare-card-copy small {
    color: #667582;
    font-size: 11px;
    line-height: 1.3;
}

.b2b-compare-card-copy .b2b-compare-card-error {
    color: #9b3434;
    font-weight: 700;
}

.b2b-compare-product-card form {
    margin: 0;
    padding: 0 10px 10px;
}

.b2b-compare-product-card button {
    width: 100%;
}

.b2b-compare-card {
    margin-bottom: 12px;
}

.b2b-compare-row {
    display: contents;
}

.b2b-compare-label,
.b2b-compare-cell {
    min-height: 42px;
    padding: 10px 12px;
    border-bottom: 1px solid #e8eef1;
    color: #26313c;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
}

.b2b-compare-row:nth-child(even) .b2b-compare-label,
.b2b-compare-row:nth-child(even) .b2b-compare-cell {
    background: #f2f5f7;
}

.b2b-compare-row:last-child .b2b-compare-label,
.b2b-compare-row:last-child .b2b-compare-cell {
    border-bottom: 0;
}

.b2b-compare-label {
    position: sticky;
    left: 0;
    z-index: 2;
    color: #253541;
    font-weight: 700;
}

.b2b-compare-row:nth-child(odd) .b2b-compare-label {
    background: #fff;
}

.b2b-compare-row:nth-child(even) .b2b-compare-label {
    background: #f2f5f7;
}

.b2b-compare-row.is-different .b2b-compare-cell {
    background: #fff7df;
    box-shadow: inset 4px 0 0 #e6b64b;
}

.b2b-compare-row.is-different .b2b-compare-label {
    background: #fffaf0;
    color: #7c5a00;
}

.b2b-compare-empty {
    color: #8a96a3;
}

.b2b-compare-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 10px;
    color: #202a32;
    font-size: 15px;
    font-weight: 500;
}

.b2b-compare-section-title::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #d7e0e5;
}

.b2b-hek,
.b2b-realtime-note {
    margin-top: 12px;
    color: #687785;
    font-size: 12px;
}

.b2b-realtime-note {
    padding: 8px 10px;
    border: 1px solid #f2cf70;
    border-radius: 7px;
    background: #fff8df;
    color: #76520e;
}

.b2b-content-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.b2b-content-badges > div {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px;
    border: 1px solid #dde5ec;
    border-radius: 7px;
    background: #f8fafc;
}

.b2b-content-badges strong,
.b2b-content-badges small {
    display: block;
}

.b2b-content-badges strong {
    color: #26323b;
    font-size: 12px;
}

.b2b-content-badges > .b2b-eprel-card {
    justify-content: center;
    min-height: 112px;
    padding: 8px;
}

.b2b-content-badges > .b2b-charger-pictograms {
    grid-column: span 2;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.b2b-eprel-pictogram,
.b2b-charger-pictogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    padding: 6px;
    border: 1px solid #d6e0e7;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.b2b-eprel-pictogram {
    width: 112px;
}

.b2b-eprel-pictogram:hover,
.b2b-eprel-pictogram:focus-visible,
.b2b-charger-pictogram:hover,
.b2b-charger-pictogram:focus-visible {
    border-color: var(--b2b-brand, #0098c7);
    box-shadow: 0 0 0 2px rgba(0, 152, 199, 0.14);
    outline: none;
}

.b2b-eprel-pictogram img,
.b2b-charger-pictogram img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.b2b-charge-icon,
.b2b-doc-icon,
.b2b-realtime-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: #eaf7fc;
    color: #007fa9;
    font-weight: 700;
}

.b2b-detail-tabs {
    display: flex;
    gap: 14px;
    padding: 0 18px;
    border-top: 1px solid #e1e7ec;
    border-bottom: 1px solid #d9e1e7;
}

.b2b-detail-tabs button,
.b2b-detail-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #2f3b45;
    font-size: 13px;
    text-decoration: none;
}

.b2b-detail-tabs button.is-active,
.b2b-detail-tabs a.is-active {
    border-bottom-color: #0098c7;
    color: #0098c7;
}

.b2b-detail-content {
    padding: 14px 18px 18px;
}

.b2b-data-notice {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #efd487;
    border-left: 4px solid #d59400;
    border-radius: 7px;
    background: #fff8df;
    color: #6f4f0d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.b2b-source-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.b2b-source-table th,
.b2b-source-table td {
    padding: 11px 10px;
    border-bottom: 1px solid #e2e8ee;
    text-align: left;
    vertical-align: middle;
}

.b2b-source-table th {
    background: #f7f9fb;
    color: #374151;
    font-weight: 600;
}

.b2b-source-price {
    color: #0098c7;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.b2b-tech-table {
    width: 100%;
    table-layout: auto;
    border: 1px solid #dce4eb;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
    font-size: 13px;
}

.b2b-tech-table th,
.b2b-tech-table td {
    min-height: 44px;
    padding: 12px 16px;
    border-right: 1px solid #e1e8ee;
    border-bottom: 1px solid #e1e8ee;
    color: #2f3b45;
    line-height: 1.35;
    text-align: left;
    vertical-align: top;
}

.b2b-tech-table th {
    background: #f5f7fa;
    color: #344052;
    font-weight: 700;
}

.b2b-tech-table td {
    background: #fff;
    overflow-wrap: anywhere;
}

.b2b-tech-table tr:last-child th,
.b2b-tech-table tr:last-child td {
    border-bottom: 0;
}

.b2b-tech-table th:last-child,
.b2b-tech-table td:last-child {
    border-right: 0;
}

.b2b-tech-table .b2b-tech-section-row th {
    width: 100%;
    border-right: 0;
    background: #eaf4f8;
    color: #006f96;
    font-size: 12px;
}

.b2b-tech-table .b2b-tech-name-row th,
.b2b-tech-table .b2b-tech-value-row td {
    width: 100%;
    border-right: 0;
}

.b2b-tech-table .b2b-tech-name-row th {
    padding-bottom: 6px;
    border-bottom: 0;
    background: #f7f9fb;
    color: #334155;
}

.b2b-tech-table .b2b-tech-value-row td {
    padding-top: 6px;
}

.b2b-description-panel {
    padding: 14px 16px;
    border: 1px solid #dce4eb;
    border-radius: 8px;
    background: #fff;
    color: #2f3b45;
    font-size: 13px;
    line-height: 1.55;
}

.b2b-description-sections,
.b2b-accessory-groups {
    display: grid;
    gap: 8px;
}

.b2b-description-section,
.b2b-accessory-group {
    border: 1px solid #dce4eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.b2b-description-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 14px;
    border-bottom: 1px solid #e2e8ee;
    background: #f5f7fa;
    color: #26323b;
    font-size: 12px;
}

.b2b-description-section-head span {
    color: var(--b2b-brand, #0098c7);
    font-size: 14px;
    line-height: 1;
}

.b2b-description-section-body {
    padding: 12px 16px;
    color: #2f3b45;
    font-size: 13px;
    line-height: 1.55;
}

.b2b-description-section-body ul,
.b2b-description-section-body ol {
    margin: 0;
    padding-left: 18px;
}

.b2b-description-section-body li + li {
    margin-top: 5px;
}

.b2b-accessory-group h3 {
    margin: 0;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8ee;
    background: #f5f7fa;
    color: #26323b;
    font-size: 12px;
    font-weight: 700;
}

.b2b-accessory-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 110px 42px;
    gap: 12px;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid #edf1f4;
}

.b2b-accessory-row:last-child {
    border-bottom: 0;
}

.b2b-accessory-main {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    color: #26323b;
    text-decoration: none;
}

.b2b-accessory-main strong,
.b2b-accessory-main small {
    display: block;
    overflow-wrap: anywhere;
}

.b2b-accessory-main small,
.b2b-accessory-stock {
    color: #64717d;
    font-size: 12px;
}

.b2b-accessory-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 42px;
}

.b2b-accessory-image img {
    max-width: 52px;
    max-height: 42px;
    object-fit: contain;
}

.b2b-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
    border: 1px solid #e2e8ee;
    border-radius: 7px;
    overflow: hidden;
}

.b2b-spec-grid div {
    display: grid;
    grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
    min-width: 0;
    border-bottom: 1px solid #e2e8ee;
}

.b2b-spec-grid strong,
.b2b-spec-grid span {
    padding: 9px 10px;
    font-size: 12px;
}

.b2b-spec-grid strong {
    background: #f7f9fb;
    color: #374151;
    font-weight: 600;
}

.b2b-cart-lines {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.b2b-cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px minmax(90px, auto) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #dce3e9;
    border-radius: 7px;
    background: #fff;
}

.b2b-cart-line strong,
.b2b-cart-line small {
    display: block;
    overflow-wrap: anywhere;
}

.b2b-cart-line input {
    width: 100%;
    margin-top: 7px;
}

.b2b-stepper {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
    height: 32px;
    border: 1px solid #c7d0d8;
    border-radius: 5px;
    overflow: hidden;
}

.b2b-stepper button {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #4b5563;
}

.b2b-stepper span {
    text-align: center;
}

.b2b-order-total {
    display: grid;
    justify-items: end;
    gap: 3px;
    margin-top: 12px;
    color: #4b5563;
}

.b2b-order-total-lines {
    display: grid;
    justify-items: end;
    gap: 2px;
    font-size: 12px;
}

.b2b-order-total-lines span {
    display: inline-flex;
    gap: 8px;
}

.b2b-order-total-lines em {
    color: #687785;
    font-style: normal;
}

.b2b-order-total-lines strong {
    color: #40515f;
    font-size: 12px;
}

.b2b-order-total strong {
    color: #1f2933;
    font-size: 18px;
}

.b2b-order-total .b2b-order-total-lines strong {
    color: #40515f;
    font-size: 12px;
}

.b2b-order-card {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dce3e9;
    border-radius: 7px;
    background: #fff;
}

.b2b-order-card + .b2b-order-card {
    margin-top: 8px;
}

.b2b-order-head,
.b2b-order-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.b2b-order-meta {
    color: #687785;
    font-size: 12px;
}

.b2b-order-lines {
    display: grid;
    gap: 4px;
    color: #374151;
    font-size: 12px;
}

.b2b-order-addresses {
    display: grid;
    gap: 4px;
    padding-top: 6px;
    border-top: 1px solid #edf1f4;
    color: #5d6b76;
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 1180px) {
    .b2b-layout,
    .b2b-shop-body {
        grid-template-columns: 1fr;
    }

    .b2b-category-pane {
        border-right: 0;
        border-bottom: 1px solid #d7dee4;
    }

    .b2b-shop-head {
        grid-template-columns: 1fr;
    }

    .b2b-shop-meta {
        justify-content: flex-start;
        flex-wrap: wrap;
        white-space: normal;
    }
}

@media (max-width: 900px) {
    .b2b-grid-two,
    .b2b-bc-provision-hints,
    .b2b-detail-hero,
    .b2b-content-badges,
    .b2b-spec-grid {
        grid-template-columns: 1fr;
    }

    .b2b-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .b2b-cart-line {
        grid-template-columns: 1fr;
    }

    .b2b-address-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .b2b-address-actions {
        justify-content: flex-start;
    }

    .b2b-accessory-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .b2b-accessory-row button {
        width: max-content;
    }

    .b2b-tech-table,
    .b2b-tech-table tbody,
    .b2b-tech-table tr,
    .b2b-tech-table th,
    .b2b-tech-table td {
        display: block;
        width: 100%;
    }

    .b2b-content-badges > .b2b-eprel-card,
    .b2b-content-badges > .b2b-charger-pictograms {
        grid-column: auto;
    }

    .b2b-eprel-pictogram,
    .b2b-charger-pictogram {
        width: 86px;
        height: 86px;
    }

    .b2b-tech-table th,
    .b2b-tech-table td {
        border-right: 0;
    }

    .b2b-tech-table td {
        border-bottom: 1px solid #e1e8ee;
    }
}

@media (max-width: 640px) {
    .b2b-toolbar,
    .b2b-card-head,
    .b2b-shop-status,
    .b2b-order-head,
    .b2b-order-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .b2b-tabs {
        overflow-x: auto;
    }

    .b2b-form-grid,
    .b2b-bc-provision-row,
    .b2b-user-grid,
    .b2b-address-grid,
    .b2b-order-grid,
    .b2b-metric-grid,
    .b2b-relationship-create,
    .b2b-relationship-row {
        grid-template-columns: 1fr;
    }

    .b2b-bc-provision-row button {
        width: 100%;
    }

    .b2b-detail-hero {
        padding: 18px;
    }
}
