@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* تنظیمات کلی */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IRANSans', tahoma, Arial, sans-serif;
 
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #17a2b8;
}

.card {
    border: none;
    border-radius: 10px;

    transition: all 0.3s ease;
}
.card-order{

    border: 1px solid #eee;
}

.btn-primary {
    background-color: #17a2b8;
}

/* هدر */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    direction: ltr;
}

.top-header {
    background-color: #fff;
    padding: 10px 0;
}

.logo img {
    max-height: 60px;
}

.search-box {
    position: relative;
    width: 250px;
   
}

.search-box input {
    width: 100%;
    padding: 8px 25px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    transition: all 0.3sease;
    font-size: 0.9rem;
    direction: rtl;
}

.search-box input:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 5px rgba(23, 162, 184, 0.3);
}

.search-box button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #17a2b8;
}

.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #17a2b8;
    position: relative;
    font-size: 1.2rem;
    margin-right: 10px;
}

.cart-btn span {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #17a2b8;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.login-btn {
    background-color: #044d5f;
    color: #fff;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #033542;
    color: #fff;
}

.bottom-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.main-nav {
    display: flex;
    justify-content: right;
    direction: rtl;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    color: #555;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #17a2b8;
    background-color: rgba(23, 162, 184, 0.05);
}

/* بنر اصلی */
.hero-section {
    margin-top: 30px;
}

