/**
 * =========================================================
 * EMIT SPORTS — MINI-CARRINHO
 * =========================================================
 */


/* =========================================================
   1. CALCULADORA DE FRETE
   ========================================================= */

#emit-mini-cart-frete {
    padding: 18px 0;
}


/* Título */
#emit-mini-cart-frete
.emit-mini-cart-frete-titulo {
    margin-bottom: 10px;

    color: var(--emit-dark);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}


/* CEP + Calcular lado a lado */
#emit-mini-cart-frete
.emit-mini-cart-frete-form {
    display: flex;

    align-items: center;

    gap: 8px;

    width: 100%;
}


/* Campo CEP */
#emit-mini-cart-cep {
    flex: 1 1 auto;

    min-width: 0;
    width: auto;

    height: 40px;

    margin: 0;
    padding: 0 11px;

    background: #fff;
    color: var(--emit-dark);

    border: 1px solid #d2d2d2;
    border-radius: 3px;

    box-shadow: none;

    font-size: 14px;
    line-height: 1;
}


/* Botão Calcular */
#emit-mini-cart-calcular {
    flex: 0 0 auto;

    width: auto;
    min-width: 78px;

    height: 40px;
    min-height: 40px;

    margin: 0;
    padding: 0 12px;

    background: #fff;
    color: #161616;

    border: 1px solid #d2d2d2;
    border-radius: 3px;

    box-shadow: none;

    font-size: 13px;
    font-weight: 500;
    line-height: 38px;
}


/* Hover */
#emit-mini-cart-calcular:hover {
    background: #f7f7f7;
    color: #161616;

    border-color: #b5b5b5;
}


/* =========================================================
   2. PREÇO
   ========================================================= */

.woocommerce-mini-cart
.woocommerce-Price-amount.amount {
    color: var(--emit-dark) !important;

    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}


/* =========================================================
   3. BOTÕES
   ========================================================= */


/* ---------------------------------------------------------
   VER CARRINHO
   --------------------------------------------------------- */

.woocommerce-mini-cart__buttons
.button:not(.checkout) {
    background: #f2f2f2 !important;
    color: var(--emit-dark) !important;

    border: none !important;

    box-shadow: none !important;
}


.woocommerce-mini-cart__buttons
.button:not(.checkout):hover {
    background: #e8e8e8 !important;
    color: var(--emit-dark) !important;
}


/* ---------------------------------------------------------
   IR PARA O PAGAMENTO
   --------------------------------------------------------- */

.woocommerce-mini-cart__buttons
.button.checkout {
    background: var(--emit-pink) !important;
    color: #fff !important;

    border: none !important;
}