.smmraketa-product-form form.cart {
    margin: 0;
}

.smmraketa-product-form .quantity {
    margin-bottom: 16px;
}

.smmraketa-product-form input.qty,
.smmraketa-product-form input[type="text"],
.smmraketa-product-form input[type="url"],
.smmraketa-product-form input[type="number"],
.smmraketa-product-form select,
.smmraketa-product-form textarea {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    padding: 10px 14px;
    font-size: 15px;
    background: var(--bs-body-bg, #fff);
}

.smmraketa-product-form textarea {
    min-height: 90px;
}

.smmraketa-product-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.smmraketa-product-form .single_add_to_cart_button,
.smmraketa-product-form button[type="submit"] {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #4A89DC, #5D9CEC);
    margin-top: 12px;
}

.smmraketa-product-form .woocommerce-variation-price {
    margin: 12px 0;
    font-size: 18px;
    font-weight: 800;
}

.smmraketa-product-form .woocommerce-error,
.smmraketa-product-form .woocommerce-message,
.smmraketa-product-form .woocommerce-info {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}
.smmraketa-product-form .single_add_to_cart_button.loading {
    opacity: .7;
    pointer-events: none;
}

.smmraketa-product-form .single_add_to_cart_button.added {
    background: linear-gradient(135deg, #37b26c, #2fa866);
}

.smmraketa-ajax-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 92px;
    z-index: 99999;
    padding: 14px 16px;
    border-radius: 16px;
    background: #1f2937;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    transform: translateY(24px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
}

.smmraketa-ajax-notice.is-visible {
    transform: translateY(0);
    opacity: 1;
}


.smmraketa-page-content .woocommerce {
    width: 100%;
}

.smmraketa-page-content .woocommerce form .form-row {
    margin-bottom: 14px;
}

.smmraketa-page-content .woocommerce input[type="text"],
.smmraketa-page-content .woocommerce input[type="email"],
.smmraketa-page-content .woocommerce input[type="tel"],
.smmraketa-page-content .woocommerce input[type="password"],
.smmraketa-page-content .woocommerce select,
.smmraketa-page-content .woocommerce textarea {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    padding: 10px 14px;
    font-size: 15px;
    background: #fff;
}

.smmraketa-page-content .woocommerce textarea {
    min-height: 90px;
}

.smmraketa-page-content .woocommerce label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.smmraketa-page-content .woocommerce button.button,
.smmraketa-page-content .woocommerce a.button,
.smmraketa-page-content .woocommerce input.button,
.smmraketa-page-content .woocommerce #place_order {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #4A89DC, #5D9CEC);
    margin-top: 12px;
}

.smmraketa-page-content .woocommerce table.shop_table {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    font-size: 13px;
}

.smmraketa-page-content .woocommerce table.shop_table th,
.smmraketa-page-content .woocommerce table.shop_table td {
    padding: 10px;
}

.smmraketa-page-content .woocommerce-checkout-review-order {
    margin-top: 20px;
}

.smmraketa-page-content .woocommerce-error,
.smmraketa-page-content .woocommerce-message,
.smmraketa-page-content .woocommerce-info {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}
.smmraketa-ajax-notice {
    display: flex;
    align-items: center;
    gap: 12px;
}

.smmraketa-ajax-notice__text {
    flex: 1;
}

.smmraketa-ajax-notice__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #1f2937;
    font-size: 13px;
    font-weight: 800;
}

.smmraketa-product-form .quantity {
    width: 100% !important;
    display: block !important;
    float: none !important;
    margin: 0 0 16px 0 !important;
}

.smmraketa-product-form .quantity input.qty,
.smmraketa-product-form input.qty,
.smmraketa-product-form .woocommerce .quantity input.qty {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0, 0, 0, .14) !important;
    padding: 10px 14px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: left !important;
    background: #fff !important;
}

.smmraketa-product-form .quantity + .single_add_to_cart_button {
    margin-top: 4px !important;
}

.smmraketa-cart-count {
    display: none;
    position: absolute;
    top: -9px;
    right: -13px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e63946;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    z-index: 5;
}

.smmraketa-cart-count.is-visible {
    display: inline-block;
}


#footer-bar a.smmraketa-cart-nav {
    position: relative !important;
    overflow: visible !important;
}

#footer-bar a.smmraketa-cart-nav > i {
    position: relative !important;
    z-index: 2 !important;
}

/* Аккуратный badge поверх синего круга AppKit */
#footer-bar a.smmraketa-cart-nav .smmraketa-cart-count {
    display: none;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(13px);
    width: 17px;
    height: 17px;
    min-width: 17px;
    padding: 0;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
    z-index: 30;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    border: 2px solid #fff;
}

#footer-bar a.smmraketa-cart-nav .smmraketa-cart-count.is-visible {
    display: inline-block;
}

/* Для 10+ пусть будет чуть шире, но без огромной капсулы */
#footer-bar a.smmraketa-cart-nav .smmraketa-cart-count:not(:empty) {
    white-space: nowrap;
}

/* Checkout cleanup */
.smmraketa-checkout-content .woocommerce-billing-fields > h3 {
    display: none !important;
}

.smmraketa-checkout-content .woocommerce-checkout-review-order-table thead th.product-name {
    font-size: 12px;
    font-weight: 800;
}

.smmraketa-checkout-content .woocommerce-checkout-review-order-table thead th.product-total {
    font-size: 0 !important;
}

.smmraketa-checkout-content .woocommerce-checkout-review-order-table tr.cart-subtotal {
    display: none !important;
}

.smmraketa-checkout-product {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.smmraketa-checkout-product__body {
    flex: 1;
    min-width: 0;
}

.smmraketa-checkout-product__name {
    font-weight: 600;
    line-height: 1.35;
}

.smmraketa-checkout-product__qty {
    margin-top: 2px;
    font-size: 11px;
    opacity: .65;
}

.smmraketa-remove-cart-item {
    width: 24px;
    min-width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: rgba(239, 68, 68, .1);
    color: #ef4444;
    font-size: 11px;
    line-height: 24px;
    text-align: center;
    padding: 0;
}

.smmraketa-remove-cart-item.is-loading {
    opacity: .45;
    pointer-events: none;
}

.smmraketa-checkout-email-slot {
    margin: 16px 0 12px;
}

.smmraketa-checkout-email-slot #billing_email_field {
    margin: 0 !important;
}

.smmraketa-checkout-email-slot label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.smmraketa-checkout-notice {
    display: none;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(34, 197, 94, .12);
    color: #166534;
    font-size: 13px;
    font-weight: 700;
}

.smmraketa-checkout-notice.is-error {
    background: rgba(239, 68, 68, .12);
    color: #b42318;
}

/* Payment button text / layout */
.smmraketa-checkout-content #place_order {
    font-size: 14px !important;
    font-weight: 800 !important;
}