:root {
    --primary-color: #7b2cbf; /* بنفش مایل به ارغوانی */
    --secondary-color: #ff9e00; /* طلایی-نارنجی */
    --dark-bg: #2d2d2d; /* پس‌زمینه تاریک */
    --light-bg: #3a3a3a; /* پس‌زمینه روشن‌تر */
    --lighter-bg: #4a4a4a; /* پس‌زمینه بسیار روشن */
    --text-color: #f0f0f0; /* متن روشن */
    --text-muted: #bbbbbb; /* متن کمرنگ */
}


.text-muted{
    color: orangered !important;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c77dff 100%);
    color: white;
    padding: 100px 0;
    margin-bottom: 30px;
}

.feature-box {
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    background-color: var(--light-bg);
    border: 1px solid var(--lighter-bg);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: var(--secondary-color);
    background-color: var(--lighter-bg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

footer {
    background-color: #252525;
    color: var(--text-color);
    padding: 50px 0 20px;
    margin-top: 50px;
    border-top: 1px solid var(--secondary-color);
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
    filter: brightness(0.8);
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    background-color: var(--light-bg) !important;
    border-bottom: 2px solid var(--secondary-color);
}

.carousel-control-prev, .carousel-control-next {
    width: auto;
    background: none;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

.carousel-caption {
    background-color: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 20px;
    border-left: 3px solid var(--secondary-color);
}

@media (max-width: 576px) {
    .carousel-caption {
        padding: 10px;
        bottom: 20px;
    }
    .carousel-caption h5 {
        font-size: 1rem;
    }
    .carousel-caption p {
        display: none;
    }
    .carousel-caption .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #6a1b9a;
    border-color: #6a1b9a;
}

.btn-outline-primary {
    color: orangered;
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.gold-text {
    color: var(--secondary-color);
}

.gold-bg {
    background-color: rgba(255, 158, 0, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
}

.product-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s;
    border: 1px solid var(--lighter-bg);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-color: var(--secondary-color);
}

.product-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-title {
    color: var(--secondary-color);
    font-weight: bold;
}

.product-price {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.social-icons a {
    color: var(--secondary-color) !important;
    transition: all 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #ffb74d !important;
}

.nav-link.active {
    color: var(--secondary-color) !important;
    font-weight: bold;
}
#productCanvas {
    
    position: absolute;
   
    
    z-index: 0;
    filter: blur(0.5px);
    /* جلوگیری از تغییر اندازه محتوا */
    object-fit: contain;
    
}


.product-card {
    transition: all 0.3s;
    border: 1px solid #eee;
    width: 86%;
    margin-right: 8%;

}

 .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    .product-card:hover .product-img-container img {
        transform: scale(1.05);
    }
    
    .product-card:hover .btn {
        box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5) !important;
    }
    
    .object-fit-cover {
        object-fit: cover;
    }
.badge-category {
    background-color: var(--secondary-color);
    color: #333;
}

.pagination-custom {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 20px 0;
    flex-wrap: wrap;
  }
  
  .pagination-custom li {
    display: inline-block;
  }
  
  .pagination-custom li a, 
  .pagination-custom li span.dots {
    display: block;
    padding: 8px 14px;
    border-radius: 10px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
  }
  
  .pagination-custom li a:hover {
    background: #ddd;
    color: #000;
  }
  
  .pagination-custom li.active a {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  .pagination-custom li span.dots {
    pointer-events: none;
    background: none;
    color: #999;
    font-size: 18px;
  }
  
  .page-status {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #555;
  }
  .comment-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.reply-card:hover {
    box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.user-avatar i {
    transition: transform 0.3s;
}
.user-avatar:hover i {
    transform: scale(1.1);
}


    .product-image-container {
        height: 300px;
        overflow: hidden;
        position: relative;
    }
    .product-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
h6{
    font-weight: 700;
    font-size: 14px;
}