.woocommerce ul.woocommerce-shipping-methods,
.bj-shipping-results__list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.woocommerce ul.woocommerce-shipping-methods li,
.bj-shipping-results__item {
    background: #fff;
    border: 1px solid #d8dcdf;
    border-radius: 6px;
    box-sizing: border-box;
    color: #202427;
    margin: 0;
    min-width: 0;
    padding: 12px;
}

.woocommerce ul.woocommerce-shipping-methods li {
    align-items: start;
    display: grid;
    gap: 0 10px;
    grid-template-columns: 18px minmax(0, 1fr);
}

.woocommerce ul.woocommerce-shipping-methods li > input[type="radio"] {
    accent-color: #202427;
    float: none;
    height: 18px;
    margin: 3px 0 0;
    width: 18px;
}

.woocommerce ul.woocommerce-shipping-methods li > label {
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    margin: 0;
    min-width: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.woocommerce ul.woocommerce-shipping-methods li > :not(input):not(label) {
    grid-column: 2;
}

.woocommerce ul.woocommerce-shipping-methods li:has(> input[type="hidden"]) {
    grid-template-columns: minmax(0, 1fr);
}

.woocommerce ul.woocommerce-shipping-methods li:has(> input[type="hidden"]) > :not(input):not(label) {
    grid-column: 1;
}

.woocommerce ul.woocommerce-shipping-methods li:has(> input:checked) {
    background: #fffbed;
    border-color: #797044;
}

.woocommerce ul.woocommerce-shipping-methods li:focus-within {
    outline: 2px solid #202427;
    outline-offset: 2px;
}

.bj-shipping-option,
.bj-shipping-results__item {
    align-items: start;
    display: grid;
    gap: 8px 12px;
    grid-template-columns: minmax(0, 1fr) minmax(88px, auto);
    line-height: 1.45;
}

.bj-shipping-option__info {
    align-items: start;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-width: 0;
}

.bj-shipping-option__name {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.bj-shipping-option__time {
    color: #60686e;
    display: block;
    flex-basis: 100%;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}

.bj-shipping-option__price {
    color: #202427;
    display: block;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0;
    max-width: 154px;
    min-width: 0;
    text-align: right;
}

.bj-shipping-option__price .amount,
.bj-shipping-option__free {
    white-space: nowrap;
}

.bj-shipping-option__price del,
.bj-shipping-option__price small {
    color: #697178;
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.bj-shipping-option__price small .amount {
    font-size: inherit;
    font-weight: inherit;
}

.bj-shipping-option__badge,
.woocommerce ul.woocommerce-shipping-methods li:first-child:not(:only-child) .bj-shipping-option__name::after {
    background: #eaf4ed;
    border-radius: 3px;
    color: #205e36;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.5;
    padding: 1px 5px;
    text-transform: none;
    vertical-align: middle;
    white-space: nowrap;
}

.woocommerce ul.woocommerce-shipping-methods li:first-child:not(:only-child) .bj-shipping-option__name::after {
    content: "Menor pre\00e7o";
    margin-left: 7px;
}

.infixs-correios-automatico-shipping-results.bj-shipping-results {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 16px 0 0;
    padding: 0;
    width: 100%;
}

.bj-shipping-results__destination {
    align-items: baseline;
    border-bottom: 1px solid #d8dcdf;
    color: #60686e;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 4px 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.bj-shipping-results__destination strong {
    color: #202427;
    font-weight: 600;
}

.bj-shipping-results__heading {
    align-items: center;
    color: #60686e;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.bj-shipping-results__heading strong {
    color: #202427;
    font-size: 14px;
    font-weight: 600;
}

.bj-shipping-results__empty {
    color: #60686e;
    font-size: 14px;
    margin: 0;
    padding: 10px 0;
}

.bj-single-product__shipping-card .infixs-correios-automatico-calculator-title {
    display: none;
}

.bj-single-product__shipping-card .infixs-correios-automatico-calculate-box {
    align-items: stretch;
    display: flex;
    gap: 8px;
    width: 100%;
}

.bj-single-product__shipping-card .infixs-correios-automatico-input-text {
    align-items: center;
    background: #fff;
    border: 1px solid #aeb7be;
    border-radius: 6px;
    color: #202427;
    display: flex;
    flex: 1;
    gap: 10px;
    min-width: 0;
    padding: 0 12px;
}

.bj-single-product__shipping-card .infixs-correios-automatico-input-text:focus-within {
    outline: 2px solid #202427;
    outline-offset: 2px;
}

.bj-single-product__shipping-card .infixs-correios-automatico-input-text-prepend,
.bj-single-product__shipping-card .infixs-correios-automatico-input-text-append {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
}

.bj-single-product__shipping-card .infixs-correios-automatico-input-text-prepend svg {
    height: 20px;
    width: 20px;
}

.bj-single-product__shipping-card input.infixs-correios-automatico-input {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    flex: 1;
    font-family: inherit;
    font-size: 15px;
    height: 46px;
    line-height: 1.4;
    min-width: 0;
    outline: none;
    padding: 10px 0;
    width: 100%;
}

.bj-single-product__shipping-card .infixs-correios-automatico-calculate-submit {
    align-items: center;
    background: #202427;
    border: 0;
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    height: 46px;
    justify-content: center;
    margin: 0;
    padding: 0 14px;
    text-decoration: none;
}

.bj-single-product__shipping-card .infixs-correios-automatico-calculate-find-link {
    color: #60686e;
    display: inline-block;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 8px;
    text-decoration: underline;
}

body[data-bj-theme="dark"] .woocommerce ul.woocommerce-shipping-methods li,
body[data-bj-theme="dark"] .bj-shipping-results__item {
    background: #222426;
    border-color: #464a4e;
    color: #f2f3f4;
}

body[data-bj-theme="dark"] .woocommerce ul.woocommerce-shipping-methods li:has(> input:checked) {
    background: #302e24;
    border-color: #a69a60;
}

body[data-bj-theme="dark"] .bj-shipping-option__price,
body[data-bj-theme="dark"] .bj-shipping-results__destination strong,
body[data-bj-theme="dark"] .bj-shipping-results__heading strong {
    color: #f2f3f4;
}

body[data-bj-theme="dark"] .bj-shipping-option__time,
body[data-bj-theme="dark"] .bj-shipping-option__price del,
body[data-bj-theme="dark"] .bj-shipping-option__price small,
body[data-bj-theme="dark"] .bj-shipping-results__destination,
body[data-bj-theme="dark"] .bj-shipping-results__heading,
body[data-bj-theme="dark"] .bj-shipping-results__empty {
    color: #b9c0c5;
}

body[data-bj-theme="dark"] .bj-shipping-results__destination {
    border-color: #464a4e;
}

body[data-bj-theme="dark"] .bj-single-product__shipping-card .infixs-correios-automatico-input-text {
    background: #222426;
    border-color: #71787e;
    color: #f2f3f4;
}

body[data-bj-theme="dark"] .bj-single-product__shipping-card .infixs-correios-automatico-calculate-find-link {
    color: #b9c0c5;
}

body[data-bj-theme="dark"] .bj-shipping-option__badge,
body[data-bj-theme="dark"] .woocommerce ul.woocommerce-shipping-methods li:first-child:not(:only-child) .bj-shipping-option__name::after {
    background: #293e30;
    color: #b9e1c4;
}

@media (max-width: 420px) {
    .woocommerce ul.woocommerce-shipping-methods li,
    .bj-shipping-results__item {
        padding: 10px;
    }

    .bj-shipping-option,
    .bj-shipping-results__item {
        gap: 6px 8px;
        grid-template-columns: minmax(0, 1fr) minmax(80px, auto);
    }

    .bj-shipping-option__price {
        max-width: 118px;
    }
}
