/* Portal de compras empresariais: identidade RT e controles acessíveis. */
.b2b-toolbar-inner {
    flex-wrap: wrap;
}
.b2b-search {
    display: flex;
    flex: 0 0 100%;
    border: 1px solid #cbd9e3;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.b2b-search input {
    min-width: 0;
    flex: 1;
    padding: 13px 17px;
    border: 0;
    background: transparent;
    font-size: 14px;
    color: #082840;
}
.b2b-search button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #082840;
    color: #fff;
    border: 0;
    padding: 12px 25px;
    font-weight: 700;
}
.b2b-search input:focus {
    outline: 2px solid #79c944;
    outline-offset: -3px;
}
.b2b-category-nav {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-top: 24px;
    padding-bottom: 24px;
}
.b2b-category-nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 20px;
    border: 1px solid #dce6ee;
    border-radius: 8px;
    color: #082840;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.b2b-category-nav svg {
    width: 22px;
    height: 22px;
    color: #278900;
}
.b2b-category-nav a.selected {
    border-color: #7ac938;
    background: #f0fbe6;
}
.b2b-catalog-hero.corp-page-hero {
    min-height: 300px;
    padding-top: 35px;
    padding-bottom: 35px;
}
.b2b-catalog-hero.corp-page-hero h1 {
    font-size: clamp(29px, 3vw, 42px);
    margin-top: 12px;
    margin-bottom: 14px;
}
.b2b-catalog-hero .corp-breadcrumb {
    margin-bottom: 12px;
}
.b2b-catalog-hero.corp-page-hero p {
    font-size: 14px;
    max-width: 520px;
}
.b2b-catalog-hero .corp-actions {
    margin-top: 16px;
}
.b2b-toolbar {
    background: #f2f7fa;
    border-bottom: 1px solid #dce6ee;
    color: #082840;
}
.b2b-toolbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 22px 0;
}
.b2b-toolbar-inner > div:first-child {
    display: grid;
    gap: 5px;
}
.b2b-pill {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #168600;
}
.b2b-toolbar strong {
    font-size: 18px;
}
.b2b-toolbar small {
    color: #566879;
    font-size: 12px;
}
.b2b-toolbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.b2b-toolbar-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #082840;
    text-decoration: none;
    max-width: 260px;
    overflow-wrap: anywhere;
}
.b2b-toolbar svg {
    width: 20px;
    height: 20px;
}
.b2b-toolbar .button {
    padding: 12px 18px;
}
.b2b-page {
    padding-top: 35px;
    padding-bottom: 70px;
    min-height: 55vh;
}
.b2b-breadcrumb {
    font-size: 13px;
    color: #687b8c;
    margin-bottom: 25px;
}
.b2b-page h1 {
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 800;
    color: #082840;
    line-height: 1.1;
    margin: 15px 0 20px;
}
.b2b-page h1 em {
    color: #238900;
    font-style: normal;
}
.b2b-page p {
    color: #536778;
    line-height: 1.6;
}
.b2b-page h2 {
    font-size: 22px;
    font-weight: 750;
    color: #082840;
}
.b2b-page h3 {
    font-size: 17px;
    margin-top: 22px;
}
.b2b-account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    max-width: 1100px;
    margin: 30px auto;
}
.b2b-account-grid > div:first-child {
    padding-top: 30px;
}
.b2b-panel {
    background: #fff;
    border: 1px solid #dfe8ef;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 30px #08284005;
    margin-bottom: 20px;
}
.b2b-form {
    display: grid;
    gap: 17px;
}
.b2b-form label {
    display: grid;
    gap: 7px;
    color: #19364d;
    font-weight: 650;
    font-size: 14px;
}
.b2b-form input,
.b2b-form textarea {
    width: 100%;
    border: 1px solid #cbd9e3;
    border-radius: 7px;
    padding: 12px;
    color: #082840;
    background: #fff;
    font: inherit;
}
.b2b-form input:focus,
.b2b-form textarea:focus {
    outline: 2px solid #79c944;
    outline-offset: 2px;
}
.b2b-form small {
    font-size: 12px;
    color: #647685;
    line-height: 1.5;
    font-weight: 400;
}
.b2b-form .b2b-check {
    display: block;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.6;
}
.b2b-check input {
    width: auto;
    margin-right: 6px;
}
.b2b-form .button {
    width: 100%;
    justify-content: center;
}
.b2b-steps {
    padding-left: 23px;
    line-height: 2.7;
    color: #19364d;
}
.b2b-alert {
    background: #fff8e6;
    color: #6d530e;
    border: 1px solid #e8d498;
    border-radius: 8px;
    padding: 17px 22px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}
