body{
    background: #fbfbfb;
}
#header-homepage{
    padding-bottom: 20rem;
    background-color: #BFE9F86B;
    background-image: url('../../inc/img/Vector7.svg');
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
}
#header-homepage .img1{
    position: absolute;
    bottom: -10rem;
    left:15rem;
    width: 5rem;
    height: auto;
}
.movie-swiper {
    padding: 20px 0;
}
.movieSwiper{
    padding: 20px 0;
}
.movie-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

/*.movie-card:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 10px 25px rgba(0,0,0,0.15);*/
/*}*/

.movie-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.movie-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-image img {
    transform: scale(1.05);
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255,107,107,0.3);
}

.movie-content {
    padding: 20px;
}

.movie-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.swiper-button-next,
.swiper-button-prev{
    background: white;
    border-radius: 50%;
    width: 44px;
    box-shadow: 2px 2px 1px #0000003d;
}
.movie-category {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.movie-date {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #667eea;
    font-weight: bold;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #667eea;
}

.section-title {
    text-align: center;
    font-weight: bold;
    /*color: var(--babaei-color-3);*/
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-family: Javan, serif;
}

/*/////////*/
.characters {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.characters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.characters .section-title {
    color: white !important;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.characters-grid {
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.character-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-card:hover::before {
    opacity: 1;
}

.character-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 20px 29px rgba(0, 0, 0, 0.2);
}

.character-card.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.character-card .card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: white;
    border: 3px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.character-card .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-card:hover .card-image {
    border-color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.character-card:hover .card-image::after {
    opacity: 1;
}

.character-card.active .card-image {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px #FFD700, 0 10px 25px rgba(0,0,0,0.3);
}

.character-card .card-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.character-card:hover .card-title {
    color: #FFD700;
}

#characterDetailContainer {
    max-width: 900px;
    margin: 0 auto;
    min-height: 400px;
    position: relative;
    transition: min-height 0.3s ease;
}

.character-detail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
}

.character-detail.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.character-detail .detail-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 300px;
}

.character-detail .detail-image {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.character-detail .detail-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(45deg, rgba(102,126,234,0.8), rgba(118,75,162,0.8));*/
    mix-blend-mode: overlay;
}

.character-detail .detail-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);*/
}

.character-detail .detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-detail .detail-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.character-detail .detail-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.character-detail .meta-item {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.default-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    padding: 3rem;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.default-message.hide {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .characters-grid {
        /*grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));*/
        gap: 1.5rem;
    }

    .character-detail .detail-content {
        grid-template-columns: 1fr;
    }

    .character-detail .detail-image {
        height: 200px;
    }

    .character-detail .detail-info {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2rem !important;
    }
}
/*/////////*/
.movie-sections{
    /*margin-bottom: 10rem;*/
}
.note{
    background-image: url('../img/bg.webp');
    background-position: center;
    background-size: cover;
}
.note-text{
    padding: 24px;
    background-color: white;

}
.note .image img{
   position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%) !important;
    max-width: 100%;
}
.featured-campaign-card {
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.1);
}

.featured-campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.featured-campaign-card .btn {
    transition: all 0.3s ease;
}

.featured-campaign-card .btn:hover {
    transform: translateY(-2px);
}

.progress-bar {
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .featured-campaign-card .position-relative {
        padding: 2rem !important;
    }

    .featured-campaign-card .display-6 {
        font-size: 1.5rem !important;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    /*.character-card .card-image {*/
    /*    height: 400px;*/
    /*}*/

    .character-card .card-title h5 {
        font-size: 14px;
    }
    .note .image img{
        position: relative;
        top: auto;
        right: auto;
        transform: translate(0,0) !important;
        max-width: 100%;
    }

}

@media (max-width: 576px) {
    /*.character-card .card-image {*/
    /*    height: 276px;*/
    /*}*/

    .character-card .card-title h5 {
        font-size: 12px;
    }
}


@media (max-width: 768px) {
    .character-card .movie-image {
        height: 180px;
    }

    .character-card .movie-content {
        padding: 15px;
    }

    .character-card .movie-title {
        font-size: 14px;
        min-height: 38px;
    }
}
@media only screen and (max-width: 992px) {
    #header-homepage{
        padding-bottom: 15rem;
    }
}
@media only screen and (max-width: 768px) {
    #header-homepage{
        padding-bottom: 10rem;
    }
}
/*/////////////////////////////////////////////*/
/* ==========================================================================
   سکشن جدول امتیازات - Leaderboard Section
   ========================================================================== */

