﻿.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;
        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%;
    }
}

.academy_categories {
    display: inline-block;
    list-style-type: none;
    margin: 15px 0px;
}

    .academy_categories li {
        display: inline-block;
    }

        .academy_categories li a {
            background-color: #FFF9ED;
            padding: 15px 25px;
            color: #2F0E4C;
            margin: 5px;
            line-height: 32px;
            font-weight: 800;
            display: inline-block;
            border-radius: 14px;
            cursor: pointer;
            box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
        }

            .academy_categories li a:hover {
                transform: translateY(-5px);
                box-shadow: 0 2px 5px rgba(0,0,0,0.8);
                opacity: 1 !important;
            }

.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#first .product_item {
    color: rgba(22, 22, 22, 1);
    position: relative;
    width: auto;
    display: block;
    padding: 20px;
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    margin: 12px 0px;
}

    .shop_section#first .product_item > span {
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .shop_section#first .product_item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: 24px;
        box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
        -webkit-transition: opacity 200ms ease-out;
        -ms-transition: opacity 200ms ease-out;
        transition: opacity 200ms ease-out;
        transform: scale(1);
    }

    .shop_section#first .product_item .product_title {
        color: rgba(22, 22, 22, 1);
        font-size: 17px;
        width: 100%;
        text-align: justify;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 1;
        margin: 15px 5px 10px 5px;
        height: 60px;
    }

    .shop_section#first .product_item .record_info {
        color: rgba(22, 22, 22, 1);
        font-size: 15px;
        width: 100%;
        text-align: justify;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 1;
        margin: 3px auto 2px auto;
        height: 45px;
        position: relative;
        padding: 8px 35px 8px 0px;
        background-color: #F7F0FF;
        border-radius: 35px;
        -webkit-transition: background-color 200ms ease-in;
        -ms-transition: background-color 200ms ease-in;
        transition: background-color 200ms ease-in;
    }

        .shop_section#first .product_item .record_info::before {
            width: 20px;
            height: 20px;
            content: '';
            position: absolute;
            right: 12px;
            top: 10px;
            background-size: cover;
            background-repeat: no-repeat;
        }

    .shop_section#first .product_item .teacher_info {
    }

        .shop_section#first .product_item .teacher_info::before {
            background-image: url(../img/teacher_icon.svg);
        }

    .shop_section#first .product_item .course_type_info {
    }

        .shop_section#first .product_item .course_type_info::before {
            background-image: url(../img/course_type_icon.svg);
        }

    .shop_section#first .product_item .course_duration_info {
    }

        .shop_section#first .product_item .course_duration_info::before {
            background-image: url(../img/clock-icon.svg);
        }

    .shop_section#first .product_item .product_price {
        color: rgba(17, 124, 93, 1);
        height: 50px;
        display: flex;
        flex-direction: column;
        margin: 15px 0px 20px 0px;
    }

        .shop_section#first .product_item .product_price span.line-through {
            text-decoration: line-through;
            color: #d32f2f;
            margin-right: 10px;
        }

        .shop_section#first .product_item .product_price span:first-child {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .shop_section#first .product_item .product_price .discount_val {
            background-color: #d32f2f;
            border-radius: 15px;
            color: #FFF;
            font-size: 12px;
            padding: 1px 8px;
        }

    .shop_section#first .product_item svg {
        position: absolute;
        opacity: 0.14;
        left: 20px;
        bottom: 20px;
        -webkit-transition: opacity 200ms ease-out;
        -ms-transition: opacity 200ms ease-out;
        transition: opacity 200ms ease-out;
    }

    .shop_section#first .product_item:hover {
        background-color: #F0F8F9;
    }

        .shop_section#first .product_item:hover .record_info {
            background-color: transparent;
            -webkit-transition: all 200ms ease-in;
            -ms-transition: all 200ms ease-in;
            transition: all 200ms ease-in;
        }

        .shop_section#first .product_item:hover svg {
            opacity: 0.9;
            -webkit-transition: opacity 200ms ease-in;
            -ms-transition: opacity 200ms ease-in;
            transition: opacity 200ms ease-in;
        }

        .shop_section#first .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;
        }


    .shop_section#first .product_item p.accademy_dsc {
        font-size: 13px;
        text-align: justify;
        margin: 5px 0px 20px 0px;
        display: inline-block;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 3;
        height: 100px;
    }


