.search-component-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    z-index: 19;
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: 0.5s ease-in-out;
}

.search-component-wrapper.active {
    transform: translateY(0%);
}

.search-component {
    position: relative;
    width: 100%;
    height: calc(100% - 60px);
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.search-bar-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.search-bar {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    border: 1px solid #0000001f;
    border-radius: 20px;
    overflow: hidden;
}

.search-bar:focus-within {
    border-color: skyblue;
    box-shadow: 0px 0px 5px rgba(135, 207, 235, 0.397);
}

.search-bar .search-icon {
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: dimgray;
}

.search-bar .search-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0px 10px;
    font-size: 16px;
    color: dimgray;
}

.search-bar .search-input::placeholder {
    color: lightgray;
    font-style: italic;
}

.search-bar .search-input:focus-visible {
    outline: none;
}

.search-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
}

.search-content::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.search-content .heading-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.search-content .heading-wrapper h2 {
    font-size: 25px;
    color: dimgray;
    font-weight: bold;
}

.search-content .heading-wrapper .search-result-count {
    font-size: 16px;
    color: gray;
}

.product-card-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 10px;
    overflow-y: auto;
}

.product-item {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 140px;
    padding: 10px;
    gap: 5px;
    border-radius: 20px;
    background-color: white;
}

.product-item:nth-child(2n + 1) {
    transition-delay: 0ms;
}

.product-item:nth-child(2n + 2) {
    transition-delay: 150ms;
}

.product-item:hover .product-image {
    transform: scale(1.1);
}

.product-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.offer-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 50px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.753);
    backdrop-filter: blur(10px);
    color: gray;
    font-size: 10px;
    line-height: normal;
    z-index: 1;
}

.product-item .product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    transition: 0.5s ease-in-out;
}

.product-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: gray;
    font-size: 13px;
    letter-spacing: 0.9px;
    gap: 5px;
}

.category-label {
    font-size: 12px;
}

.product-title {
    color: dimgray;
    font-weight: bold;
}

.product-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.price-box {
    display: flex;
    width: auto;
    gap: 10px;
    font-size: 12px;
}

.original-price {
    text-decoration: line-through;
}

.review-badge {
    width: 50px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 20px;
    background-color: olivedrab;
    color: white;
    font-size: 12px;
    line-height: normal;
}

.cart-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cart-button {
    border: none;
    border-radius: 10px;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 5px;
    color: white;
    background-color: #e20000;
}

.search-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    color: lightgray;
    grid-column: 1 / span 2;
}

.search-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.search-placeholder-text {
    font-size: 18px;
}

/* #################################################################################*/
/*@TABLETS:
/* #################################################################################*/
@media screen and (min-width: 599px) and (max-width: 1029px) {
    .product-card-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-item {
        width: clamp(140px, 150px, 190px);
    }

    .search-placeholder {
        grid-column: 1 / span 3;
    }
}

/* #################################################################################*/
/*@PC:
/* #################################################################################*/
@media screen and (min-width: 1030px) {
    .search-component {
        width: 80%;
        top: 100px;
        height: calc(100% - 100px);
        border-radius: 20px;
        box-shadow: 0px 0px 5px #0000001f;
    }

    .product-card-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-item {
        width: clamp(140px, 190px, 190px);
    }

    .search-placeholder {
        grid-column: 1 / span 4;
    }

    .search-placeholder-icon {
        font-size: 100px;
    }

    .search-placeholder-text {
        font-size: 25px;
    }
}