/* پس‌زمینه و افکت‌های اصلی */
.leaderboard-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.leaderboard-title {

    color: var(--babaei-color-3);
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-family: Javan, serif;
    text-align: center;

}

.leaderboard-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    border-radius: 2px;
}


/* کارت اصلی */
.leaderboard-card {
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

/* آیتم‌های لیدربورد */
.leaderboard-item {
    border-radius: 15px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.leaderboard-item:last-child {
    margin-bottom: 0 !important;
}

/* رتبه‌های خاص */
.leaderboard-item.first-place {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,255,255,0.9) 100%);
    border: 2px solid rgba(255,215,0,0.3);
}

.leaderboard-item.second-place {
    background: linear-gradient(135deg, rgba(192,192,192,0.1) 0%, rgba(255,255,255,0.9) 100%);
    border: 2px solid rgba(192,192,192,0.3);
}

.leaderboard-item.third-place {
    background: linear-gradient(135deg, rgba(205,127,50,0.1) 0%, rgba(255,255,255,0.9) 100%);
    border: 2px solid rgba(205,127,50,0.3);
}

/* بخش رتبه */
.rank-section {
    min-width: 60px;
    text-align: center;
}

.rank-icon {
    font-size: 2rem;
    display: block;
}

.rank-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
}

/* آواتار کاربر */
.user-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-name {
    color: #2d3748;
    font-size: 1.1rem;
}

.user-username {
    font-size: 0.85rem;
}

/* بخش امتیاز */
.score-badge {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(40,167,69,0.3);
}

/* بخش وضعیت */
.status-badge {
    font-size: 0.85rem;
}

/* افکت‌های پس‌زمینه */
.leaderboard-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    background: white;
    border-radius: 50%;
}

.bg-circle-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    animation: float 6s ease-in-out infinite;
}