.b2b-alert.success {
    background: #effbe8;
    color: #235c12;
    border-color: #c5e3b5;
}
.b2b-buy {
    border-top: 1px solid #e5edf2;
    padding-top: 16px;
    margin-top: 14px;
    display: grid;
    gap: 10px;
}
.b2b-buy > small {
    font-size: 11px;
    color: #617485;
    line-height: 1.5;
}
.b2b-buy .button {
    justify-content: center;
    width: 100%;
    padding: 11px 10px;
    font-size: 12px;
}
.b2b-price-lock {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #19364d;
    font-weight: 700;
    font-size: 12px;
}
.b2b-price-lock svg {
    width: 18px;
    height: 18px;
}
.b2b-price {
    display: block;
    color: #082840;
    font-size: 26px;
    font-weight: 800;
}
.b2b-sku {
    display: block;
    color: #627583;
    font-size: 11px;
    margin-top: 10px;
}
.b2b-add-form {
    display: grid;
    gap: 10px;
}
.b2b-add-form label {
    font-size: 11px;
    color: #536778;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.b2b-add-form input {
    width: 80px;
    padding: 7px;
    border: 1px solid #cbd9e3;
    border-radius: 6px;
}
.b2b-empty {
    text-align: center;
    background: #f5f9fc;
    border: 1px dashed #d4e0e9;
    border-radius: 14px;
    padding: 65px 20px;
    margin: 35px 0;
}
.b2b-empty > svg {
    height: 48px;
    width: 48px;
    color: #349600;
    margin-bottom: 20px;
}
.b2b-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 30px;
    margin-top: 35px;
}
.b2b-cart-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.b2b-cart-line h2 {
    font-size: 18px;
}
.b2b-cart-line input {
    max-width: 100px;
}
.b2b-link-button {
    background: none;
    border: 0;
    padding: 5px 0;
    color: #226800;
    text-decoration: underline;
    font-size: 12px;
    cursor: pointer;
}
.b2b-dark {
    background: #082840 !important;
    color: white !important;
    margin-top: 25px;
}
.b2b-table-wrap {
    overflow-x: auto;
}
.b2b-table {
    width: 100%;
    border-collapse: collapse;
    color: #19364d;
    margin: 25px 0;
    min-width: 520px;
}
.b2b-table th,
.b2b-table td {
    text-align: left;
    border-bottom: 1px solid #dfe8ef;
    padding: 17px 12px;
    font-size: 14px;
}
.b2b-table th {
    background: #f1f6fa;
    font-size: 12px;
}
.b2b-preline {
    white-space: pre-line;
}
.b2b-page .button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.b2b-page a:not(.button) {
    color: #207500;
}
.corp-catalog-card .b2b-price {
    font-size: 23px;
}
@media (max-width: 900px) {
    .b2b-toolbar-inner {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .b2b-account-grid,
    .b2b-cart-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .b2b-account-grid {
        margin: 0;
    }
    .b2b-toolbar-links {
        gap: 15px;
    }
    .b2b-toolbar-links a {
        font-size: 12px;
    }
    .b2b-panel {
        padding: 22px;
    }
    .b2b-cart-line {
        flex-wrap: wrap;
    }
    .b2b-page {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* Resumo e recebimento da solicitação comercial. */
.b2b-cart-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: start; }
.b2b-summary { padding: 28px; border-radius: 18px; box-shadow: 0 12px 36px #0828400d; }
.b2b-summary > h2 { margin: 0 0 24px; font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -1px; line-height: 1.2; }
.b2b-summary-total { display: flex; align-items: center; gap: 24px; background: #f3f7fa; border: 1px solid #e3edf4; border-radius: 12px; padding: 24px 20px; color: #62748c; }
.b2b-summary-total strong { display: block; color: #061d38; font-size: clamp(28px, 3vw, 38px); line-height: 1.3; font-weight: 800; }
.b2b-summary-total small { display: block; font-size: 15px; }
.b2b-summary-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: #edf2f7; color: #082840; }
.b2b-summary-icon svg { width: 32px; height: 32px; }
.b2b-summary-total .b2b-summary-icon { width: 66px; height: 66px; background: #e6f8db; color: #198500; }
.b2b-page .b2b-summary-notice { display: flex; gap: 18px; padding: 18px 20px; margin: 16px 0 28px; background: #f2f7fb; border-radius: 12px; font-size: 15px; line-height: 1.5; color: #657992; }
.b2b-summary-notice > svg { flex-shrink: 0; width: 26px; height: 26px; color: #254d8c; }
.b2b-checkout { gap: 23px; }
.b2b-fulfillment { padding: 0; margin: 0; border: 0; min-width: 0; }
.b2b-fulfillment legend { font-size: 21px; font-weight: 750; color: #061d38; margin-bottom: 16px; }
.b2b-fulfillment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b2b-form .b2b-fulfillment-option { position: relative; display: flex; align-items: center; gap: 12px; border: 1px solid #cbd7e4; border-radius: 8px; padding: 15px 35px 15px 12px; cursor: pointer; }
.b2b-fulfillment-option strong { display: block; font-size: 17px; color: #061d38; }
.b2b-fulfillment-option small { display: block; font-size: 13px; margin-top: 4px; }
.b2b-form .b2b-fulfillment-option input { position: absolute; right: 13px; top: 18px; width: 22px; height: 22px; margin: 0; accent-color: #35ae00; }
.b2b-fulfillment-option:has(input:checked) { border: 2px solid #56ce16; padding: 14px 34px 14px 11px; background: #f5fdef; }
.b2b-fulfillment-option:has(input:checked) .b2b-summary-icon { color: #198500; background: #e4f7d9; }
.b2b-delivery-fields { display: grid; grid-template-columns: 1.1fr 1.2fr .72fr; gap: 20px 14px; }
.b2b-field-street, .b2b-field-extra { grid-column: span 2; }
.b2b-delivery-fields label { min-width: 0; }
.b2b-delivery-fields b { color: #ef3939; margin-left: 3px; }
.b2b-checkout input, .b2b-checkout textarea, .b2b-checkout select { box-sizing: border-box; font-weight: 400; font-size: 15px; }
.b2b-checkout select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #cbd9e3; border-radius: 7px; background: white; color: #082840; font-family: inherit; }
.b2b-checkout select:focus { outline: 2px solid #79c944; outline-offset: 2px; }
.b2b-checkout input::placeholder, .b2b-checkout textarea::placeholder { color: #8a96a7; opacity: 1; }
.b2b-order-notes { border-top: 1px solid #d3dde6; padding-top: 18px; }
.b2b-order-notes label { font-size: 18px; margin-bottom: 12px; }
.b2b-order-notes em { font-weight: 400; font-style: normal; color: #687a8e; }
.b2b-order-notes textarea { resize: vertical; min-height: 92px; }
.b2b-order-notes > small { display: block; text-align: right; margin-top: 5px; }
.b2b-checkout .b2b-request-button { background: #75e125; color: #061d38; border-radius: 8px; padding: 20px 14px; font-size: 18px; font-weight: 750; gap: 20px; }
.b2b-request-button svg { width: 26px; height: 26px; }
.b2b-page .b2b-summary-footer { display: flex; gap: 16px; border-top: 1px solid #d3dde6; padding-top: 16px; margin: -8px 0 0; font-size: 13px; line-height: 1.5; color: #657992; }
.b2b-summary-footer svg { flex-shrink: 0; width: 22px; height: 22px; }
.b2b-checkout [hidden] { display: none; }
@media (max-width: 1000px) { .b2b-cart-layout { grid-template-columns: 1fr; } }
@media (max-width: 540px) {
    .b2b-summary { padding: 20px 16px; }
    .b2b-fulfillment-options { grid-template-columns: 1fr; }
    .b2b-delivery-fields { grid-template-columns: 1fr 1fr; }
    .b2b-field-street, .b2b-field-extra, .b2b-field-city { grid-column: span 2; }
    .b2b-field-street { grid-row: 2; }
    .b2b-summary-total { gap: 16px; padding: 20px 14px; }
    .b2b-checkout .b2b-request-button { font-size: 16px; }
}
/* Itens do pedido com imagem e quantidade unitária. */
.b2b-cart-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.b2b-cart-line { display: grid; grid-template-columns: 130px minmax(0, 1fr) 140px; gap: 20px; padding: 24px; align-items: start; }
.b2b-cart-photo { display: flex; align-items: center; justify-content: center; min-height: 160px; background: #f2f6fa; border-radius: 12px; overflow: hidden; }
.b2b-cart-photo img { display: block; width: 100%; height: 160px; object-fit: contain; padding: 10px; box-sizing: border-box; }
.b2b-cart-photo svg { width: 60px; height: 60px; }
.b2b-cart-description { min-width: 0; }
.b2b-cart-description h2 { margin: 6px 0 16px; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.b2b-cart-description small, .b2b-cart-subtotal span { font-size: 14px; color: #64758c; }
.b2b-cart-description p { margin: 8px 0; font-size: 14px; }
.b2b-cart-subtotal { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e3eaf1; }
.b2b-cart-subtotal strong { display: block; font-size: 24px; color: #071d35; margin-top: 4px; }
.b2b-cart-actions { border-left: 1px solid #e3eaf1; padding-left: 18px; }
.b2b-cart-actions .b2b-form { gap: 10px; }
.b2b-quantity-control { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; border: 1px solid #d3dfe9; border-radius: 8px; overflow: hidden; }
.b2b-quantity-control button { border: 0; background: #f4f7fa; color: #168600; font: inherit; font-size: 24px; cursor: pointer; }
.b2b-quantity-control button:disabled { opacity: .4; cursor: default; }
.b2b-quantity-control input { border: 0; border-left: 1px solid #e3eaf1; border-right: 1px solid #e3eaf1; border-radius: 0; text-align: center; padding: 12px 0; font-size: 18px; font-weight: 750; appearance: textfield; -moz-appearance: textfield; }
.b2b-quantity-control input::-webkit-inner-spin-button, .b2b-quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.b2b-cart-actions .b2b-cart-update { margin-top: 6px; background: #208917; color: #fff; font-size: 13px; padding: 13px 8px; gap: 8px; border-radius: 8px; }
.b2b-cart-update svg, .b2b-cart-remove svg { width: 20px; height: 20px; flex-shrink: 0; }
.b2b-cart-remove { display: flex; gap: 14px; align-items: center; justify-content: center; width: 100%; padding: 15px 0 0; border: 0; background: transparent; color: #168600; cursor: pointer; font: inherit; font-size: 13px; }
.b2b-cart-remove span { text-decoration: underline; }
.b2b-cart-remove svg { color: #748394; }
.b2b-cart-continue { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.b2b-cart-continue a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; font-weight: 650; }
.b2b-cart-continue a:first-child { background: #edf6ef; border-radius: 8px; padding: 18px 22px; flex-grow: 1; }
.b2b-cart-continue svg { width: 24px; height: 24px; flex-shrink: 0; }
@media (max-width: 1200px) { .b2b-cart-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .b2b-cart-line { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 18px; }
    .b2b-cart-photo { min-height: 120px; }
    .b2b-cart-photo img { height: 120px; }
    .b2b-cart-actions { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e3eaf1; padding: 16px 0 0; }
    .b2b-cart-actions .b2b-form { grid-template-columns: 1fr 1fr; align-items: end; }
    .b2b-cart-actions .b2b-form > label { grid-column: 1 / -1; }
    .b2b-cart-actions .b2b-cart-update { margin: 0; min-height: 47px; }
}
