/* =========================================================
   PRODUTO — COTAÇÃO DE FRETE PARA PRONTA ENTREGA
   ========================================================= */

.product-freight-calculator {
    margin-top: 1.25rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(28, 31, 24, 0.10);
}

.product-freight-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.product-freight-heading > div {
    display: grid;
    gap: 0.15rem;
}

.product-freight-heading span {
    color: #c95f08;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.product-freight-heading strong {
    color: #181a16;
    font-size: 1rem;
    line-height: 1.25;
}

.product-freight-heading small {
    color: #68685f;
    font-size: 0.78rem;
    text-align: right;
}

.product-freight-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 105px minmax(138px, auto);
    gap: 0.65rem;
    align-items: end;
}

.product-freight-form.no-quantity {
    grid-template-columns: minmax(0, 1fr) minmax(138px, auto);
}

.product-freight-form label {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.product-freight-form label > span {
    color: #65665e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-freight-form input {
    width: 100%;
    min-height: 46px;
    padding: 0.72rem 0.85rem;
    border: 1px solid rgba(28, 31, 24, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: #171914;
    font: inherit;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.product-freight-form input:focus {
    border-color: rgba(217, 102, 10, 0.58);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(217, 102, 10, 0.08);
}

.product-freight-button {
    min-height: 46px;
    padding: 0.72rem 1rem;
    border: 0;
    border-radius: 12px;
    background: #df6507;
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
    min-width: 138px;
    transition: transform 160ms ease, filter 160ms ease;
}

.product-freight-button:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}

.product-freight-button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.product-freight-status {
    min-height: 1.1rem;
    margin: 0.7rem 0 0;
    color: #67685f;
    font-size: 0.82rem;
}

.product-freight-status.is-error {
    color: #a13927;
}

.product-freight-status.is-success {
    color: #53643c;
}

.product-freight-results {
    display: grid;
    gap: 0;
    margin-top: 0.7rem;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(248, 245, 237, 0.72);
}

.product-freight-option {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(110px, 0.8fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
}

.product-freight-option + .product-freight-option {
    border-top: 1px solid rgba(28, 31, 24, 0.08);
}

.product-freight-option-main,
.product-freight-option-price {
    display: grid;
    gap: 0.12rem;
}

.product-freight-option-main strong {
    color: #1a1c17;
    font-size: 0.9rem;
}

.product-freight-option-main span,
.product-freight-option-prazo,
.product-freight-option-price span {
    color: #707067;
    font-size: 0.76rem;
}

.product-freight-option-price {
    justify-items: end;
    text-align: right;
}

.product-freight-option-price strong {
    color: #161813;
    font-size: 0.95rem;
}

.product-freight-option-price small {
    color: #c15a08;
    font-size: 0.72rem;
    font-weight: 800;
}

.product-freight-footnote {
    margin: 0.7rem 0 0;
    color: #77776f;
    font-size: 0.72rem;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .product-freight-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .product-freight-heading small {
        text-align: left;
    }

    .product-freight-form {
        grid-template-columns: minmax(0, 1fr) 92px;
    }

    .product-freight-form.no-quantity {
        grid-template-columns: minmax(0, 1fr) 92px;
    }

    .product-freight-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .product-freight-option {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.35rem 0.8rem;
    }

    .product-freight-option-prazo {
        grid-column: 1;
    }

    .product-freight-option-price {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }
}

@media (max-width: 420px) {
    .product-freight-form {
        grid-template-columns: 1fr;
    }

    .product-freight-form.no-quantity {
        grid-template-columns: 1fr;
    }

    .product-freight-button {
        grid-column: auto;
    }

    .product-freight-option {
        grid-template-columns: 1fr;
    }

    .product-freight-option-price {
        grid-column: 1;
        grid-row: auto;
        justify-items: start;
        text-align: left;
        padding-top: 0.25rem;
    }
}

/* =========================================================
   PRODUTO — AÇÕES DE SOB ENCOMENDA PELO SITE
   ========================================================= */

.product-order-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.8fr);
    gap: 0.7rem;
    margin-top: 1rem;
}

.product-order-site,
.product-order-whatsapp {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
}

.product-order-site span {
    transition: transform 160ms ease;
}

.product-order-site:hover span {
    transform: translateX(3px);
}

.product-order-whatsapp {
    border: 1px solid rgba(28, 31, 24, 0.14);
    background: rgba(255, 255, 255, 0.66);
    color: #1b1d18;
}

.product-order-whatsapp:hover {
    border-color: rgba(28, 31, 24, 0.24);
    background: #fff;
    color: #1b1d18;
}

@media (max-width: 575.98px) {
    .product-order-actions {
        grid-template-columns: 1fr;
    }
}