.bg-circle-2 {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==========================================================================
   سکشن پست‌های اخیر - Latest Posts Section
   ========================================================================== */

/* پس‌زمینه سکشن */
.latest-posts-section {
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
}

.posts-title {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.posts-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* کارت پست */
.post-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* تصویر پست */
.post-image-container {
    height: 250px;
}

.post-image {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-image-overlay {
    height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    pointer-events: none;
}

/* تاریخ پست */
.date-badge {
    background: rgba(255,255,255,0.9);
    color: #333;
    backdrop-filter: blur(10px);
}

/* عنوان پست */
.post-title {
    color: #2d3748;
    line-height: 1.6;

}

.post-link {
    color: inherit;
    transition: color 0.3s ease;
}

.post-link:hover {
    color: #667eea;
}

/* خلاصه پست */
.post-excerpt {
    line-height: 1.8;
}

/* آواتار نویسنده */
.author-avatar {
    width: 32px;
    height: 32px;
    border: 2px solid #e2e8f0;
}

.author-name {
    font-size: 0.85rem;
}

/* دکمه ادامه مطلب */
.read-more-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* دکمه مشاهده همه */
.view-all-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* ==========================================================================
   ریسپانسیو - Responsive Styles
   ========================================================================== */

/* تبلت */
@media (max-width: 992px) {
    .leaderboard-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .score-status {
        justify-content: center;
        gap: 1rem;
    }

    .user-info {
        justify-content: center;
    }
}

/* موبایل */
@media (max-width: 768px) {
    /* سکشن لیدربورد */
    .leaderboard-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .user-avatar {
        width: 50px;
        height: 50px;
    }

    .rank-icon {
        font-size: 1.5rem;
    }

    .rank-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .user-name {
        font-size: 1rem;
    }

    .score-badge,
    .status-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* سکشن پست‌ها */
    .post-card .card-body {
        padding: 1.5rem 1rem;
    }

    .post-title {
        font-size: 1.1rem;
        min-height: auto;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .post-image-container {
        height: 200px;
    }

    .post-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .author-info {
        justify-content: center;
    }

    .read-more-btn {
        align-self: center;
    }
}

/* موبایل کوچک */
@media (max-width: 576px) {
    .leaderboard-section .py-5,
    .latest-posts-section .py-5,
    .movie-sections .py-5{
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .leaderboard-item {
        padding: 1rem;
    }

    .bg-circle-1,
    .bg-circle-2 {
        display: none;
    }

    .view-all-btn {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   انیمیشن‌های اضافی - Additional Animations
   ========================================================================== */

/* انیمیشن ورود برای آیتم‌های لیدربورد */
.leaderboard-item {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.leaderboard-item:nth-child(1) { animation-delay: 0.1s; }
.leaderboard-item:nth-child(2) { animation-delay: 0.2s; }
.leaderboard-item:nth-child(3) { animation-delay: 0.3s; }
.leaderboard-item:nth-child(4) { animation-delay: 0.4s; }
.leaderboard-item:nth-child(5) { animation-delay: 0.5s; }
.leaderboard-item:nth-child(6) { animation-delay: 0.6s; }
.leaderboard-item:nth-child(7) { animation-delay: 0.7s; }
.leaderboard-item:nth-child(8) { animation-delay: 0.8s; }
.leaderboard-item:nth-child(9) { animation-delay: 0.9s; }
.leaderboard-item:nth-child(10) { animation-delay: 1s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* انیمیشن ورود برای کارت‌های پست */
.post-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.post-card:nth-child(1) { animation-delay: 0.2s; }
.post-card:nth-child(2) { animation-delay: 0.4s; }
.post-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* افکت نبض برای رتبه‌های برتر */
.first-place .rank-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
/* Product Section Styles */
.products-section {
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    /*color: #333;*/
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    /*margin-bottom: 3rem;*/
}

.products-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Swiper Styles */
.products-swiper {
    padding: 20px 0 50px;
}

.swiper-slide {
    height: auto;
}

/* Product Card Styles */
.product-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    /*height: 100%;*/
    border: 1px solid rgba(255,255,255,0.1);
}

.product-card:hover {
    /*transform: translateY(-10px);*/
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Product Image */
.product-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.product-badge {
    display: block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.badge-sale {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
}

.badge-new {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
}

.badge-featured {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #333;
}

.badge-out-of-stock {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    /*transform: translateX(0);*/
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.action-btn:hover {
    background: white;
    transform: scale(1.1);
    color: #667eea;
}

/* Product Content */
.product-content {
    padding: 20px 20px;
    position: relative;
}

.product-category {
    display: inline-block;
    background: linear-gradient(45deg, #667eea20, #764ba220);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    border: 1px solid #667eea30;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #667eea;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.rating-stars {
    color: #ffd700;
    font-size: 14px;
}

.rating-count {
    color: #666;
    font-size: 13px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #28a745;
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.discount-percent {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Product Footer */
.product-footer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.add-to-cart-btn {
    flex: 1;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.add-to-cart-btn.out-of-stock {
    background: #6c757d;
    cursor: not-allowed;
}

.add-to-cart-btn.out-of-stock:hover {
    transform: none;
    box-shadow: none;
}

.quick-view-btn {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quick-view-btn:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: scale(1.1);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #667eea;
    font-weight: bold;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #667eea;
    width: 12px;
    height: 12px;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

/* View All Button */
.view-all-section {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .product-content {
        padding: 20px 15px;
    }

    .product-image-container {
        height: 200px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .products-section {
        padding: 60px 0;
    }

    .product-actions {
        display: none;
    }

    .product-footer {
        flex-direction: column;
        gap: 10px;
    }

    .quick-view-btn {
        width: 100%;
    }
}
.swiper-button-next, .swiper-button-prev {
    color: rgba(0, 0, 0, 0.41);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    backdrop-filter: blur(10px);
}