button:focus, a:focus {
    outline: none !important;
    box-shadow: none !important;
}

.container {
    display: flex;
    padding-bottom: 2rem;
    flex-direction: column;
    align-items: flex-start;
}
.whole-page .products-container {
    width: 78% !important;
}

.header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    /* background-color: linear-gradient(to right, #52924f, #6ec569); */
    background: linear-gradient(to right, #52924f, #6ec569);
    height: 120px;
    /* @media (min-width: 768px) {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    } */
}
.navbar{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 1rem;
}
.top-header {
    display: flex;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 50px;
    padding-right: 50px;
}

.bottom-header {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    max-width: 100%;

    @media (min-width: 640px) {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    @media (min-width: 768px) {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        width: 80%;
    }
}

.header-title {
    display: flex;
    gap: 2.5rem;
}

.header-title-icon {
    display: none;
    width: 3rem;
    height: 3rem;

    @media (min-width: 768px) {
        display: block;
    }
}

.header-title-text {
    align-self: center;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.5rem;
    color: #ffffff;
}

.header-search {
    display: flex;
    padding-top: 0.5rem;
    width: 40rem;
    padding: 1rem;
    gap: 1.25rem;
    justify-content: space-between;
    align-items: center;
    align-self: flex-start;
    border-radius: 0.375rem;
    border-width: 1px;
    border-style: solid;
    background-color: #ffffff;
    border-color: var(--Light-Gray-Light-Gray-2, #dde2e4);
}

.search-input {
    font-size: 0.875rem;
    line-height: 1.25rem;
    letter-spacing: 0;
    line-height: 1.5rem;

    @media (min-width: 1024px) {
        width: 20rem;
    }
    @media (min-width: 1280px) {
        width: 40rem;
    }
}

.search-icon {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
}

.header-button-group {
    display: flex;
    gap: 2.5rem;
    align-items: flex-end;
    margin-top: 15px;
}

.header-order-button {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    align-self: center;
    cursor: pointer;
}

.header-order-button-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    letter-spacing: 0;
    line-height: 1.5rem;
    color: #ffffff;
}

.header-cart-button {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    align-self: center;
    cursor: pointer;

}

.cart-badge {
    display: inline-block;
    position: relative;
}

.cart-icon {
    width: 2.7rem;
    height: 2.7rem;

}

.order-icon {
    width: 1.6rem;
    height: 1.6rem;
}

.cart-badge-number {
    display: inline-flex;
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 700;
    line-height: 1;
    color: #fee2e2;
    --transform-translate-x: 40%;
}

.cart-text {
    align-self: stretch;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5rem;
    color: #ffffff;
    white-space: nowrap;
    margin-top: 5%;
}

.sign-in-button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    justify-content: center;
    align-items: stretch;
    align-self: flex-start;
    border-radius: 0.375rem;
    border-width: 1px;
    border-style: solid;
    letter-spacing: 0;
    line-height: 1.5rem;
    text-align: center;
    color: #1f2937;
    white-space: nowrap;
    background-color: #ffffff;
    cursor: pointer;
    border-color: var(--Light-Gray-Light-Gray-2, #dde2e4);
}

.nav-btn {
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.5rem;
    text-align: center;
    color: white;
    cursor: pointer;
    align-self: stretch;
}

.header-bottom-1 {
    display: flex;
    margin-top: 1rem;
    flex-direction: column;
    align-self: stretch;
    width: 100%;
    background-color: #e5e7eb;

}

.main {
    margin-bottom: 1.75rem;
    display: flex;
    /* align-self: center; */
    /* align-items: center; */
    justify-content: space-around;
    width: 100%;
    gap: 50px;
    /* max-width: 1240px; */
    padding: 4rem 10px;
}

/* .hero{
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 5rem 10rem;
    gap: 1.25rem;
    overflow-x: hidden;
} */

.main-1 {
    display: flex;
    gap: 1.25rem;
}

.left-bar {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 23%;
    margin-left: 10%;
}
.left-bar-list{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.1rem;
}

.bar-1-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.category-type {
    font-size: 1.2rem;
    line-height: 1.25rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.5rem;
    color: #1f2937;
    margin-top: 1rem;
}

.category-item {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    padding-left: 10px;
}

.check-box {
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    border-width: 1px;
    border-color: rgb(179, 179, 179);
    border-style: solid;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.shop-by-category {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.6rem;
    /* justify-content: center; */
    box-shadow: 0px 0px 3px #cccccc17;
    margin-bottom: 20px;
    border: 1px solid #efefef;
    width: 250px;
    padding-bottom: 10px;
}
.shop-by-category .category-type {
    margin: 0px;
    padding: 12px 10px;
    background: #cccccc85;
    font-size: 15px;
    width: 100%;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
}
.check-box-active {
    border-color: #3b82f6;
}

.check-icon {
    width: 100%;
    height: 100%;
    color: #3b82f6;
    fill: currentColor;
}

.category-item-text {
    align-self: stretch;
    font-size: 1rem;
    line-height: 1.25rem;
    letter-spacing: 0;
    line-height: 1.5rem;
    color: #1f2937;
    white-space: inherit;
    margin-top: 0.5rem;
}

.products-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    /* background: blue; */
    gap: 14px 15px;
    overflow: hidden;
}
.grid-container a {
    width: 100%;
    overflow: hidden;
}
.grid-container .card-container {
    padding: 0 !important;
    width: 100% !important;
}


/* @media screen and (max-width: 767px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
} */

.loadmore-button {
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
    align-items: stretch;
    align-self: center;
    border-radius: 0.375rem;
    border-width: 1px;
    border-color: #34d399;
    border-style: solid;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    background-color: white;
    cursor: pointer;
    color: #34d399;
}

.card-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 1rem;
    width: 400px;
    /* background-color: black; */
}
.card-1-container {
    display: flex;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-width: 1px;
    border-style: solid;
    width: 100%;
    gap: -5rem;
    /* background-color: #ffffff; */
    border-color: var(--Light-Gray-Light-Gray-3, #e5e9eb);
    /* background-color: red; */
}

.full-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    height:450px;
    width: 100%;
    overflow: hidden;
}

