/* Контейнер формы */
.product-add {
    margin-top: 10px;
    width: 100%;
}

/* Выровнять input и кнопку */
.quantity-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr; /* 1/3 qty, 2/3 button */
    align-items: center;
    width: 100%;
    gap: 0;
    /*max-width: 220px;*/
    /*margin: 0 auto;*/
}
.woocommerce ul.products li.product .add_to_cart_button {
    margin-bottom: 16px !important;
}
/* Поле количества */
.quantity-wrapper .qty {
    width: 100% !important;
    height: 32px;
    text-align: center;
    border: 1px solid #c2cce1;
    border-radius: 0;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: #000;
    outline: none;
    box-shadow: none;
}

/* Кнопка */
.quantity-wrapper .button {
    background-color: #a3bde3;
    color: #fff;
    border: none;
    border-radius: 0;
    height: 32px;
    font-size: 11px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    letter-spacing: 0.3px;
}

.quantity-wrapper .button:hover {
    background-color: #93afd6;
}

/* Выравнивание карточки */
.product {
    text-align: center;
}

.product .price {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #000;
    margin-top: 5px;
}

/* Кнопка Add to Bag — узкая, без округлений */
.add_to_cart_button {
    border-radius: 0;
    letter-spacing: 0;
}

/* Для мобильных */
@media (max-width: 480px) {
    .quantity-wrapper {
        grid-template-columns: 1fr 1.5fr;
    }
}
.add_cart{
    padding: 5px 0;
}

.add_cart a{
    font-family: Arial;
    font-weight: 400;
    font-size: 16.9px;
    leading-trim: NONE;
    line-height: 23.66px;
    text-align: center;
    vertical-align: middle;
}
.product-desc{
    text-align: left;
}
/* Убираем стрелочки в Chrome, Edge, Safari */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Убираем стрелочки в Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.add_cart {
    border: 1.06px solid #A3BFDB;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.add_cart:hover {
    background-color: #a3bfdb;   /* подсветка блока */
}

.add_cart:hover .product-details {
    color: #fff;                 /* белый текст при наведении */
}

/* текст ссылки */
.product-details {
    display: block;
    padding: 8px 12px;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 11px;
    text-transform: uppercase;
    color: #495a6f;
    transition: color 0.3s ease;
    text-decoration: none;
}