.shop_section#packages_courses {
}

    .shop_section#packages_courses .container {
        background-color: rgba(255, 249, 237, 1);
        border-radius: 18px;
        padding: 30px 30px 0px 30px;
    }

    .shop_section#packages_courses .carousel_packages_courses {
        margin: 25px 0px;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
    }

        .shop_section#packages_courses .carousel_packages_courses .packages_course_item {
            position: relative;
            display: inline-block;
            border-radius: 18px;
            padding: 15px 0px;
        }

            .shop_section#packages_courses .carousel_packages_courses .packages_course_item img {
                object-fit: cover;
                transition: transform 0.2s ease-in-out;
                border-radius: 18px;
                height: 350px;
                width: 250px;
                opacity: 0.6;
            }

            .shop_section#packages_courses .carousel_packages_courses .packages_course_item:hover img {
                transform: scale(1.04);
                opacity: 1;
                transition: all 0.2s ease-in-out;
            }

            .shop_section#packages_courses .carousel_packages_courses .packages_course_item .text_slice {
                display: flex;
                flex-direction: column;
                align-items: start;
                margin-right: 15px;
                line-height: 24px;
                position: absolute;
                font-size: 13px;
                right: 5%;
                bottom: 5%;
                color: #000;
            }

                .shop_section#packages_courses .carousel_packages_courses .packages_course_item .text_slice strong {
                    font-size: 16px;
                    font-weight: 700;
                }

.shop_section#latest_courses {
    margin: 5px auto;
}

    .shop_section#latest_courses .container {
        background-color: rgba(240, 248, 249, 1);
        border-radius: 18px;
        padding: 30px 30px 0px 30px;
    }

    .shop_section#latest_courses .carousel_latest_courses {
        margin: 25px 0px;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
    }

        .shop_section#latest_courses .carousel_latest_courses .packages_course_item {
            position: relative;
            display: inline-block;
            border-radius: 18px;
            padding: 15px 0px;
        }

            .shop_section#latest_courses .carousel_latest_courses .packages_course_item img {
                object-fit: cover;
                transition: transform 0.2s ease-in-out;
                border-radius: 18px;
                height: 350px;
                width: 250px;
                opacity: 0.6;
            }

            .shop_section#latest_courses .carousel_latest_courses .packages_course_item:hover img {
                transform: scale(1.04);
                opacity: 1;
                transition: all 0.2s ease-in-out;
            }

            .shop_section#latest_courses .carousel_latest_courses .packages_course_item .text_slice {
                display: flex;
                flex-direction: column;
                align-items: start;
                margin-right: 15px;
                line-height: 24px;
                position: absolute;
                font-size: 13px;
                right: 5%;
                bottom: 5%;
                color: #000;
            }

                .shop_section#latest_courses .carousel_latest_courses .packages_course_item .text_slice strong {
                    font-size: 16px;
                    font-weight: 700;
                }

.shop_section#bestseller_courses {
    margin: 5px auto;
}

    .shop_section#bestseller_courses .container {
        background-color: rgba(245, 238, 255, 1);
        border-radius: 18px;
        padding: 30px 30px 0px 30px;
    }

    .shop_section#bestseller_courses .carousel_bestseller_courses {
        margin: 25px 0px;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
    }

        .shop_section#bestseller_courses .carousel_bestseller_courses .bestsellers_course_item {
            position: relative;
            display: inline-block;
            border-radius: 18px;
            padding: 15px 0px;
        }

            .shop_section#bestseller_courses .carousel_bestseller_courses .bestsellers_course_item img {
                object-fit: cover;
                transition: transform 0.2s ease-in-out;
                border-radius: 18px;
                height: 350px;
                width: 250px;
                opacity: 0.6;
            }

            .shop_section#bestseller_courses .carousel_bestseller_courses .bestsellers_course_item:hover img {
                transform: scale(1.04);
                opacity: 1;
                transition: all 0.2s ease-in-out;
            }

            .shop_section#bestseller_courses .carousel_bestseller_courses .bestsellers_course_item .text_slice {
                display: flex;
                flex-direction: column;
                align-items: start;
                margin-right: 15px;
                line-height: 24px;
                position: absolute;
                font-size: 13px;
                right: 5%;
                bottom: 5%;
                color: #000;
            }

                .shop_section#bestseller_courses .carousel_bestseller_courses .bestsellers_course_item .text_slice strong {
                    font-size: 16px;
                    font-weight: 700;
                }