.container-img{
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.card-image {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    overflow: hidden;
    width: 200px;
    cursor: pointer;
    height: 200px;
}

.card-image-support-1 {
    display: flex;
    margin-top: 0.5rem;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
}

.card-image-support {
    object-fit: contain;
    object-position: center;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1.13;
}

.mediciene-description{
    display: flex;
    flex-direction: column;
    align-items: start;
    /* background-color: blue; */
    width: 100%;
    justify-content: start;

}

.title-card {
    margin-top: 1rem;
    font-size: 2rem;
    /* line-height: 3rem; */
    /* letter-spacing: 0; */
    /* line-height: 2.7rem; */
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    min-height: 27px;
    max-height: 54px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    /* background-color: blue; */
}

.cart-description {
    margin-top: 0.8rem;
    font-size: 1.4rem;
    line-height: 2.5rem;
    letter-spacing: 0;
    line-height: 2.2rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    height: 50px;
    width: 100%;
    overflow:hidden;
    text-overflow: ellipsis;
    /* background-color: blue; */
}

.bottom-card {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 10px;

    /* background-color: purple; */
}

.cart-price {
    font-size: 2.5rem;
    line-height: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.5rem;
    color: #009933;
}

.add-to-cart {
    margin-top: 1.8rem;
    padding: 1.2rem 1.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.875rem;
    font-size: 1.5rem;
    line-height: 1.25rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5rem;
    color: #ffffff;
    white-space: nowrap;
    cursor: pointer;
    background: #65B662;
    outline: none;
    border: 1px solid #65B662 ;
}

.qty-counter {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: white;
    margin-top: 15px;
    border: 2px solid #6ec569;
    border-radius: 50px;
    padding: 4px 8px;
    gap: 8px;
    width: fit-content;
}

.qty-counter button {
    background: #6ec569;
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 10px;
    line-height: 1;
    border-radius: 50px;
    transition: background-color 0.2s ease;
}

.qty-counter button:hover { background-color: #449D44; }

.qty-counter span {
    color: #449D44;
    font-size: 1.8rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.mobile-cat-bar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.5;
}

.mobile-cat {
    position: absolute;
    left: 0;
    padding: 1rem;
    width: 16rem;
    height: 100%;
    background-color: #ffffff;
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mobile-cat-open {
    --transform-translate-x: 0;
}

.mobile-cat-close-icon {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0.75rem;
    margin-right: 0.75rem;
}

.mobile-cat-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

}

.mobile-cat-main-1 {
    display: flex;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-top: 0.375rem;
    flex-direction: column;
    align-items: stretch;
}

.expand-icon {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;

    @media (min-width: 1280px) {
        display: none;
    }
}


@media (max-width: 1400px){
    .products-container .grid-container {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (min-width: 1000px){
    .bar-1-left {
        max-height: 1100px;
        overflow: auto;
        scrollbar-width: thin;
    }

}


@media (max-width: 991px){
    .whole-page .products-container {
        width: 100% !important;
    }
}

@media (max-width: 767px){
    .products-container .grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}