


/* =========================
 RESET DO WOO (sem hover feio)
========================= */

.variations tr,
.variations td,
.variations th,
.variations tr:hover {
    background: transparent !important;
}

/* =========================
 BLOCO GERAL
========================= */

.wc-group-swatches {
    margin: 16px 0 22px;
}

/* =========================
 LABEL (COR / TAMANHO)
========================= */

.wc-group-swatches::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
}

/* Linha separadora */
.wc-group-swatches::after {
    content: "";
    display: block;
    height: 1px;
    background: #eee;
    margin-top: 16px;
}

/* =========================
 CORES
========================= */

.wc-group-color-swatches {
    display: flex;
    gap: 12px;
}

.wc-group-color-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #e5e5e5;
    cursor: pointer;
    position: relative;
}

.wc-group-color-swatch.active {
    border-color: #000;
}

.wc-group-color-swatch.active::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* =========================
 TAMANHOS (IGUAL REFERÊNCIA)
========================= */

.wc-group-size-swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wc-group-size-swatch {
    min-width: 44px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px; /* 🔥 NÃO pill */
    border: 1px solid #000000;
    background: #000000;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-group-size-swatch.active {
    background: #0081FA;
    border-color: #fff;
    color: #fff;
}

/* =========================
   QUANTIDADE — CONTAINER ÚNICO
========================= */

.quantity {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 999px;
    overflow: hidden;
    height: 46px;
    background: #fff;
}

/* BOTÕES + e - */
.quantity .minus,
.quantity .plus {
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.quantity .minus:hover,
.quantity .plus:hover {
    background: #f5f5f5;
}

/* INPUT CENTRAL */
.quantity input.qty {
    width: 52px;
    height: 46px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    appearance: textfield;
}

/* Remove setas nativas */
.quantity input.qty::-webkit-inner-spin-button,
.quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove outline feio */
.quantity button:focus,
.quantity input:focus {
    outline: none;
}

/* =========================
   QUANTIDADE — OVERRIDE ELEMENTOR
========================= */

.wc-group-qty-ready {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 4px;
    background: #fff;
}

/* BOTÕES - e + */
.wc-group-qty-ready button.wc-group-qty-minus,
.wc-group-qty-ready button.wc-group-qty-plus {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none !important;              /* REMOVE BORDA DO ELEMENTOR */
    background: #f5f5f5 !important;       /* REMOVE ROSA / TRANSPARENTE */
    color: #000;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.wc-group-qty-ready button:hover {
    background: #eaeaea !important;
}

/* INPUT CENTRAL */
.wc-group-qty-ready input.qty {
    width: 48px;
    height: 42px;
    border: none !important;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    outline: none;
    box-shadow: none;
    appearance: none;
}

/* REMOVE SETAS NATIVAS DO INPUT NUMBER */
.wc-group-qty-ready input.qty::-webkit-outer-spin-button,
.wc-group-qty-ready input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wc-group-qty-ready input.qty[type=number] {
    -moz-appearance: textfield;
}




/* =========================
 OCULTA SELECT NATIVO
========================= */

.variations select {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================
   LABELS COR / TAMANHO
   (override Woo + Elementor)
========================= */

.woocommerce div.product form.cart table.variations th.label {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    vertical-align: top;
}

/* Texto do label */
.woocommerce div.product form.cart table.variations th.label label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #111;
    
}


/* Faz a célula virar bloco */
.woocommerce div.product form.cart table.variations td.value {
    padding: 0 !important;
    display: block;
}

/* Espaçamento entre label e opções */
.woocommerce div.product form.cart table.variations tr {
    display: block;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee;
}

/* =========================
   PREÇO DO PRODUTO
========================= */

.single-product .summary .price {
    font-size: 22px;
    font-weight: 700;
    color: #3d3d3d !important; /* Preto*/
    margin: 6px 0 18px;
}

.single-product .summary .price del {
    color: #999;
    font-size: 16px;
    margin-right: 8px;
}

.single-product .summary .price ins {
    text-decoration: none;
    font-weight: 700;
}



.wc-group-quantity-wrapper {
    margin: 18px 0 22px;
}

.wc-group-quantity-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #111;
    margin-bottom: 8px;
}

/* =========================
   QUANTITY (ESTILO PREMIUM)
========================= */

.wc-group-quantity-wrapper .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 4px;
    background: #fff;
}

.wc-group-quantity-wrapper .quantity button {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50%;
    transition: background .2s ease;
}

.wc-group-quantity-wrapper .quantity button:hover {
    background: #f2f2f2;
}

.wc-group-quantity-wrapper .quantity input.qty {
    width: 46px;
    height: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    pointer-events: none;
}


.single-product .variations_form .single_add_to_cart_button {
    display: none !important;
}

/* Remove o quantity nativo do WooCommerce (produto variável) */
.woocommerce-variation-add-to-cart .quantity {
    display: none !important;
}

/* ================================
   BOTÕES COMPRA EM GRUPO / INDIVIDUAL
   ================================ */

.woocommerce .wc-group-buy-group,
.woocommerce .wc-group-buy-individual {
    display: flex; /* 🔥 troca inline-flex → flex */
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 100%; /* 🔥 força full width */
    box-sizing: border-box;

    border: 0;
    padding: 0 1rem; /* 🔥 padding menor (mobile safe) */
    min-height: 52px;

    cursor: pointer;
    font: inherit;
    font-size: 1rem; /* 🔥 melhor no mobile */
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;

    color: rgb(var(--color-button-text, 255 255 255));
    background-color: rgba(var(--color-button, 111 66 193), var(--alpha-button-background, 1));

    transition: box-shadow 0.2s ease, transform 0.15s ease;
    -webkit-appearance: none;
    appearance: none;

    border-radius: 6px;
    box-shadow: none;
}


.woocommerce .wc-group-buy-group:hover,
.woocommerce .wc-group-buy-individual:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    transform: translateY(-1px);
}

.woocommerce .wc-group-buy-group:active,
.woocommerce .wc-group-buy-individual:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Espaçamento entre os botões */
.woocommerce .wc-group-buy-group {
    margin-bottom: 5px !important;
}



