﻿
.shop_section#first {
}

    .shop_section#first .container {
        border-radius: 18px;
        padding: 30px;
    }

.shop_section#first_section {
}

    .shop_section#first_section img {
        width: 100%;
        height: 80vh;
        object-fit: cover;
        opacity: 0.8;
        object-position: center;
    }

@media (min-width: 768px) {
    .shop_section#first_section img {
        height: 60vh;
    }
}



#search .search_box {
    position: relative;
}

    #search .search_box h1 {
        font-size: 32px;
        font-weight: 800;
        line-height: 42px !important;
        padding: 15px 0px;
    }

    #search .search_box h2 {
        font-size: 20px;
        font-weight: 700;
        line-height: 40px !important;
        padding: 10px 0px 20px 0px;
    }


@media (min-width: 992px) {
    .shop_section#first_section img {
        height: auto;
    }

    #search .search_box h1 {
        font-size: 48px;
        line-height: 66px !important;
        padding: 20px 0px;
    }

    #search .search_box h2 {
        font-size: 28px;
        line-height: 60px !important;
    }
}

#search {
    position: absolute;
    top: 15vh;
    width: 100%;
}


@media (min-width: 992px) {
    #search {
        position: absolute;
        top: 250px;
        width: 100%;
    }
}

.search_box .run-search {
    background-color: #CCCCCC;
    height: 55px;
    width: 55px;
    cursor: pointer;
    border-radius: 12px;
    margin: 0px 5px;
    background-image: url('../img/icons/search-icon.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 30px auto;
    border-radius: 5px;
}

.shop_section {
    padding: 10px 0px;
}

#latest_products {
}


    #latest_products .container {
        background-color: rgba(255, 249, 237, 1);
        border-radius: 18px;
        padding: 30px;
    }

.carousel_products {
    margin: 30px 0px;
}

.product_item {
    color: rgba(22, 22, 22, 1);
    position: relative;
    width: 100%;
    display: block;
    padding: 30px 30px;
    margin: 20px auto;
    border: 1px solid #CCCCCC;
    border-radius: 30px;
}

.carousel_products .product_item {
    width: 250px;
}

: root {
    --primary: #117c5d;
    --primary-dark: #0e5f47;
    --discount-color: #d32f2f;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    --radius: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product_item {
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}


    .product_item:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
        border-color: rgba(17, 124, 93, 0.15);
    }

    .product_item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: calc(var(--radius) - 4px);
        transition: transform var(--transition), filter var(--transition);
        display: block;
    }

    .product_item .product_title {
        color: rgba(22, 22, 22, 1);
        font-size: 16px;
        width: 100%;
        text-align: right;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2;
        margin: 15px 5px 10px 5px;
        height: 60px;
        line-height: 30px !important;
        font-weight: 500;
    }

    .product_item .product_author {
        font-size: 14px;
        text-align: right;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2;
        margin: 15px 5px 10px 5px;
        height: 40px;
        line-height: 30px !important;
        font-weight: 400;
    }

    .product_item .product_price {
        color: rgba(17, 124, 93, 1);
        height: 50px;
    }

.product_price {
    color: rgba(17, 124, 93, 1);
    height: 50px;
    display: flex;
    flex-direction: column;
    margin: 15px 0px 20px 0px;
    font-size: 16px;
    font-weight: 800;
    width: 100%;
}

    .product_price span.line-through {
        text-decoration: line-through;
        color: #d32f2f;
        margin-right: 10px;
    }

    .product_price span:first-child {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .product_price .discount_val {
        background-color: #d32f2f;
        border-radius: 15px;
        color: #FFF;
        font-size: 18px;
        padding: 1px 8px;
    }


.product_item svg {
    position: absolute;
    opacity: 0.14;
    left: 25px;
    bottom: 25px;
    -webkit-transition: opacity 200ms ease-out;
    -ms-transition: opacity 200ms ease-out;
    transition: opacity 200ms ease-out;
}

.product_item:hover {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
}

    .product_item:hover svg {
        opacity: 0.9;
        -webkit-transition: opacity 200ms ease-in;
        -ms-transition: opacity 200ms ease-in;
        transition: opacity 200ms ease-in;
    }

    .product_item:hover img {
        transform: scale(1.02);
        -webkit-transition: all 200ms ease-in;
        -ms-transition: all 200ms ease-in;
        transition: all 200ms ease-in;
    }


#groupLists {
    padding: 60px 0px;
}

    #groupLists .nav-container {
        background: #F7F0FF;
        padding: 0.5rem;
        border-radius: 25px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.15);
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 30px 0px;
    }

        #groupLists .nav-container::-webkit-scrollbar {
            display: none;
        }

    #groupLists .nav-link {
        display: inline-block;
        padding: 0.8rem 1.8rem;
        margin: 0 0.2rem;
        font-size: 1rem;
        font-weight: 500;
        color: #5C15BB;
        text-decoration: none;
        border-radius: 20px;
        transition: all 0.3s ease;
        white-space: nowrap;
        border: 1px solid transparent;
    }

        #groupLists .nav-link:hover {
            background: #FFF9ED;
            color: #2F0E4C;
            box-shadow: 0 3px 6px rgba(102, 126, 234, 0.4);
        }

        #groupLists .nav-link.active {
            background: #FFF9ED;
            color: #2F0E4C;
            box-shadow: 0 3px 6px rgba(102, 126, 234, 0.4);
        }

    #groupLists .nav-container.small {
        padding: 0.3rem;
    }

        #groupLists .nav-container.small .nav-link {
            padding: 0.5rem 1.2rem;
            font-size: 0.9rem;
        }


    #groupLists .nav-underline {
        background: white;
        padding: 0.8rem 1.5rem;
        border-radius: 40px;
        display: flex;
        gap: 0.2rem;
    }

        #groupLists .nav-underline .nav-item {
            padding: 0.5rem 1.2rem;
            text-decoration: none;
            color: #4b5563;
            font-weight: 500;
            border-radius: 30px;
            transition: all 0.2s;
            position: relative;
        }

            #groupLists .nav-underline .nav-item.active {
                color: #667eea;
                background: rgba(102, 126, 234, 0.1);
            }

                #groupLists .nav-underline .nav-item.active::after {
                    content: '';
                    position: absolute;
                    bottom: -4px;
                    left: 20%;
                    width: 60%;
                    height: 3px;
                    background: #667eea;
                    border-radius: 3px;
                }

#special_discounts_products .container {
    background-color: rgba(240, 248, 249, 1);
    border-radius: 18px;
    padding: 30px;
}

.owl-carousel .owl-stage-outer {
    padding: 20px 10px;
}