.main-banner {
    position: relative;
    background: linear-gradient(45deg, #1a5a68, #17a2b8);
    border-radius: 10px;
    color: #fff;
    padding: 30px;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-content {
    position: relative;
    z-index: 1;
    width: 50%;
}

.main-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.main-banner img {
    position: absolute;
    left: 0;
    bottom: 0;
    max-height: 100%;
    max-width: 50%;
}

.promo-carousel {
    height: 98%;
    background-image: url('../img/Frame 1000006031.png');
    
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
}

.promo-carousel  .carousel-item{
    height: 100%;
}
.promo-carousel  .carousel-inner{
    height: 100%;
}

 .product-price-promo {
    position: relative;
    bottom: 0;
  width: 60%;
    padding: 17px 15px;
    font-weight: bold;
  
    display: inline-block;
    text-align: right;
   
}
.icon-offer-box{
    width: 35%;
    display: inline-block;
   
    text-align: left;
    padding-left: 20px;
}


.promo-card {
    height: 400px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.promo-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pre-price{
color: black !important;
text-decoration: line-through;
font-size: 18px !important;

}

.promo-product-img {
    max-width: 80%;
    max-height: 250px;
    margin-bottom: 20px;
}

.price-container {
    text-align: center;
    margin-top: 15px;
}

.price-container del {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.price-container span {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.sale-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    z-index: 3;
}

.promo-card h3 {
    color: white;
    margin-bottom: 10px;
}

.promo-card p {
    color: rgba(255, 255, 255, 0.8);
}

.promo-card .price {
    margin-top: 15px;
}

.promo-card .price del {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;
}

.promo-card .price span {
    color: white;
    font-weight: bold;
}

.promo-card {
 
    border-radius: 10px;
    padding: 20px;
    position: relative;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.promo-card h3 {
    font-size: 1.4rem;
    margin-top: 10px;
}

.promo-card .price {
    margin-top: 15px;
}

.promo-card del {
    color: #999;
    margin-left: 10px;
}

.promo-card img {
    
    left: 10px;
    bottom: 10px;
    max-width: 220px;
}

/* دسته بندی ها */
.categories {
    margin-top: 50px;
}

.category-card img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: all 0.3s ease;
}

.category-card:hover img {
    opacity: 0.8;
}

.category-card .card-body {
    padding: 15px;
}

.category-card h5 {
    font-weight: 600;
    margin: 0;
}

/* محصولات */
.product-card {
    margin-bottom: 25px;
}

.product-image {
    position: relative;
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

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

.wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wishlist:hover {
    background-color: #dc3545;
    color: #fff;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
    color: white    ;
}

.product-meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}

.price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-weight: 700;
    color: #17a2b8;
}

.add-to-cart {
    background-color: #17a2b8;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: #138496;
    transform: scale(1.1);
}

/* پیشنهادات ویژه */
.offer-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    background-color: #17a2b8;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    z-index: 1;
}

.offer-content {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
}

.offer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.offer-card img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* بخش درباره ما */
.about-us .card {
    padding: 20px;
}

.steps {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.step-icon {
    width: 30px;
    height: 30px;
    background-color: #17a2b8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-weight: 600;
}

/* بلاگ */
.blog-card {
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-meta {
    color: #777;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.read-more {
    color: #17a2b8;
    font-weight: 500;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* ویژگی های فروشگاه */

.features {
    background-color:#c6e5df;
}

.feature-card {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: rgba(23, 162, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #17a2b8;
    font-size: 1.5rem;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: #777;
    font-size: 0.9rem;
}

/* فوتر */
footer {
    background-color: #222;
    background-image: url('../img/footer-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ccc;
    padding: 50px 0 30px;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.mojavez img{
    width: 130px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #17a2b8;
    padding-right: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-left: 10px;
    color: #17a2b8;
}
footer h5{
    color: #77B5A9 !important;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-left: 10px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: #17a2b8;
    transform: translateY(-3px);
}

.newsletter input {
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: 5px 5px 0 0;
    margin-bottom: 1px;
}

.newsletter button {
    width: 100%;
    padding: 10px;
    border-radius: 0 0 5px 5px;
}

.copyright {
    margin: 0;
    color: #777;
}

.payment-methods img {
    margin-right: 10px;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .search-box {
        width: 180px;
    }
    
    .main-banner h2 {
        font-size: 1.5rem;
    }
    
    .main-banner p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .banner-content {
        width: 100%;
    }
    
    .main-banner img {
        opacity: 0.3;
        max-width: 80%;
    }
    
    .offer-content {
        right: 20px;
    }
    
    .offer-content h3 {
        font-size: 1.4rem;
    }
    
    .search-box {
        display: none;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.3rem;
    }
    
    .promo-card h3 {
        font-size: 1.2rem;
    }
    
    .promo-card img {
        max-width: 90px;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 10px;
    }
}


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

.section-title {
    position: relative;
    margin-bottom: 25px;
    font-weight: 700;
    padding-right: 15px;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background-color: #17a2b8;
    
    }


     /* Product card styling */
     .products {
        background-color: #22536C;
        padding: 20px;
      }
      
      .product-card {
        border-radius: 10px;
        transition: all 0.3s ease; /* اصلاح شد: ease بجای ease */
        border: none;
        height: 450px;
        background-image: url(../img/card.png);
        background-size: cover;
        background-repeat: no-repeat;
      }
      
      .product-card:hover {
        transform: translateY(-5px);
      }
      
      .card-subtitle {
        text-align: center;
      }
      
   
      /* .product-price {
        text-align: center;
        background-color: rgba(255, 255, 255, 0.7); 
        border-radius: 5px;
        padding: 8px;
        margin-top: auto; 
      }
       */
   
      .card-body {
        height: 100%;
   
      }
      .chat-card  .card-body{
        border: 1px solid;
        border-radius: 10px;
          
      }
  /* Carousel control styling */
  .carousel-control-prev,
  .carousel-control-next {
    width: 5%;
    opacity: 0.9;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10%;
    height: 20px;
    width: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .carousel-control-prev {
    right: 30px;
    z-index: 9999;
  }
  
  .carousel-control-next {
    left: 30px;
    z-index: 9999;
  }
  
  /* Button styling */
  .btn-primary {
    background-color: #009688;
    border-color: #009688;
  }
  
  /* Custom container for the carousel */
  .product-carousel {
    padding: 0 25px;
    position: relative;
  }

  .product-price {
    position: relative;
    bottom: 0;
  
    padding: 10px 15px;
    font-weight: bold;
  
    margin-top: auto;
    text-align: right;


}


.single-product-price{
      position: relative;
    bottom: 0;
  
    padding: 10px 15px;
    font-weight: bold;
  
    margin-top: auto;
    text-align: left;
        border-bottom: 1px solid #eee;

}

.product-card a:hover{
    color:black
}
.pre-price{
    font-size: 12px;
}
.cur-price{
    font-size: 22px;
    color: #009688;
}


.box-b-offer{
    width: 100%;
}



.breadcrumb {
    background-color: transparent;
    padding: 10px 0;
    margin-bottom: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

/* Product Gallery */
.product-gallery {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #eee;
    padding: 15px;
}

.product-gallery img {
    width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.thumbnail-container {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    padding: 5px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail.active {
    border-color: #17a2b8;
}

/* Product Info */
.product-info {
    padding: 15px;
}

.product-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    
    color: #2c3e50;
}

.product-brand {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
    display: block;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #17a2b8;
    margin-bottom: 20px;
}

.title-price{
    float: right;

    font-size: 14px;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 15px;
   
}

/* Color Selection */


/* Size Selection */
.product-size {
    margin-bottom: 20px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}
.wishlist-btn.active i,
#wishlist-btn.active i {
    color: #e74c3c; /* رنگ قرمز برای قلب فعال */
}


.size-option {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.size-option.active {
    background-color: #17a2b8;
    color: #fff;
    border-color: #17a2b8;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-control button {
    width: 35px;
    height: 58px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-control input {
    width: 35px;
    height: 40px;
 
    text-align: center;
    font-weight: 500;
    margin: 0 5px;
       border: none;
       
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: #17a2b8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn i {
    margin-left: 10px;
}

/* Product Tabs */
.product-tabs {
    margin-top: 50px;
}

.nav-tabs {
    border-bottom: 1px solid #ddd;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 10px 20px;
}

.nav-tabs .nav-link.active {
    color: #17a2b8;
    border-bottom-color: #17a2b8;
    background-color: transparent;
}

.tab-content {
    padding: 20px 0;
}

.tab-pane h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Specifications Table */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid #eee;
}

.specifications-table th {
    width: 30%;
    padding: 12px 10px;
    font-weight: 600;
    color: #2c3e50;
}

.specifications-table td {
    padding: 12px 10px;
    color: #6c757d;
}

/* Review Section */
.review {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.review-author {
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.review-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-content p {
    color: #6c757d;
    line-height: 1.8;
}

/* Review Form */
.review-form {
    margin-top: 30px;
}

.review-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.rate-product {
    margin-bottom: 20px;
}

.rate-product .rating {
    color: #ddd;
    font-size: 24px;
    cursor: pointer;
}

.rate-product .rating i.active {
    color: #ffc107;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 5px rgba(23, 162, 184, 0.3);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
}

.btn-submit {
    background-color: #17a2b8;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 500;
}

/* Similar Products Section */
.similar-products {
    margin-top: 50px;
}

.similar-products h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #2c3e50;
}

/* ویژه صفحه محصول */
.product-details {
    padding: 30px 0;
}

.product-image-gallery {
    position: relative;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

/* .product-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.product-main-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
} */

.product-thumbnails-wrapper {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.product-thumbnail {
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    width: 60px;
    height: 60px;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnail.active {
    border-color: #17a2b8;
}

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

/* رنگ‌بندی */
.color-title {
    margin-bottom: 10px;
    font-weight: 600;
}

.color-selector {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-circle {
    width: 90px;
    height: 70px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 3px solid black;
    border-radius: 0 0 24px 24px;
    transition: border-color 0.2s;
}

.color-circle.active {
    border-bottom: 4px solid #17a2b8;

    transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.color-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.color-name {
    margin-top: 8px;
    font-weight: bold;
    color: #003344;
    text-align: center;
}

/* سایزبندی */
.size-title {
    margin-bottom: 10px;
    font-weight: 600;
}

.size-selector {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EEE;
}

.size-box {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    margin-left: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.size-box.active, .size-box:hover {
    background-color: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

/* دکمه افزودن به سبد خرید */
.add-to-cart-button {
    background-color: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
   
}

.quantity-product{
    display: inline-block;
}
.add-to-cart-button:hover {
    background-color: #138496;
}

.add-to-cart-button i {
    margin-left: 10px;
}

/* تب‌های مربوط به محصول */
.product-tab-content {
    margin-top: 40px;
}

/* نظرات خریداران */
.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: bold;
    margin-bottom: 0;
    color: #495057;
}

.reviewer-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.review-text {
    margin-top: 15px;
}

.review-rating {
    color: #ffc107;
}

/* فرم ثبت نظر */
.review-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.review-form-title {
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #17a2b8;
    padding-bottom: 10px;
    color: #17a2b8;
}

.bg-color-gray{
    background-color: #f9f9f9;
}