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;
}
.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;
}
#category-filter-form {
    position: relative;
    width: 100%;
    background: white;
    padding: 10px;
    box-shadow: none;
}
#category-filter-form.fixed {
    position: fixed;
    top: 0;
    right: 60px;
    width: 65%;
    z-index: 1000;
    background: white;
}
.tag-checkbox-label {
    display: inline-block;
    cursor: pointer;
}
.tag-checkbox-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
@media (max-width: 900px) {
    
    .apply-filters-button,
    .clear-tag-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 50px;
    }
    .tag-filter-actions{
        width: 100%;
        grid-template-columns: 1fr !important;
    }
}
.tag-checkbox {
    width: 100%;
    font-weight: 600;
    height: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 15px;
    background-color: #A0A4B2 !important;
    color: white;
}
.tag-filter-actions{
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 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: var(--pharmawp-color-blue) !important;
    color: #fff;
    background-color: var(--pharmawp-color-blue) !important;
}

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

.apply-filters-button,
.clear-tag-button {
    font-weight: 600 !important;
    padding: 8px 16px !important;
    color: white;
    border: none;
    text-decoration: none;
}
.apply-filters-button:hover{
    background-color: var(--pharmawp-color-blue) !important;
}



.prescription-shop-out-of-stock {
    padding-bottom: 10px;
}
.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: 10px;
    height: min-content;
    max-height: 75vh;
    width: 75%;
}
.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 {
    text-align: center;
    margin-bottom: 6px;
}

@media (max-width: 900px) {
    .prescription-modal {
        width: 80%;
        overflow-y: scroll;
    }
    .custom-product-grid {
        grid-template-columns:  1fr 1fr !important;
    }
    #category-filter-form.fixed {
        width: 100%;
        right: 0;
    }
    .you-may-also-need-title {
        font-size: 24px;
        line-height: 1.2;
    }
}
@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;
        gap: 10px !important;
        grid-template-columns: 1fr !important;
    }
    #category-filter-form {
        padding: 0 !important;
        margin-bottom: 24px !important;
    }
}
.product-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.custom-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}
.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 {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}
.custom-pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background: #0073aa;
    color: white;
    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: 16px;
    line-height: 20px;
}



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