/* =============================================
   Chico Product UI — chico-product-ui.css v1.0.3
   ============================================= */

/* ---- Label "Tipo de Remessa" ---- */
.remessa-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

/* ---- Wrapper dos botões ---- */
.remessa-botoes {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

/* ---- Botão base ---- */
.remessa-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    line-height: 1;
}

.remessa-btn:hover {
    border-color: #bbb;
    background: #f0f0f0;
    color: #333;
}

.remessa-btn svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

/* ---- Botão ativo ---- */
.remessa-btn.remessa-btn--ativo {
    border-color: #f0a500;
    background: #f0a500;
    color: #000;
    box-shadow: 0 2px 8px rgba(240,165,0,0.25);
}

.remessa-btn.remessa-btn--ativo:hover {
    background: #e09800;
    border-color: #e09800;
}

/* ---- Botões de quantidade +/− ---- */
.quantity.has-buttons,
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart div.quantity.has-buttons,
.woocommerce div.product form.cart div.quantity.has-buttons,
.woocommerce-page div.product form.cart div.quantity.has-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    overflow: visible !important;
    width: fit-content;
    background: #fff;
    float: none !important;
}

.quantity.has-buttons input.qty {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-align: center !important;
    width: 48px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    -moz-appearance: textfield !important;
}

.quantity.has-buttons input.qty::-webkit-outer-spin-button,
.quantity.has-buttons input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-btn {
    width: 38px;
    height: 42px;
    min-width: 38px;
    border: none;
    background: transparent;
    color: #555;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
    flex-shrink: 0;
    line-height: 1;
    font-family: inherit;
}

.qty-btn:hover {
    background: #f5f5f5;
    color: #111;
}

.qty-btn-minus {
    border-right: 1.5px solid #e0e0e0;
}

.qty-btn-plus {
    border-left: 1.5px solid #e0e0e0;
}

/* ---- Correção do botão + no carrinho ---- */
/* O td.product-quantity tem largura restrita e cortava o botão +  */
td.product-quantity .quantity.has-buttons {
    overflow: visible;
    width: auto;
    flex-wrap: nowrap;
}
