:root {
    --surface-color: #ebebeb;
}

main {
    background-color: var(--surface-color);
}


.logo-brand {
    width: 55px;
    height: 55px;
}

.search-wrapper input[type="text"] {
    width: 100%;
}

.carousel-item {
  height: 200px;
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 200px;
}


.product-item img {
    background-color: var(--surface-color);
}

.not-found-container {
    background-color: var(--surface-color);
    padding-top: 50px;
    padding-bottom: 100px;
}

.category-link span {
    font-size: clamp(0.89rem, 1.25rem, 1.5rem);
}

.category-link {
    text-decoration: none;
    color: rgba(var(--bs-dark-rgb), var(--bs-link-opacity, 1))
}

.category-link:hover {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));    
}

.cart-item-image {
    max-width: 100px;
    background-color: var(--surface-color);
    width: auto;
    height: 100px;
}

.upload-photo {
    position: relative;
    display: block;
    background: #f5f5f5;
}

.upload-photo .upload-image {
    max-width: 100%;
    width: auto;
    height: 200px;
    object-fit: cover;
}

.upload-photo .upload-label {
    height: 100%;
    width: 100%;
    cursor: pointer;    
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;

}

.upload-photo .overlay-container {
    display: none;
    position:absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
}

.upload-photo:hover .overlay-container{
    display: block;
}

        .upload-area {
            border: 2px dashed #cbd5e0 !important;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .upload-area:hover {
            border-color: #0d6efd !important;
            background-color: #fff !important;
        }
        .file-input {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0;
            cursor: pointer;
        }


.upload-loading {
    position:absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
  }

  .shake-effect {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
  }
@media (min-width: 768px) {
    .search-wrapper input[type="search"] {
        width: 350px;
    }

    .main_carousel .carousel-item {
        height: 350px;
    }

    .main_carousel .carousel-item img {
        min-height: 350px;
    }

    .product-item .favorite-btn {
        display: none;
    }

    .product-item:hover .favorite-btn {
        display: block;
    }

    .rounded-md-start {
        border-top-left-radius: var(--bs-border-radius) !important;
        border-bottom-left-radius: var(--bs-border-radius) !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
    
    .rounded-md-top {
        border-top-left-radius: var(--bs-border-radius) !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: var(--bs-border-radius) !important;
        border-bottom-right-radius: 0 !important;
    }
}

@media screen and (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }
}
