.aw-product-form {
    margin-bottom: 0.5em;
}

.aw-product-form label {
    display: block;
    margin-bottom: 0.3em;
}

.aw-product-form select,
.aw-product-form input[type="number"] {
    width: 100%;
    padding: 6px;
    margin-bottom: 0.5em;
}

.aw-add-to-cart-btn {
    background-color: #0071a1;
    color: white;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
}

.aw-add-to-cart-btn:hover {
    background-color: #005f8d;
}

.aw-cart-message p.success {
    color: green;
    padding: 10px 10px 5px 10px;
    width: 100%;
    text-align: center;
    display: inline-block;
    margin: 0;
    font-size: 14px;
    line-height: 1.1em;
}

body div .aw-cart-message p {
    text-align: center;
    padding: 5px;
    margin: 0;
    display: inline-block;
    width: 100%;
}

.aw-cart-message p.error {
    color: red;
    padding: 10px;
    width: 100%;
    text-align: center;
    display: inline-block;
}

.aw-qty-btn-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 1em;
    gap: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
}

.aw-qty-btn-wrapper .aw-qty-btn-wrapper-left {
    width: 20%;
    min-width: 70px;
}

.aw-qty-btn-wrapper .aw-qty-btn-wrapper-right {
    width: 80%;
}

.aw-qty-btn-wrapper .aw-qty-btn-wrapper-left input,
.aw-qty-btn-wrapper .aw-qty-btn-wrapper-right button,
body div .aw-product-form .view-cart-button {
    font-size: 14px;
    line-height: 1.1em;
    height: 36px;
    border-radius: 20px;
    margin: 0;
    padding: 5px 10px;
    transition: all 0.3s ease-in-out;
}

.aw-qty-btn-wrapper .aw-qty-btn-wrapper-left input[type="number"] {
    padding: 0 5px 0 20px;
    border: 1px solid #ccc !important;
}

.aw-qty-btn-wrapper .aw-qty-btn-wrapper-right button,
body div .aw-product-form .view-cart-button {
    background-color: #0071a1;
    border: 1px solid #0071a1 !important;
    color: #ffffff;
    cursor: pointer;
    width: 100%;
    text-align: center;
    display: inline-flex;
    margin: 0 auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

body div .aw-product-form .view-cart-button {
    width: auto;
    margin: 0 auto;
    padding: 5px 25px;
}

.aw-qty-btn-wrapper .aw-qty-btn-wrapper-right button:hover,
body div .view-cart-button:hover {
    background-color: #ffffff;
    border: 1px solid #0071a1 !important;
    color: #005f8d;
}

body div .aw-product-form select {
    padding: 0 15px;
    border: 1px solid #ccc !important;
    border-radius: 20px;
    font-size: 16px;
    line-height: 1.1em;
    height: 36px;
    background-color: #ffffff;
}

body div .aw-product-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    cursor: pointer;
}

/* Optional: hide the arrow for IE10+ (which ignores `appearance`) */
body div .aw-product-form select::-ms-expand {
    display: none;
}

@media(max-width: 767px){
    .aw-qty-btn-wrapper .aw-qty-btn-wrapper-left input {
        font-size: 16px;
        line-height: 1em;
    }
}