.shop_section#special_discounts {
    margin: 5px auto;
}

    .shop_section#special_discounts .container {
        background-color: rgba(255, 238, 239, 1);
        border-radius: 18px;
        padding: 30px 30px 0px 30px;
    }

    .shop_section#special_discounts .carousel_special_discounts {
        margin: 25px 0px;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
    }

        .shop_section#special_discounts .carousel_special_discounts .special_discounts_item {
            position: relative;
            display: inline-block;
            border-radius: 18px;
            padding: 15px 0px;
        }

            .shop_section#special_discounts .carousel_special_discounts .special_discounts_item img {
                object-fit: cover;
                transition: transform 0.2s ease-in-out;
                border-radius: 18px;
                height: 350px;
                width: 250px;
                opacity: 0.5;
            }

            .shop_section#special_discounts .carousel_special_discounts .special_discounts_item:hover img {
                transform: scale(1.04);
                opacity: 1;
                transition: all 0.2s ease-in-out;
            }

            .shop_section#special_discounts .carousel_special_discounts .special_discounts_item .text_slice {
                display: flex;
                flex-direction: column;
                align-items: start;
                margin: 15px;
                line-height: 24px;
                position: absolute;
                font-size: 13px;
                right: 0%;
                bottom: 5%;
                color: #000;
            }

                .shop_section#special_discounts .carousel_special_discounts .special_discounts_item .text_slice strong {
                    font-size: 20px;
                    font-weight: 800;
                    line-height: 32px;
                }

            .shop_section#special_discounts .carousel_special_discounts .special_discounts_item .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%;
            }

                .shop_section#special_discounts .carousel_special_discounts .special_discounts_item .product_price span.line-through {
                    text-decoration: line-through;
                    color: #d32f2f;
                    margin-right: 10px;
                }

                .shop_section#special_discounts .carousel_special_discounts .special_discounts_item .product_price span:first-child {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }

                .shop_section#special_discounts .carousel_special_discounts .special_discounts_item .product_price .discount_val {
                    background-color: #d32f2f;
                    border-radius: 15px;
                    color: #FFF;
                    font-size: 18px;
                    padding: 1px 8px;
                }


.contact-section {
    max-width: 1100px;
    width: 100%;
    margin: 4rem auto;
    padding: 2rem 1.5rem;
    background: #F5EEFF;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 3rem;
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.5);
}

.contact-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-text {
    flex: 1 1 280px;
}

    .contact-text .badge {
        background: #1e2b3c;
        color: white;
        display: inline-block;
        padding: 0.3rem 1.2rem;
        border-radius: 40px;
        font-size: 0.85rem;
        font-weight: 500;
        letter-spacing: 0.3px;
        margin-bottom: 1rem;
        border: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .contact-text h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .contact-text .description {
        font-size: 1rem;
        font-weight: 400;
        color: #334155;
        line-height: 1.8;
        max-width: 450px;
        text-align: justify;
    }

.contact-info-wrapper {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card {
    background: white;
    border-radius: 2rem;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 12px 30px -10px rgba(0,100,80,0.15);
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.8);
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 22px 40px -12px rgba(0,110,90,0.25);
        border-color: #b3e0d0;
    }

.icon-circle {
    width: 56px;
    height: 56px;
    background: #edf7f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    font-size: 1.8rem;
    transition: 0.2s;
}

.contact-card:hover .icon-circle {
    background: #0d9488;
    color: white;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: #5b6d81;
    letter-spacing: 0.3px;
}

.card-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e2b3c;
    text-decoration: none;
    line-height: 1.4;
    direction: ltr;
    display: inline-block;
}

    .card-value small {
        font-size: 0.9rem;
        font-weight: 300;
        margin-right: 4px;
        color: #3b4b5e;
    }

.whatsapp-card .card-value {
    color: #075e54;
}

.phone-card .card-value {
    color: #0b3954;
}

.whatsapp-card:hover .icon-circle {
    background: #25D366;
    color: white;
}

.phone-card:hover .icon-circle {
    background: #0284c7;
    color: white;
}

.extra-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #475569;
    background: rgba(255,255,255,0.5);
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    width: fit-content;
    border: 1px dashed #acc1d4;
}

