.ashar-frete-produto {
    margin: 22px 0 18px;
    max-width: 430px;
    color: #5f6b72;
}

.ashar-frete-produto__title {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: #66727a;
}

.ashar-frete-produto__form {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.ashar-frete-produto__cep {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d9e0e4;
    border-radius: 7px 0 0 7px;
    font-size: 16px;
    color: #11470f;
    background: #fff;
    box-shadow: none;
}

.ashar-frete-produto__cep:focus {
    outline: none;
    border-color: #6a965f;
    box-shadow: 0 0 0 1px #6a965f;
}

.ashar-frete-produto__button {
    flex: 0 0 auto;
    min-width: 88px;
    height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 0 22px 22px 0;
    background: #6a965f;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.ashar-frete-produto__button:hover,
.ashar-frete-produto__button:focus {
    background: #5c8553;
    color: #fff;
}

.ashar-frete-produto__button.is-loading,
.ashar-frete-produto__button:disabled {
    opacity: .72;
    cursor: wait;
}

.ashar-frete-produto__helper {
    display: inline-block;
    margin: 14px 0 16px;
    color: #6a965f;
    font-size: 14px;
    text-decoration: none;
}

.ashar-frete-produto__helper:hover {
    text-decoration: underline;
}

.ashar-frete-produto__result {
    margin-top: 2px;
}

.ashar-frete-produto__notice {
    padding: 12px 14px;
    border-radius: 6px;
    background: #f4f7f3;
    color: #45613e;
    font-size: 14px;
}

.ashar-frete-produto__notice--error {
    background: #fff2f2;
    color: #8a1f1f;
}

.ashar-frete-produto__notice--loading {
    background: #f4f7f3;
    color: #45613e;
}

.ashar-frete-produto__address {
    margin: 0 0 10px;
    font-size: 13px;
    color: #5f6b72;
}

.ashar-frete-produto__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #d9e0e4;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.ashar-frete-produto__table th,
.ashar-frete-produto__table td {
    padding: 13px 16px;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #e2e7ea;
    vertical-align: middle;
}

.ashar-frete-produto__table th:last-child,
.ashar-frete-produto__table td:last-child {
    width: 38%;
    text-align: left;
    white-space: nowrap;
}

.ashar-frete-produto__table-header th {
    background: #6a965f;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.ashar-frete-produto__method td {
    color: #66727a;
}

.ashar-frete-produto__method td:last-child {
    color: #222;
    font-weight: 700;
}

.ashar-frete-produto__bottom td {
    border-bottom: 0;
    background: #fafafa;
    color: #66727a;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 480px) {
    .ashar-frete-produto {
        max-width: none;
    }

    .ashar-frete-produto__form {
        display: flex;
    }

    .ashar-frete-produto__button {
        padding-left: 14px;
        padding-right: 14px;
        min-width: 82px;
    }

    .ashar-frete-produto__table th,
    .ashar-frete-produto__table td {
        padding: 12px 12px;
    }
}

/* 0.1.1: containment and responsive fixes */
.ashar-frete-produto,
.ashar-frete-produto * {
    box-sizing: border-box;
}

.ashar-frete-produto {
    width: 100%;
    max-width: 430px;
    overflow-wrap: anywhere;
}

.ashar-frete-produto__result {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.ashar-frete-produto__table {
    max-width: 100%;
    table-layout: fixed;
}

.ashar-frete-produto__table th,
.ashar-frete-produto__table td {
    overflow-wrap: break-word;
    word-break: normal;
}

.ashar-frete-produto__table th:last-child,
.ashar-frete-produto__table td:last-child {
    width: 34%;
}

.ashar-frete-produto__bottom {
    display: none;
}

.ashar-frete-produto__bottom-note {
    margin-top: 0;
    padding: 12px 14px;
    border: 1px solid #d9e0e4;
    border-top: 0;
    border-radius: 0 0 6px 6px;
    background: #fafafa;
    color: #66727a;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: break-word;
}

@media (max-width: 480px) {
    .ashar-frete-produto__form {
        gap: 0;
    }

    .ashar-frete-produto__cep {
        width: 100%;
    }

    .ashar-frete-produto__button {
        max-width: 38%;
    }
}


/* 0.1.2: posição lateral mais compacta e tabela com mais espaço para o nome do frete */
.ashar-frete-produto {
    max-width: 430px;
}

.ashar-frete-produto__form {
    justify-content: flex-start;
}

.ashar-frete-produto__cep {
    flex: 0 1 260px;
    max-width: 260px;
}

.ashar-frete-produto__button {
    min-width: 88px;
}

.ashar-frete-produto__table th:first-child,
.ashar-frete-produto__table td:first-child {
    width: 72%;
}

.ashar-frete-produto__table th:last-child,
.ashar-frete-produto__table td:last-child {
    width: 28%;
    text-align: left;
}

@media (max-width: 480px) {
    .ashar-frete-produto__cep {
        flex: 1 1 auto;
        max-width: none;
    }

    .ashar-frete-produto__table th:first-child,
    .ashar-frete-produto__table td:first-child {
        width: 68%;
    }

    .ashar-frete-produto__table th:last-child,
    .ashar-frete-produto__table td:last-child {
        width: 32%;
    }
}
