input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    margin: 0;
}
.see-more-products-button{
    background-color: black !important;
    border: 1px solid black !important;
    padding: 8px 16px !important;
    color: #fff !important;
    border-radius: 0 !important;
}
.custom-pagination, .see-more-products-button{
    margin-bottom: 35px;
}
.category-select {
    background-color: grey !important;
    color: white !important;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-color: grey !important;
    width: 100%;
    margin-top: 10px;
}
#category-filter-form {
    position: relative;
    width: 100%;
    background: white;
    padding: 10px;
    box-shadow: none;
}
#category-filter-form.fixed {
    position: fixed;
    top: 0;
    right: 0px;
    width: 100%;
    z-index: 1000;
    background: white;
}
#category-filter-form.fixed .category-filter-form-inner{
    padding: 10px;
}
.category-filter-form-inner select{
    border-radius: 0 !important;
    height: 40px;
}
.category-filter-form-inner label{
    font-size: 16px;
}
.category-filter-form-inner{
    margin: 20px 0 !important;
}

.tag-filter-form{
    padding: 10px !important;
}
.tag-checkbox-label {
    display: inline-block;
    cursor: pointer;
    border-radius: 0;
}
.tag-checkbox-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
@media (max-width: 900px) {
    .tag-filter-form{
        padding: 0 !important;
    }
    .apply-filters-button,
    .clear-tag-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 50px;
        font-size: 16px;
    }
    
}
.tag-checkbox {
    font-weight: 600;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 0;
    background-color: #A0A4B2 !important;
    color: white;
}
.tag-filter-actions{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0;
}
input[type="checkbox"] + .tag-checkbox {
    opacity: 1;
    filter: brightness(95%);
}

input[type="checkbox"]:checked + .tag-checkbox {
    opacity: 1;
    filter: none;
}

input[type="checkbox"]:checked + .tag-checkbox,
.tag-checkbox.active {
    background-color: #3DB2FF !important;
    color: #fff;
    background-color: #3DB2FF !important;
}

.tag-checkbox-label input[type="checkbox"] {
    display: none;
}


.apply-filters-button,
.clear-tag-button {
    background-color: #3DB2FF !important;
    font-weight: bold !important;
    color: white;
    border: none;
    border-radius: 0 !important;
    text-decoration: none;
    height: 35px;
    font-size: 16px;
    font-weight: 300;
}
.apply-filters-button:hover{
    background-color: #3DB2FF !important;
}

.sticky-back-button {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    height: 55px;
}

.sticky-back-button .my-prescriptions-button {
    width: 100%;
    padding: 8px 16px;
    height: 100%;
    border-radius: 0 !important;
}
.prescription-shop-out-of-stock {
    padding: 0 0 0 10px;
    font-size: 12px;
    grid-column: 2/4;
}
.you-may-also-need-title {
    text-align: center;
    padding-top: 30px !important;
}
.prescription-modal {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    z-index: 1000;
    border-radius: 0;
    width: 50%;
}
.woocommerce-MyAccount-navigation {
    width: 25%;
}
.woocommerce-MyAccount-content {
    width: 75%;
}
.hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a {
    color: #69727d !important;
}
.hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link.is-active a {
    color: #5bc0de !important;
}
.product-quantity {
    width: 50%;
    text-align: center;
    font-size: 16px;
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-content-wrapper {
        flex-direction: column;
        padding: 0px !important;
    }
    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        width: 100%;
    }
    .custom-product-grid {
        padding: 0 !important;
        
    }
    #category-filter-form {
        padding: 0 !important;
        margin-bottom: 24px !important;
    }
}
.product-details {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    height: 100%;
    align-items: center;
}
.add-to-prescription-pharmacy-shop {
    background-color: black !important;
    border: 1px solid black !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-size: 18px;
    width: 30px;
    height: 30px;
    line-height: 20px;
}
.custom-product-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    margin-bottom: 60px !important;
    gap: 10px !important;
}
.custom-product-item {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.custom-pagination {
    text-align: center;
    margin-top: 20px;
}
.custom-pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background: #0073aa;
    color: white;
    border-radius: 0;
    text-decoration: none;
}
.custom-pagination a:hover {
    background: #005a87;
}
.custom-product-item {
    padding: 10px !important;
}
.custom-product-item .product-thumbnail {
    justify-items: center;
}
.custom-product-item .product-thumbnail img {
    height: 200px;
    width: 200px;
    object-fit: cover;
}
.custom-product-item .product-title {
    font-size: 14px;
    line-height: 20px;
    text-align: start;
}
.wp-block-woocommerce-mini-cart-checkout-button-block{
        display: none !important;
    }

.woocommerce-cart .has-global-padding{
    padding: 0 !important
}
.has-global-padding{
    padding-top: 0 !important;
}
.coupon .input-text{
    width: 100% !important;
    text-align: center;
}
.actions .button{
  width: 100% !important;
    margin-top: 5px;
    align-items: center;
    padding: 6px;
}
.custom-checkout-button{
    background-color: #28a745 !important;
    border: 1px solid #28a745 !important;
    padding: 8px 16px !important;
    color: #fff !important;
    border-radius: 0 !important;
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    font-size: 16px;
}
.cart_totals .shop_table{
    margin-bottom: 40px !important;
}
.add-to-prescription-pharmacy-shop-wrapper{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-prescriptions-button-review{
    font-size: 16px;
}

.woocommerce-cart-form__cart-item .product-quantity{
    width: 100%;
    box-sizing: border-box;
}

.prescription-shop-search{
    display: flex;
    flex-direction: column;
}

#prescription-product-search{
    min-height: 30px;
}