/* Single product customisations*/

/* Wrapper du prix HT + TTC */
.product-price-wrapper {
    display: block;
}

/* Prix TTC - Page single product (produit principal) */
.product-single-price-ttc {
    display: block;
    font-size: 20px;       /* Size TTC */
    font-weight: 500;
    color: #666666;
    margin-top: 4px;
    line-height: 1.2;
}

.product-single-price-ttc .woocommerce-Price-amount,
.product-single-price-ttc .woocommerce-Price-currencySymbol {
    color: #666666;
}

button.add_to_cart_button.single_add_to_cart_button.button.alt span {
    font-family: 'Lato', sans-serif;
    text-transform: none;
    font-weight: 600;
}

.quantity .quantity-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 6px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.quantity .quantity-wrapper:hover {
    border-color: #e3001a;
}

.quantity .quantity-wrapper:focus-within {
    border-color: #e3001a;
    box-shadow: 0 0 0 3px rgba(206, 43, 42, 0.1);
}

.quantity .quantity-wrapper .minus,
.quantity .quantity-wrapper .plus {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #333;
}

.quantity .quantity-wrapper .minus:hover,
.quantity .quantity-wrapper .plus:hover {
    background: #e3001a;
    color: #fff;
    transform: scale(1.1);
}

.quantity .quantity-wrapper .minus:active,
.quantity .quantity-wrapper .plus:active {
    transform: scale(0.95);
}

.quantity .quantity-wrapper .minus svg,
.quantity .quantity-wrapper .plus svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.quantity .quantity-wrapper input.qty {
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    background: transparent;
    border: none;
    outline: none;
    -moz-appearance: textfield;
    font-family: 'Lato', sans-serif;
}

/* Version compacte pour le panier */
.quantity .quantity-wrapper.size-sm {
    padding: 3px;
}

.quantity .quantity-wrapper.size-sm .minus,
.quantity .quantity-wrapper.size-sm .plus {
    width: 32px;
    height: 32px;
}

.quantity .quantity-wrapper.size-sm .minus svg,
.quantity .quantity-wrapper.size-sm .plus svg {
    width: 12px;
    height: 12px;
}

.quantity .quantity-wrapper.size-sm input.qty {
    width: 40px;
    height: 32px;
    font-size: 16px;
}

.quantity-wrapper.size-sm,
.quantity:has(.quantity-wrapper.size-sm) {
    height: 40px;
}

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

/* Badge référence produit (shortcode [product_reference]) */
.product-reference {
    display: inline-block;
    width: auto;
    max-width: 100%;
    background-color: #F3F3F3;
    padding: 2px 10px;
    border-radius: 4px;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #2B2B2B;
    line-height: 1.4;
}