/* WooCommerce Boutons Quantité - CSS Original Exact Complet */

/* Cache les variations natives */
.woocommerce div.product form.cart .variations {
    display: none !important;
}
.woocommerce-variation-price {
    display: none !important;
}

/* Sélecteur de variations personnalisé */
.bq-variations {
    max-width: 500px;
    margin: 0 auto 20px;
}
.bq-variations select {
    border: 2px solid #ccc;
    border-radius: 16px;
    padding: 12px 16px;
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231b9b51' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.bq-variations select:focus {
    border-color: #00b60f;
    outline: none;
}
.bq-variations label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}
.bq-variations .reset-btn {
    color: #1b9b51;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

/* CSS des cartes - Section principale */
.custom-section {
    max-width: 500px;
    margin: 0 auto 20px;
}
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    width: 100% !important;
}
.custom-card-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.custom-card {
    border: 2px solid #ccc;
    border-radius: 16px;
    padding: 16px 20px;
    cursor: pointer;
    background: #fff;
    transition: 0.3s ease;
    position: relative;
}
.custom-card:hover {
    border-color: #00b60f;
}
.custom-card.active {
    border-color: #00b60f;
    background-color: #e0fae1;
}
.custom-card p {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}
.custom-card .custom-price {
    font-size: 15px;
    font-weight: bold;
    color: #1b9b51;
}
.custom-description {
    font-size: 10px;
}

.custom-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 15.4%;
    background: #277f3f;
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 4px 0;
    transform: rotate(12deg) translate(20%, -25%);
    transform-origin: top right;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 10;
    border-radius: 8px;
}
p.price .woocommerce-Price-amount.amount {
    display: none;
}
p.price {
    display: none;
}

.woocommerce-js div.product form.cart .single_variation_wrap .single_variation {
    margin-bottom: 0px !important;
}

.ast-stock-detail {
    display: none;
    min-height: 0px;
    height: 0px;
}

.custom-title-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* CSS de l'abonnement */
.bq-subscribe-wrap {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    max-width: 500px;
}
.bq-subscribe-wrap input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #277f3f;
    vertical-align: middle;
}
.bq-subscribe-wrap span {
    font-size: 16px;
    color: #333;
}