@media (max-width: 720px) {
    .contact-container {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-text h2 {
        font-size: 1.9rem;
    }

    .contact-card {
        padding: 1rem 1.5rem;
    }

    .icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .card-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 420px) {
    .contact-section {
        padding: 1.5rem 1rem;
    }

    .contact-card {
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
        text-align: center;
    }

    .card-content {
        align-items: center;
    }
}

a {
    text-decoration: none;
}

.phone-link, .whatsapp-link {
    transition: opacity 0.2s;
}

    .phone-link:hover, .whatsapp-link:hover {
        opacity: 0.85;
    }

hr {
    border: none;
    height: 1px;
    background: linear-gradient(to left, transparent, #b3c5d4, transparent);
    margin: 1rem 0;
}

.shop_section#groupLists {
    padding: 60px 0px;
}

    .shop_section#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;
    }

        .shop_section#groupLists .nav-container::-webkit-scrollbar {
            display: none;
        }

    .shop_section#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;
    }

        .shop_section#groupLists .nav-link:hover {
            background: #FFF9ED;
            color: #2F0E4C;
            box-shadow: 0 3px 6px rgba(102, 126, 234, 0.4);
        }

        .shop_section#groupLists .nav-link.active {
            background: #FFF9ED;
            color: #2F0E4C;
            box-shadow: 0 3px 6px rgba(102, 126, 234, 0.4);
        }

    .shop_section#groupLists .nav-container.small {
        padding: 0.3rem;
    }

        .shop_section#groupLists .nav-container.small .nav-link {
            padding: 0.5rem 1.2rem;
            font-size: 0.9rem;
        }


    .shop_section#groupLists .nav-underline {
        background: white;
        padding: 0.8rem 1.5rem;
        border-radius: 40px;
        display: flex;
        gap: 0.2rem;
    }

        .shop_section#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;
        }

            .shop_section#groupLists .nav-underline .nav-item.active {
                color: #667eea;
                background: rgba(102, 126, 234, 0.1);
            }

                .shop_section#groupLists .nav-underline .nav-item.active::after {
                    content: '';
                    position: absolute;
                    bottom: -4px;
                    left: 20%;
                    width: 60%;
                    height: 3px;
                    background: #667eea;
                    border-radius: 3px;
                }


.course-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1300px;
    margin: 30px auto;
}

.course-card {
    width: 280px;
    height: 440px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

    .course-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 30px 50px -12px rgba(99, 102, 241, 0.3);
        border-color: #c7d2fe;
    }

.course-image {
    width: 100%;
    height: 160px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-type-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

    .course-type-badge i {
        font-size: 0.75rem;
    }

.discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
    letter-spacing: 0.5px;
    backdrop-filter: blur(2px);
}

.course-card:not(.has-discount) .discount-badge {
    display: none;
}

.course-content {
    padding: 1.2rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.course-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 32px;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.6rem;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    min-height: 58px;
}

.old-price {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}

.new-price {
    font-size: 1rem;
    font-weight: 800;
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

    .new-price .currency {
        font-size: 0.7rem;
        font-weight: 600;
        color: #818cf8;
    }

.course-card:not(.has-discount) .old-price {
    display: none;
}

.course-card:not(.has-discount) .new-price {
    font-size: 1.3rem;
    color: #0f172a;
}

    .course-card:not(.has-discount) .new-price .currency {
        color: #64748b;
    }

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.add-to-cart {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    flex-shrink: 0;
}

    .add-to-cart:hover {
        background: #4338ca;
        transform: scale(1.05);
        box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
    }

    .add-to-cart i {
        font-size: 0.9rem;
    }

.type-online .course-type-badge {
    background: rgba(16, 185, 129, 0.85);
}

.type-offline .course-type-badge {
    background: rgba(245, 158, 11, 0.85);
}

.type-inperson .course-type-badge {
    background: rgba(239, 68, 68, 0.85);
}

.type-package .course-type-badge {
    background: rgba(139, 92, 246, 0.9);
}

.course-card.has-discount .new-price {
    color: #dc2626;
}

    .course-card.has-discount .new-price .currency {
        color: #ef4444;
    }

.course-card.has-discount .add-to-cart {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

    .course-card.has-discount .add-to-cart:hover {
        background: #b91c1c;
    }

@media (max-width: 650px) {
    .course-card {
        max-width: 320px;
        height: 480px;
    }

    .course-grid {
        gap: 1.5rem;
    }
    .shop_section#first .course-card {
        width: 100%;
    }
}


.shop_section#first .course-card {
    margin: 25px auto;
}


.owl-carousel .owl-stage-outer {
    padding: 20px 10px;
}