/* CSS Document */
@charset "UTF-8";

@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir.eot');
  src: local('../fonts/Vazir'), url('../fonts/Vazir.woff') format('woff'), url('../fonts/Vazir.ttf') format('truetype');
}

/* اعمال فونت به تمام عناصر فرم */
input, textarea, button, select, label {
    font-family: 'Vazir', Arial, sans-serif;
    font-size: 1rem; /* اندازه فونت مناسب */
    line-height: 1.5; /* فاصله خطوط مناسب */
}

/* اعمال فونت به فیلدهای ورودی */
input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 0.5rem; /* فاصله داخلی فیلد */
    border: 1px solid #ccc; /* حاشیه فیلد */
    border-radius: 5px; /* گرد کردن گوشه‌ها */
}

.container {
  margin: auto;
  padding: 0 1rem;
  max-width: 71.25rem;
  width: 100%;
}

.grid {
  display: flex;
  flex-direction: column;
  flex-flow: row wrap;
}
.grid > [class*="column-"] {
  display: block;
}

.first {
  order: -1;
}

.last {
  order: 12;
}

.align-top {
  align-items: start;
}

.align-center {
  align-items: center;
}

.align-bottom {
  align-items: end;
}

.column-xs-1 {
  flex-basis: 8.3333333333%;
  max-width: 8.3333333333%;
}

.column-xs-2 {
  flex-basis: 16.6666666667%;
  max-width: 16.6666666667%;
}

.column-xs-3 {
  flex-basis: 25%;
  max-width: 25%;
}

.column-xs-4 {
  flex-basis: 33.3333333333%;
  max-width: 33.3333333333%;
}

.column-xs-5 {
  flex-basis: 41.6666666667%;
  max-width: 41.6666666667%;
}

.column-xs-6 {
  flex-basis: 50%;
  max-width: 50%;
}

.column-xs-7 {
  flex-basis: 58.3333333333%;
  max-width: 58.3333333333%;
}

.column-xs-8 {
  flex-basis: 66.6666666667%;
  max-width: 66.6666666667%;
}

.column-xs-9 {
  flex-basis: 75%;
  max-width: 75%;
}

.column-xs-10 {
  flex-basis: 83.3333333333%;
  max-width: 83.3333333333%;
}

.column-xs-11 {
  flex-basis: 91.6666666667%;
  max-width: 91.6666666667%;
}

.column-xs-12 {
  flex-basis: 100%;
  max-width: 100%;
}

@media (min-width: 48rem) {
  .column-sm-1 {
    flex-basis: 8.3333333333%;
    max-width: 8.3333333333%;
  }

  .column-sm-2 {
    flex-basis: 16.6666666667%;
    max-width: 16.6666666667%;
  }

  .column-sm-3 {
    flex-basis: 25%;
    max-width: 25%;
  }

  .column-sm-4 {
    flex-basis: 33.3333333333%;
    max-width: 33.3333333333%;
  }

  .column-sm-5 {
    flex-basis: 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .column-sm-6 {
    flex-basis: 50%;
    max-width: 50%;
  }

  .column-sm-7 {
    flex-basis: 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .column-sm-8 {
    flex-basis: 66.6666666667%;
    max-width: 66.6666666667%;
  }

  .column-sm-9 {
    flex-basis: 75%;
    max-width: 75%;
  }

  .column-sm-10 {
    flex-basis: 83.3333333333%;
    max-width: 83.3333333333%;
  }

  .column-sm-11 {
    flex-basis: 91.6666666667%;
    max-width: 91.6666666667%;
  }

  .column-sm-12 {
    flex-basis: 100%;
    max-width: 100%;
  }
}
@media (min-width: 62rem) {
  .column-md-1 {
    flex-basis: 8.3333333333%;
    max-width: 8.3333333333%;
  }

  .column-md-2 {
    flex-basis: 16.6666666667%;
    max-width: 16.6666666667%;
  }

  .column-md-3 {
    flex-basis: 25%;
    max-width: 25%;
  }

  .column-md-4 {
    flex-basis: 33.3333333333%;
    max-width: 33.3333333333%;
  }

  .column-md-5 {
    flex-basis: 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .column-md-6 {
    flex-basis: 50%;
    max-width: 50%;
  }

  .column-md-7 {
    flex-basis: 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .column-md-8 {
    flex-basis: 66.6666666667%;
    max-width: 66.6666666667%;
  }

  .column-md-9 {
    flex-basis: 75%;
    max-width: 75%;
  }

  .column-md-10 {
    flex-basis: 83.3333333333%;
    max-width: 83.3333333333%;
  }

  .column-md-11 {
    flex-basis: 91.6666666667%;
    max-width: 91.6666666667%;
  }

  .column-md-12 {
    flex-basis: 100%;
    max-width: 100%;
  }
}
@media (min-width: 75rem) {
  .column-lg-1 {
    flex-basis: 8.3333333333%;
    max-width: 8.3333333333%;
  }

  .column-lg-2 {
    flex-basis: 16.6666666667%;
    max-width: 16.6666666667%;
  }

  .column-lg-3 {
    flex-basis: 25%;
    max-width: 25%;
  }

  .column-lg-4 {
    flex-basis: 33.3333333333%;
    max-width: 33.3333333333%;
  }

  .column-lg-5 {
    flex-basis: 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .column-lg-6 {
    flex-basis: 50%;
    max-width: 50%;
  }

  .column-lg-7 {
    flex-basis: 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .column-lg-8 {
    flex-basis: 66.6666666667%;
    max-width: 66.6666666667%;
  }

  .column-lg-9 {
    flex-basis: 75%;
    max-width: 75%;
  }

  .column-lg-10 {
    flex-basis: 83.3333333333%;
    max-width: 83.3333333333%;
  }

  .column-lg-11 {
    flex-basis: 91.6666666667%;
    max-width: 91.6666666667%;
  }

  .column-lg-12 {
    flex-basis: 100%;
    max-width: 100%;
  }
}
@supports (display: grid) {
  .grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
  }
  .grid > [class*="column-"] {
    margin: 0;
    max-width: 100%;
  }

  .column-xs-1 {
    grid-column-start: span 1;
    grid-column-end: span 1;
  }

  .column-xs-2 {
    grid-column-start: span 2;
    grid-column-end: span 2;
  }

  .column-xs-3 {
    grid-column-start: span 3;
    grid-column-end: span 3;
  }

  .column-xs-4 {
    grid-column-start: span 4;
    grid-column-end: span 4;
  }

  .column-xs-5 {
    grid-column-start: span 5;
    grid-column-end: span 5;
  }

  .column-xs-6 {
    grid-column-start: span 6;
    grid-column-end: span 6;
  }

  .column-xs-7 {
    grid-column-start: span 7;
    grid-column-end: span 7;
  }

  .column-xs-8 {
    grid-column-start: span 8;
    grid-column-end: span 8;
  }

  .column-xs-9 {
    grid-column-start: span 9;
    grid-column-end: span 9;
  }

  .column-xs-10 {
    grid-column-start: span 10;
    grid-column-end: span 10;
  }

  .column-xs-11 {
    grid-column-start: span 11;
    grid-column-end: span 11;
  }

  .column-xs-12 {
    grid-column-start: span 12;
    grid-column-end: span 12;
  }

  @media (min-width: 48rem) {
    .column-sm-1 {
      grid-column-start: span 1;
      grid-column-end: span 1;
    }

    .column-sm-2 {
      grid-column-start: span 2;
      grid-column-end: span 2;
    }

    .column-sm-3 {
      grid-column-start: span 3;
      grid-column-end: span 3;
    }

    .column-sm-4 {
      grid-column-start: span 4;
      grid-column-end: span 4;
    }

    .column-sm-5 {
      grid-column-start: span 5;
      grid-column-end: span 5;
    }

    .column-sm-6 {
      grid-column-start: span 6;
      grid-column-end: span 6;
    }

    .column-sm-7 {
      grid-column-start: span 7;
      grid-column-end: span 7;
    }

    .column-sm-8 {
      grid-column-start: span 8;
      grid-column-end: span 8;
    }

    .column-sm-9 {
      grid-column-start: span 9;
      grid-column-end: span 9;
    }

    .column-sm-10 {
      grid-column-start: span 10;
      grid-column-end: span 10;
    }

    .column-sm-11 {
      grid-column-start: span 11;
      grid-column-end: span 11;
    }

    .column-sm-12 {
      grid-column-start: span 12;
      grid-column-end: span 12;
    }
  }
  @media (min-width: 62rem) {
    .column-md-1 {
      grid-column-start: span 1;
      grid-column-end: span 1;
    }

    .column-md-2 {
      grid-column-start: span 2;
      grid-column-end: span 2;
    }

    .column-md-3 {
      grid-column-start: span 3;
      grid-column-end: span 3;
    }

    .column-md-4 {
      grid-column-start: span 4;
      grid-column-end: span 4;
    }

    .column-md-5 {
      grid-column-start: span 5;
      grid-column-end: span 5;
    }

    .column-md-6 {
      grid-column-start: span 6;
      grid-column-end: span 6;
    }

    .column-md-7 {
      grid-column-start: span 7;
      grid-column-end: span 7;
    }

    .column-md-8 {
      grid-column-start: span 8;
      grid-column-end: span 8;
    }

    .column-md-9 {
      grid-column-start: span 9;
      grid-column-end: span 9;
    }

    .column-md-10 {
      grid-column-start: span 10;
      grid-column-end: span 10;
    }

    .column-md-11 {
      grid-column-start: span 11;
      grid-column-end: span 11;
    }

    .column-md-12 {
      grid-column-start: span 12;
      grid-column-end: span 12;
    }
  }
  @media (min-width: 75rem) {
    .column-lg-1 {
      grid-column-start: span 1;
      grid-column-end: span 1;
    }

    .column-lg-2 {
      grid-column-start: span 2;
      grid-column-end: span 2;
    }

    .column-lg-3 {
      grid-column-start: span 3;
      grid-column-end: span 3;
    }

    .column-lg-4 {
      grid-column-start: span 4;
      grid-column-end: span 4;
    }

    .column-lg-5 {
      grid-column-start: span 5;
      grid-column-end: span 5;
    }

    .column-lg-6 {
      grid-column-start: span 6;
      grid-column-end: span 6;
    }

    .column-lg-7 {
      grid-column-start: span 7;
      grid-column-end: span 7;
    }

    .column-lg-8 {
      grid-column-start: span 8;
      grid-column-end: span 8;
    }

    .column-lg-9 {
      grid-column-start: span 9;
      grid-column-end: span 9;
    }

    .column-lg-10 {
      grid-column-start: span 10;
      grid-column-end: span 10;
    }

    .column-lg-11 {
      grid-column-start: span 11;
      grid-column-end: span 11;
    }

    .column-lg-12 {
      grid-column-start: span 12;
      grid-column-end: span 12;
    }
  }
}
* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Vazir', sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  color: #888;
  background: #fff;
  text-rendering: optimizeLegibility;
  direction: rtl;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
ul li {
  margin: 0 0 0 1.75rem;
}

a {
  color: #888;
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: #333;
}
a.active {
  color: #333;
}

h1, h2, h3, h4 {
  color: #333;
  font-weight: normal;
  margin: 1.25rem 0 1rem 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.125rem;
  margin: 0;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem 0;
}

section {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

nav {
  display: block;
}
nav li {
  font-size: 1.125rem;
  margin: 0;
}

button {
  font-family: 'Vazir';
}

.flex-nav ul {
  position: absolute;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  display: none;
  width: 100%;
  left: 0;
  padding: 1rem;
  background: #ffffff;
  text-align: center;
}
.flex-nav ul.active {
  display: flex;
}
.flex-nav ul li {
  margin: 0.5rem 0;
}

.toggle-nav {
  display: flex;
  justify-content: flex-end;
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 1rem 0;
}
.toggle-nav i {
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0 0.5rem 0 0;
}

#highlight {
  color: #333;
  font-size: 1.125rem;
  text-transform: uppercase;
}

.price {
  margin: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 1rem 0 0 0;
  list-style: none;
}
.breadcrumb-list li {
  font-size: 0.85rem;
  text-transform: uppercase;
}

.breadcrumb-item.active {
  color: #333;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  display: inline-block;
  padding: 0 0.5rem;
  color: #d5d5d5;
}

.description {
  border-top: 0.0625rem solid #e3dddd;
  margin: 1rem 0;
  padding: 1rem 0 0 0;
}

.add-to-cart {
  position: relative;
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-to-cart:hover {
  background-color: #0056b3;
}



.grid > [class*="column-"] {
  padding: 1rem;
}

.grid.menu > [class*="column-"] {
  padding: 0.5rem 1rem 0.5rem 1rem;
}
.grid.product {
  padding: 0 0 0rem 0;
}
.grid.second-nav > [class*="column-"] {
  padding: 0.5rem 1rem;
}

footer {
  padding: 1rem 0;
  text-align: center;
}

.product-image {
  display: none;
}

.image-list li {
  margin: 0;
}
.space-header{
  display: block;
  height: 80px;
}
@media (min-width: 62rem) {
  .product-image img, .image-list img {
    width: 100%;
  }

  .product-image {
    display: block;
  }
  .product-image img {
    height: 63vh;
  }
  .product-image img.active {
    display: block;
    margin: 0 0 0.25rem 0;
  }

  .image-list {
    display: flex;
    overflow: hidden;
  }
  .image-list li {
    margin: 0 0 0 0.25rem ;
    flex-basis: 100%;
  }
  .image-list li:last-child {
    margin: 0;
  }
  .image-list img {
    height: 6rem;
    width: 100%;
    transition: opacity 0.3s ease;
    cursor: pointer;
  }
  .image-list img:hover {
    opacity: 0.7;
  }

  nav ul {
    justify-content: flex-end;
  }

  .toggle-nav {
    display: none;
  }

  .flex-nav {
    display: block;
    position: fixed;
    width: 100%;
    background-color:#ffffff ;
    z-index: 100;
    border-bottom: 0.0625rem solid #e3dddd;;
  }
  .flex-nav ul {
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: flex-end;
  }
  .flex-nav ul li {
    font-size: 1.125rem;
    margin: 0 0 0 1.5rem;
  }
  .flex-nav ul li:nth-child(4) {
    margin: 0;
  }
}
@-webkit-keyframes fadeImg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeImg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
footer {
    background-color: #333;
    color: #fff;
    margin-top: 20px;
    padding: 20x 0;
    font-size: 14px;
}

footer h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links li {
    text-align:center;
    list-style: none;
    margin-bottom: 10px;
    margin-left:0px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    text-align: center;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #00bcd4;
}

.copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
}
/* بنر اصلی */

.centered {
  position: absolute;
  font-size: 28px;
  top: 19%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  
}
.hero-banner {
  background-color: #f4f4f4;
  padding: 12px 0;
  text-align: center;
}

.hero-banner h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-banner p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

.banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* دسته‌بندی محصولات */

.form-login-section{
    margin-bottom: 110px;
}
.form-signup-section{
    margin-bottom: 65px;
}
.form-forgot-password{
    margin-bottom: 100px;
}

.form-reset-password{
    margin-bottom: 40px;
}
#newPassword{
    margin-bottom: 10px;
}

.form-reset-password h3{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;

}

.form-forgot-password h3{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}
.categories h2 {
  text-align: center;
  margin-top: 20px;
}

.categories h3 {
  text-align: center;
  margin-top: 0px;
  
}

.category-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 15px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.category-link:hover {
  background-color: #f0f0f0;
}

.category-link img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 0px;
}

.category-link h3 {
  font-size: 30px;
  margin-bottom: 5px;
}

.category-link p {
  font-size: 17px;
  color: #666;
  text-align: center;
  margin: 2px;
  margin-bottom: 23px;
}

.category-item 
{
  padding: 1PX !important; 
}

.category-link a{
  margin-bottom: 10px;
}
/* محصولات پیشنهادی */
.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 15px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.product-link:hover {
  background-color: #f0f0f0;
}

.product-link img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-link h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-link .price {
  font-size: 16px;
  color: #007bff;
}

/* تنظیمات اسکرول بار */
::-webkit-scrollbar {
  width: 8px; /* عرض اسکرول بار */
  height: 8px; /* ارتفاع اسکرول بار (برای افقی) */
}

/* پس‌زمینه اسکرول بار */
::-webkit-scrollbar-track {
  background: #f0f0f0; /* رنگ زمینه اسکرول بار */
  border-radius: 10px; /* گرد کردن گوشه‌ها */
}

/* نوار اسکرول (قسمت متحرک) */
::-webkit-scrollbar-thumb {
  background: #ccc; /* رنگ نوار اسکرول */
  border-radius: 10px; /* گرد کردن گوشه‌ها */
  transition: background-color 0.3s ease; /* افزودن انیمیشن رنگ */
}

/* حالت هاور برای نوار اسکرول */
::-webkit-scrollbar-thumb:hover {
  background: #999; /* رنگ نوار اسکرول در حالت هاور */
}

/* سبک‌دهی سبد خرید */
.cart-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
}

.cart-items {
  margin-bottom: 40px;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.cart-item:hover {
  background-color: #f0f0f0;
}

.cart-item-image {
  width: 100px;
  height: auto;
  border-radius: 10px;
  margin-right: 20px;
}

.cart-item-details {
  flex-grow: 1;
  margin-right: 20px;
}

.cart-item h3 {
  font-size: 18px;
  margin-bottom: 4px !important;
  margin-top: 1px;
}

.cart-item-price {
  font-size: 16px;
  color: #40b600;
  margin-bottom: 12px;
  margin-top: 5px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.quantity-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background-color: #0056b3;
}

.quantity {
  font-size: 16px;
  margin: 0 10px;
}

.remove-item {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.remove-item:hover {
  background-color: #b02a37;
}

.cart-summary {
  text-align: right;
  margin-top: 30px;
}

.cart-summary h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.total-price {
  font-size: 24px;
  color: #007bff;
  margin-bottom: 20px;
}

.checkout-btn {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.checkout-btn:hover {
  background-color: #218838;
}

/* استایل لینک خروج */

.signup-login {
  color: #278900 !important; /* رنگ قرمز کمرنگ */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}
.signup-login:hover {
  color: #00cb0a !important;
}

.dropdown-toggle {
  color: #557cff !important; /* رنگ قرمز کمرنگ */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}
.dropdown-toggle:hover {
  color: #0000ff !important;
}

.logout-link {
  color: #f47f72 !important; /* رنگ قرمز کمرنگ */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-right: 10px !important; /* فاصله بین حساب کاربری و خروج */
}

.logout-link:hover {
  color: #de0a0a !important; /* رنگ قرمز تیره‌تر برای هاور */
}

/* اضافه کردن فاصله به لینک خروج */
.logout-link {
  margin-right: 15px; /* فاصله از سمت راست */
}

/* استایل اصلی برای نوشته */
.dastebandi {
  font-size: 30px; /* اندازه فونت */
  font-weight: bold;
  background: linear-gradient(90deg, #5f5fff, #feb47b, #ff7e5f, #7bfe7f);
  background-size: 300%; /* اندازه گرادیان برای ایجاد حرکت */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-animation 5s infinite; /* افزودن انیمیشن */
}

/* انیمیشن حرکت گرادیان */
@keyframes gradient-animation {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

/* چیدمان داشبورد */
.dashboard-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.dashboard-grid > div {
  flex-basis: calc(50% - 1rem); /* دو بخش به صورت موازی */
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
}

/* استایل‌های بخش ویرایش اطلاعات کاربری */
.auth-form label {
  font-size: 0.9rem;
  color: #333;
  display: block;
}

.auth-form input {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  width: 100%;
}

.auth-form button {
  background: #007bff;
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.auth-form button:hover {
  background: #0056b3;
}

/* استایل‌های بخش خریدهای قبلی */
.order-history {
  text-align: center;
}

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

.order-list li {
  background: #fff;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-list li strong {
  font-weight: bold;
  color: #333;
}

.order-list li span {
  font-size: 0.9rem;
  color: #666;
}
/* سبک‌دهی بخش عنوان دسته */
.category-header {
  background-color: #f9f9f9;
  padding: 2rem 0;
  text-align: center;
}
.category-header h2 {
  font-size: 2rem;
  color: #333;
  margin: 0;
}

/* سبک‌دهی لیست محصولات */
.product-list {
  margin-top: 2rem;
}
.product-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-item:hover {

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.product-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 2px;
}
.product-item h3 {
  font-size: 1.25rem;
  margin: 0.1rem 0;
  color: #333;
}
.product-item .price {
  font-size: 1rem;
  color: #007bff;
  margin: 0;
}
.cart-count {
  display: none;
  background-color: #28a745; /* رنگ سبز */
  color: #fff;
  font-size: 12px;
  width: 21px;
  height: 21px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 50%; /* شکل دایره */
  margin-left: 5px;
  margin-right: 5px;
  position: relative;
  top: 0px;
}
.cart-icon {
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* Custom Alert */
.custom-alert {
  position: fixed;
  top: 20px; /* فاصله از بالای صفحه */
  left: 50%; /* وسط صفحه */
  transform: translateX(-50%); /* برای مرکز کردن افقی */
  z-index: 9999;
  background-color: #fff; /* رنگ پیش‌فرض */
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: 'Vazir', sans-serif;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 300px; /* عرض ثابت */
  text-align: center; /* متن در وسط */
}

.custom-alert.hidden {
  display: none; /* مخفی کردن کادر */
}

.alert-success {
  background-color: #d4edda; /* سبز کمرنگ */
  border-color: #c3e6cb;
  color: #155724;
}

.alert-error {
  background-color: #f8d7da; /* قرمز کمرنگ */
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-normal {
  background-color: #fff; /* سفید */
  border-color: #ddd;
  color: #333;
}

.alert-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

#alertMessage {
  font-size: 1rem;
  margin: 0;
  flex-grow: 1;
  text-align: right; /* متن از راست به چپ */
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #333;
}

/* انیمیشن برای ظاهر شدن و محو شدن */
.custom-alert.show {
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translate(-50%,-20px);
  }
  to {
      opacity: 1;
      transform: translate(-50%,0);
  }
}

.custom-alert.hide {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  from {
      opacity: 1;
      transform: translate(-50%,0);
  }
  to {
      opacity: 0;
      transform: translate(-50%,-20px);
  }
}

/* دکمه دانلود */
.download-btn {
  display: inline-block;
  margin-left: 10px;
  padding: 5px 10px;
  background-color: #28a745; /* رنگ سبز */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #218838; /* رنگ سبز تیره‌تر در حالت هاور */
}
.ltr-text {
    direction: ltr;
    text-align: left;
}

.tags-section {
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 0.0625rem solid #e3dddd;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: #333;
}

/* استایل‌دهی به بخش تماس با ما */
.contact-title {
    text-align: center;
    margin-top: 20px;
    font-size: 2rem;
    color: #333;
}

.contact-form, .contact-info {
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-bottom:60px;
}

.contact-form h3, .contact-info h3 {
    text-align: center;
    margin-bottom: 35px;
    color: #555;
}

.contact-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button.submit-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button.submit-btn:hover {
    background-color: #0056b3;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin: 10px 0;
    font-size: 1rem;
    color: #333;
    text-align: center;
}


/* استایل‌دهی به بخش فرمت‌های دانلود */
.download-formats {
    margin-top: 0px;
}

.download-formats h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0px;
}

.format-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.format-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.format-icon {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 15px;

}

.format-list span {
    font-size: 0.9rem;
    color: #555;
}

.file-info h3{
    font-size: 1.2rem;
    color: #333;
    margin-top: 0px;
    margin-bottom: 0px;
}
.under-add-to-cart-text{
    margin-top: 10px;
    color: #169e00;
}


.help-to-instal{
    border: 0px ridge rgba(0, 208, 255, 1);
    border-radius: 0px;
    background: linear-gradient(
    49deg,
    rgba(255, 255, 255, 1) 37%,
    rgba(181, 214, 255, 1) 84%
    );
    background-blend-mode: normal;
    padding:5px 15px;
    color:#393939;
}
.pic-for-mod-install{
    border: 6px solid rgba(100, 100, 100, 1);
}
.text-for-mod-install{
    
        border: 0px ridge rgba(0, 208, 255, 1);
    border-radius: 0px;
    background: linear-gradient(
    49deg,
    rgba(255, 255, 255, 1) 37%,
    rgba(181, 214, 255, 1) 84%
    );
    background-blend-mode: normal;
    padding:5px 15px;
    color:#393939;

    margin:20px;
}

.link-install-beamng-mod{
    color:blue;
}


.beamng-version-text{
    color:#2863ff;
    font-size:15px;
    margin-top:20px;
}