:root {
  --font: 'IRANSans', sans-serif;
}


 /* نوبار اصلی در دسکتاپ */
.desktop-header .logo {
  font-weight: bold;
  font-size:10px;
}
.logo img{
  height:70px;
  width: 70px;
}
.desktop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background-color: white;
  color: #111;
  position: fixed;
  height: 75px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font);
  z-index: 1000;
  width: 100%;
  top: 0;
}
@media (max-width: 1020px){
  .desktop-header {
    display: none; 
  }
}
.main-menu {
  height: 100%;
}
.main-menu ul {
  height: 100%;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(1rem, 3vw, 3rem);
}
.main-menu li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.menu-button {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font);
  color: #111;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0 0.5rem;
  height: 100%;
  position: relative;
  transition: color 0.2s ease;
}
.menu-button:hover {
  color: #004e92;
}
.menu-button::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.6s ease;
}

.menu-button a{
 color: #000;
 text-decoration: none;
}

.menu-button a:hover{
  color: #004e92;
}

.has-sub:hover .menu-button::after {
  background-color: #004e92;
}
.has-sub:hover .submenu-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-container {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.submenu-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  height: 260px;
}
.submenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.submenu-column h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #111;
}
.submenu-column ul {
  display: block;
  height: auto;
}
.submenu-column li {
  height: auto;
  margin-bottom: 0.75rem;
}
.submenu-column a {
  color: #757575;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.submenu-column a:hover {
  color: #004e92;
}

.menu-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.has-sub:hover ~ .menu-overlay {
  opacity: 1;
  visibility: visible;
}
.has-sub.menu-button a:hover ~ .menu-overlay{
  visibility:hidden;
}

/* Search and Actions */
.actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  
}

.search {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 0.5rem 1rem;
}
.search i {
  margin-right: 0.5rem;
  color: #757575;
}
.search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 98%;
}
.search input::placeholder {
  color: #757575;
}
@media (max-width: 1020px){
  .search {

    margin-left: clamp(10px, 3vw, 40px);
  }
}
 .cart-icon {
  padding: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.cart-icon:hover{
    transform: translateY(-2px);
}
 .cart-icon a{
    text-decoration: none;
  color: #1f1f1f;
}
 .cart-icon a:hover{
  text-decoration: line-through;

 }

/* استایل پیشرفته‌تر برای pagination */
.mySwiper {
 position: relative;
}

.mySwiper .swiper-pagination {
 position: absolute !important;
 bottom: 25px !important;
 left: 50% !important;
 transform: translateX(-50%) !important;
 width: auto !important;
 display: flex !important;
 justify-content: center !important;
 gap: 8px !important;
}

.mySwiper .swiper-pagination-bullet {
 width: 14px !important;
 height: 14px !important;
 background: rgba(255, 255, 255, 0.4) !important;
 border: 2px solid rgba(255, 255, 255, 0.7) !important;
 border-radius: 50% !important;
 opacity: 1 !important;
 cursor: pointer !important;
 transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
 margin: 0 !important;
}

.mySwiper .swiper-pagination-bullet-active {
 background: #ffffff !important;
 border: 2px solid #ffffff !important;
 transform: scale(1.3) !important;
 box-shadow: 
 0 0 15px rgba(255, 255, 255, 0.8),
 0 0 25px rgba(255, 255, 255, 0.4) !important;
}

.mySwiper .swiper-pagination-bullet:hover:not(.swiper-pagination-bullet-active) {
 transform: scale(1.15) !important;
 background: rgba(255, 255, 255, 0.7) !important;
 border-color: rgba(255, 255, 255, 0.9) !important;
}

/* حذف کامل navigation buttons */
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
 display: none !important;
 visibility: hidden !important;
}

/* بهبود نمایش در موبایل */
@media (max-width: 768px) {
 .mySwiper .swiper-pagination {
 bottom: 15px !important;
 }
 
 .mySwiper .swiper-pagination-bullet {
 width: 12px !important;
 height: 12px !important;
 }
 
 .mySwiper .swiper-pagination-bullet-active {
 transform: scale(1.2) !important;
 }
}
/* category */
  .category {
  margin: 30px auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.titr {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  font-size: clamp(18px, 2.2vw, 29.75px);
  font-weight: 500;
}
.img-header .titr{
  margin-left: 215px;
}
@media (max-width:768px){
.img-header .titr {
    margin-left:0;
  }
}
.image-gallery {
  display: flex;
  flex-direction: row;
  justify-content: center; 
  gap: 70px; 
  overflow-x: auto;
  overflow-y: hidden; 
  white-space: nowrap; 
  scrollbar-width: thin; 
}
@media (max-width: 768px){
  .image-gallery {
    justify-content: flex-start;
    gap:20px;
  }
}

.image-item {
  text-align: center;
  text-decoration: none;
  color: black;
}

.image-item img {
  object-fit: cover;
  background-color: #f6f6f6;
  vertical-align: middle;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.image-item img:hover {
  transform: scale(1.1);
}

.caption1 {
  margin-top: 8px;
  font-size: 16px;
  color: #333;
}


/* اسلاید کارت ها */
.bestlugg {
  padding: 10px;
  margin: 30px auto 25px auto;
  border-radius: 15px;
  width: 90%;
  font-size: 28px;
  overflow: hidden;  
  display: flex;
  flex-direction: row; 
  gap: 15px;
  align-items: stretch;
}
.img-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  overflow-x: scroll;
  scrollbar-width: none;
}

.image-container {
  padding: 5px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  overflow-x: scroll;
  scrollbar-width: none;
}

.image-row {
  display: flex;
  gap: 15px;
  scroll-behavior: smooth;
  overflow-x: auto;
  -ms-overflow-style: none;  
  scrollbar-width: none; 
  flex: 1;
  padding: 10px 0;
}

.image-row::-webkit-scrollbar {
  display: none;  
}

.more-column {
    flex: 0 0 auto; 
    width: 220px;
    height: 520px;
    border: 1px solid rgba(170, 170, 170, 0.519);
    border-radius: 20px;

    display: flex;
    align-items: center;
    flex-direction: column; 
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* اضافه کردن یک لایه تیره برای خوانایی بهتر متن */
.more-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

.more-column:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.more-text {
    font-family: "Noto Nastaliq Urdu", serif;
    font-size: 24px;
    font-weight: 500;
    color: white;
    margin: 20px auto;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.more-text img {
    display: none; /* حذف تگ img چون عکس حالا پس‌زمینه است */
}

.morebtn {
    color: white;
    border: none;
    height: 40px;
    width: 80%;
    margin: 10px auto;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.morebtn:hover {
    text-decoration: underline;
    background: rgba(255, 255, 255, 0.3);
}
.cards-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 0 0 auto;
  width: 280px;
  height: 430px;
}
@media (max-width: 468px) {
  .cards-link{
    width: 240px;
    height: 360px;
  }

}
.cards-content {
  background: #f8f9fa;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid rgba(229, 229, 229, 0.808);
}

.cards-content:hover {
  box-shadow: 0 4px 12px rgba(21, 21, 21, 0.3);
}

.productt-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.sale-badge {
  background: #004e92;
}

.prod-img {
  position: relative;
  overflow: hidden;
}

.cards-image-container {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f8f9fa;
}

.cards-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-content {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding:10px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 190px;
}

.productt-name {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.colorr-options {
  display: flex;
  gap: 6px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.colorr-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.colorr-dot:hover {
  transform: scale(1.1);
}

.productt-price-section {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricee-with-discount {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.original-pricee {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 500;
}

.product-pricee {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricee-currency {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.buy-btn {
  background: white;
  color: #1f2937;
  border: none;
  padding: 12px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media (max-width: 468px) {
    .productt-name {
    font-size: 14px;
    font-weight: 500;
  }
  .product-pricee {
    font-size: 16px;
  }
  .buy-btn {
    font-size: 12px;
    padding: 10px 16px;
  }
}
.no-productts {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
  font-size: 16px;
}

/* دکمه‌های اسکرول */
.scroll-btn {
  background: rgba(255, 255, 255, 0.233);
  box-shadow: 0 8px 25px rgba(37, 37, 37, 0.15);
  border: none;
  color: #004e92;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
  font-size:18px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scroll-btn:hover{
    background: rgba(255, 255, 255, 0.381);
}
.scroll-right {
  order: -1; 
}

.scroll-left {
  order: 1; 
}

/* ریسپانسیو - تبلت */


/* ریسپانسیو - موبایل 768px */
@media (max-width: 768px) {
  .bestlugg {
    flex-direction: column;
  }
  
  .image-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .scroll-btn {
    display: none;
  }
  
  .image-row {
    width: 100%;
    padding: 0;
  }
  

  
  .card-image-container {
    height: 220px;
  }
  
  .pro-content {
    height: 185px;
    padding: 14px;
    gap: 3px;
  }
  
  .product-name {
    font-size: 16px;
  }
  
  .product-price {
    font-size: 16px;
  }
  
  .buy-button {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .more-column{
    width: 100%;
    height: auto;
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .more-text{
    font-size: 17px;
    font-weight: 300;
    margin: 5px 0;
  }
  
  .morebtn{
    display: none;
  }
}

/* موبایل کوچکتر */
@media (max-width: 480px) {
  
  .product-name {
    font-size: 15px;
  }
  
  .product-price {
    font-size: 15px;
  }
  
  .buy-button {
    padding: 8px 14px;
    font-size: 12px;
  }
}


/* قسمت اصلی تخفیفات */
.discount-main-section {
  margin: 50px auto;
  width: 90%;
  max-width: 1400px;
}

.discount-container {
  border:1px solid #004e92;
  border-radius: 32px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  /* box-shadow: 0 20px 60px rgba(30, 58, 138, 0.3); */
}

.discount-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

/* هدر قسمت تخفیف */
.discount-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.discount-title-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.discount-icon {
  width: 60px;
  height: 60px;
  background: #004e92;
  border-radius: 18px;
  display: flex;
  align-items: center;
  padding-right: 5px;
  color: #004e92;
  backdrop-filter: blur(10px);
  border: 1px solid #004e92;
}

.discount-icon img {
  width: 45px;
  height: 45px;
}

.discount-text-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.discount-main-title {
  font-family: 'IRANSans', sans-serif;
  font-size:24px;
  font-weight: 800;
  color: #004e92;
  margin: 0;
}

.discount-view-more {
  position: relative;
  z-index: 2;
}

.view-more {
  background: rgba(255, 255, 255, 0.2);
  color: #004e92;
  text-decoration: none;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.view-more:hover {
  color: #1a67aa;
  text-decoration: underline;
}

.view-more svg {
  width: 16px;
  height: 16px;
}

/* کانتینر کارت‌ها */
.discount-cards-wrapper {
  position: relative;
  z-index: 2;
}

.discount-cards-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding:10px ;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.discount-cards-container::-webkit-scrollbar {
  height: 8px;
}

.discount-cards-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.discount-cards-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.discount-cards-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* کارت تخفیف */
.discount-card {
  flex: 0 0 280px;
  text-decoration: none;
  color: inherit;
  height: 340px;
}

.discount-card-inner {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  position: relative;
  border: 1px solid rgba(229, 229, 229, 0.808);
}

/* نشان تخفیف */
.discount-badge-new {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #004e92 0%, #013f74 100%);
  color: white;
  padding: 10px 14px;
  border-radius: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.discount-percent-new {
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

/* تصویر محصول */
.discount-product-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

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

/* اطلاعات محصول */
.discount-product-info {
  padding: 10px 15px 0;
  display: flex;
  flex-direction: column;
  height: 130px;
}

.discount-product-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 5px;
}

/* پالت رنگی */
.discount-color-palette {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 4px 0;
}

.discount-color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.discount-color-dot:hover {
  transform: scale(1.2);
}

.discount-more-colors {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  margin-left: 4px;
}

/* بخش قیمت */
.discount-price-section {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.discount-current-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}

.price-currency {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.discount-original-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.original-amount {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 500;
}

.original-currency {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

/* دکمه‌های اسکرول */
.discount-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.233);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.discount-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.381);
}

.discount-scroll-btn svg {
  width: 20px;
  height: 20px;
  color: #1e40af;
}

.discount-scroll-left {
  left: 20px;
}

.discount-scroll-right {
  right: 20px;
}

.bbtn {
  height: 40px;
  width:40px;
  left: 10px;
  position: absolute;
  background: white;
  color: #1f2937;
  border: none;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bbtn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.bbtn img{
  height: 26px;
  width: 26px;
}
/* حالت خالی */
.no-discount-products {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.no-discount-icon {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.6);
}

.no-discount-icon svg {
  width: 100%;
  height: 100%;
}

.no-discount-products p {
  font-size: 16px;
  margin: 0;
  font-weight: 500;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .discount-container {
    padding: 25px 20px;
    border-radius: 24px;
  }
  
  .discount-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  
  .discount-title-section {
    gap: 15px;
  }
  
  .discount-icon {
    width: 50px;
    height: 50px;
  }
  
  .discount-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .discount-main-title {
    font-size: 26px;
  }
  
  .discount-subtitle {
    font-size: 14px;
  }
  
  .view-more-btn {
    padding: 10px 20px;
    font-size: 13px;
    align-self: flex-end;
  }
  
  .discount-cards-container {
    gap: 16px;
    padding: 15px 5px 25px;
  }
  
  .discount-card {
    flex: 0 0 250px;
    height: 360px;
  }
  
  .discount-product-image {
    height: 180px;
  }
  
  .discount-product-info {
    padding: 20px;
    height: 180px;
  }
  
  .discount-scroll-btn {
    width: 45px;
    height: 45px;
  }
  
  .discount-scroll-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .discount-scroll-left {
    left: 15px;
  }
  
  .discount-scroll-right {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .discount-container {
    padding: 20px 15px;
  }
  
  .discount-scroll-btn {
    display: none;
  }
  
  .discount-card {
    flex: 0 0 220px;
    height: 340px;
  }
  
  .discount-product-image {
    height: 160px;
  }
  
  .discount-product-info {
    padding: 16px;
    height: 180px;
  }
  
  .discount-main-title {
    font-size: 22px;
  }
  
  .price-amount {
    font-size: 20px;
  }
}

/* .shoar{
  /* background-color: #eee5d4; 
  background-color: #f6f6f6;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 450px;
  justify-content: space-around;
  margin: 50px 0;
}

.shaks img{
  height: 100%;
  width: 450px;
}
.matn{
  gap: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.shbtn{
  height: 40px;
  border-radius: 10px;
  border: 1px solid #004e92;
  background-color: #f6f6f6;
  color: #004e92;
  font-weight: 500;
}
.shbtn:hover{
  background-color: #004e92;
  color: #f6f6f6;
} */

.hero-banner {
 background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
 min-height: 500px;
 display: flex;
 align-items: center;
}

.hero-content {
 max-width: 1200px;
 margin: 0 auto;
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 40px;
}

.hero-text {
 padding-right: 20px;
}

.hero-text h2 {
 font-size: clamp(1.8rem, 4vw, 2.8rem);
 font-weight: 700;
 margin-bottom: 1.5rem;
 color: var(--text-dark);
 line-height: 1.3;
 text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-text p {
 font-size: 1.1rem;
 color: var(--text-light);
 margin-bottom: 2rem;
 line-height: 1.7;
 text-align: justify;
 max-width: 468px; /* محدود کردن عرض متن */
}

.hero-image {
 text-align: center;
 position: relative;
}

.hero-image img {
 max-width: 100%;
 height: auto;
  background-color: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}



/* ریسپانسیو */
@media (max-width: 768px) {
 .hero-banner {
 min-height: auto;
 }
 
 .hero-content {
 grid-template-columns: 1fr;
 gap: 30px;
 text-align: center;
 }
 
 .hero-text {
 padding: 0 15px;
 order: 2;
 }
 
 .hero-image {
 order: 1;
 }
 
 .hero-text p {
 max-width: 100%;
 font-size: 1rem;
 }
 
 .hero-text h2 {
 font-size: clamp(1.5rem, 6vw, 2.2rem);
 }
 .hero-image img{
  max-width: 70%;
 }
}

@media (max-width: 480px) {
 
 .hero-text p {
 font-size: 0.95rem;
 line-height: 1.6;
 }
}


/* برند ها */
.brand-section {
  padding: 1rem;
  text-align: center;
  width: 90%;
  display: flex;
  flex-direction: column;
  margin: 20px auto;
}
.brand-logos {
  border: 1px solid #004e92;
  border-radius: 20px;
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  height: 160px;
  overflow-x: auto; 
  padding: 0 1rem; 
  -webkit-overflow-scrolling: touch; 
  -ms-overflow-style: none; 
  scrollbar-width: none;
}
.brand-logos::-webkit-scrollbar {
  display: none;
}
.brand-item {
  width: clamp(100px, 10vw, 150px);
  flex-shrink: 0; 
}
.brand-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.brand-item p {
  margin-top: 0.5rem;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
}
@media (max-width: 768px){
  .brand-logos{
    justify-content: flex-start;
  }
}


/* تضمین خرید */
.features {
  display: flex;
  flex-direction: row;
  justify-content:center;
  text-align: center;
  width: 85%;  
  margin: 30px auto;
  gap: 10%;
  padding:0 0 40px 0;
}
.features1{
  display: flex;
  flex-direction: row;
  justify-content:center;
  gap: 40%;

}
.features2{
  display: flex;
  flex-direction: row;
  justify-content:center;
  gap: 40%;
}
@media (max-width: 768px) {
  .features {
    display: flex;
    flex-direction: column;
    margin: 30px auto;
    padding: 5px;
  }
  .features1 , .features2{
    gap: 10%;
  }
  .features2{
    margin: 20px 0;
  }
  .features1{
    margin:0 0 15px 0;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100px;
  width: 200px;
}
.feature-item i {
  padding: 10px;
  font-size: 30px;

  color: #004e92;
  border: 2px solid #004e92;
  border-radius: 50%;
}
.feature-item img{
  height: 70px;
  width: 70px;
}
.feature-item p {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
  color: #004e92;
}
.commu .feature-item i ,.commu .feature-item p {
  color: white;
  border: none;
}
.commu .feature-item  a{
  text-decoration: none;
}
@media (max-width:380px) {
  .feature-item img {
    width: 50px;
    height: 50px;
  }
  .feature-item p{
    font-size: 18px;
  }
}
 /* footer */
.footer-section {
  background-color: #1f1f1f;
  color: #ffffff;
  padding: 20px 0 ;
  margin-top: 40px;
  /* font-family: 'Noto Naskh Arabic', serif; */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* بخش بالای فوتر */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.back-to-top button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-top button:hover {
  background-color: #fff;
  transform: translateY(-3px);
}

.back-to-top button i {
  margin-right: 8px;
  font-size: 18px;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 20px 0 30px;
}

/* بخش ستون‌های فوتر */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

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

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: #004e92;
}

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

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

.footer-links a {
  color: #d9d9d9;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

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

.footer-links a:hover:after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 1px;
  background-color: #004e92;
}

/* بخش شبکه‌های اجتماعی */
.social-media {
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon {
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    fill: #ff6b35; /* رنگ هاور */
    transform: scale(1.1); /* بزرگ شدن */
}

.social-link i {
  font-size: 24px;
  margin-left: 10px;
}

/* بخش اطلاعات تماس */
.contact-info {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.contact-item i {
  font-size: 18px;
  margin-left: 10px;
  margin-top: 3px;
  color: #004e92;
}

.contact-item p, .contact-item span {
  margin: 0;
  line-height: 1.5;
}
.con-info{
  flex-direction: column;
}
/* بخش موبایل فوتر */
.mobile-footer {
  display: none;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-button {
  width: 100%;
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 15px 0;
  text-align: right;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
}

.mobile-links {
  list-style: none;
  padding: 0 15px 15px;
  margin: 0;
}

.mobile-links li {
  margin-bottom: 12px;
}

.mobile-links a {
  color: #d9d9d9;
  text-decoration: none;
  display: block;
  padding: 5px 0;
}

.mobile-contact {
  padding: 20px 0;
}

/* بخش کپی‌رایت */
.footer-bottom {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: #a0a0a0;
  font-size: 14px;
  margin-bottom: 0;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .footer-container{
    padding-bottom: 50px;
  }
  .desktop-footer {
    display: none;
  }
  
  .mobile-footer {
    display: block;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .back-to-top {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .back-to-top button {
    width: 100%;
    max-width: 250px;
  }
}

 /* Mobile Styles */
.mobile-topbar {
  display: none;
  padding: 1rem;
  background-color: white;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 80px;
  border-bottom: 1px solid #e0e0e0;
  box-sizing: border-box;

}

.mobile-logo {
  flex-shrink: 0;
  margin-right: 1rem;
}

.mobile-logo a {
  display: block;
  text-decoration: none;
}

.mobile-logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.mobile-logo img:hover {
  transform: scale(1.05);
}




@media (max-width: 1020px) {
  .mobile-topbar {
    display: flex;
    background-color: #fff;
  }
  

}

@media (max-width: 480px) {
  .mobile-topbar {
    padding: 0.75rem;
    height: 70px;
    gap: 10px;
  }
  
  .mobile-logo {
    margin-right: 0.5rem;
  }
  
  .mobile-logo img {
    height: 40px;
    width: 40px;
  }

}

/* Mobile bottom bar */
.mobile-bottombar {
  z-index: 1000;
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: white;
  border-top: 1px solid #ccc;
  justify-content: space-around;
  padding: 0.6rem 0;
  font-size: 1rem;
}
@media (max-width: 1020px){
  .mobile-bottombar {
    display: flex;
}
  .mobile-bottombar a{
    text-decoration: none;
    color: #1f1f1f;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .card{
    width: 80%;
  } 
}



/* قسمت خود محصول چمدان ،فایل چمدان */
.product-detail-container {
  width: 100%;
  padding: 10px;
  margin-top: 90px;
}

.breadcrumb-container {
  padding:0 20px;
}

.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
}

.breadcrumb li {
  display: inline;
  font-size: 12px; 
  color: #81858b;
}

.breadcrumb li + li:before {
  content: "/";
  padding: 0 8px;
 
}

.breadcrumb a {
  color: #81858b;
  text-decoration: none;
  transition: color 0.2s;
  
}

.breadcrumb a:hover {
  color: #002f80;
  text-decoration: underline;
}
@media screen and (max-width: 1020px) {
  .breadcrumb-container {
  margin-top:10px;}
  .product-detail-container{
    margin-top: 80px;
  }
}
/* لایه اصلی محصول */
.product-main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* گالری تصاویر محصول */
.product-gallery {
  margin: 0 auto;
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.main-image-container {
  justify-self: center;
  position: relative;
  width: 85%;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#mainImage {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}


.magnify-cursor {
  cursor: zoom-in;
}

.thumbnails-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnail {
  flex: 0 0 calc(16.666% - 10px);
  max-width: calc(16.666% - 10px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.thumbnail:hover {
  transform: translateY(-2px);
  border-color: #004e92;
}

.thumb-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.thumb-img:hover, .thumb-img.active {
  opacity: 1;
}

.thumb-img.active {
  border: px solid #1389f1;
}

/* اطلاعات محصول */
.product-info {
  flex: 1;
  min-width: 300px;
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}


/* قیمت محصول */
.productt-price {
  display: flex;
  margin-bottom: 25px;
  flex-wrap: wrap;
  flex-direction: column;
}
.productt-sale{
  gap: 5px;
  display: flex;
  flex-direction: row;
}

.current-price {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-left: 10px;
}

.currency {
  font-size: 16px;
  font-weight: 400;
}

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

.option-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.color-options {
  display: flex;
  gap: 12px;
}

.color-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.selected {
  border:1px solid #004e92;
  
}

.color-option.selected:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
}

.color-name {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  padding: 4px 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 10;
}

.color-option:hover .color-name {
  opacity: 1;
  visibility: visible;
}

/* انتخاب سایز */
.product-sizes {
  margin-bottom: 25px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-option {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.size-option:hover {
  border-color: #004e92;
}

.size-option.selected {
  border-color: #004e92;
  background-color: rgba(0, 70, 190, 0.05);
}

.size-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.size-option label {
  cursor: pointer;
  margin: 0;
  font-size: 14px;
}

/* دکمه افزودن به سبد خرید */
.add-to-cart-section {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

.quantity-selector {
  margin: 10px;
  width: 130px;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.quantity-btn {
  background-color: #f5f5f5;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}

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

.quantity-input {
  width: 50px;
  border: none;
  text-align: center;
  font-size: 16px;
  padding: 10px 0;
}

.add-to-cart-btn {
  margin: 10px;
  flex: 1;
  background-color: #004e92;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-to-cart-btn:hover {
  background-color: #003399;
}

/* ویژگی‌های کلیدی */
.key-features {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.features-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.features-list {
  list-style-position: inside;
  margin-bottom: 15px;
}

.features-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.see-more-link {
  display: inline-block;
  color: #004e92;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.see-more-link:hover {
  color: #004e92;
  text-decoration: underline;
}

/* اطلاعات ارسال */
.shipping-info {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.shipping-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.shipping-item i {
  margin-left: 10px;
  color: #004e92;
  font-size: 18px;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
  .product-main {
    flex-direction: column;
  }
  
  .product-gallery, .product-info {
    width: 100%;
  }

  .thumbnail {
    flex: 0 0 calc(25% - 10px);
    max-width: calc(25% - 10px);
  }
  .key-features{
    width: 100%;
  }
  .product-title {
    font-size: 20px;
  }
  
  .current-price {
    font-size: 20px;
  }
  
  .thumbnail {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
  }
}

/* فلش کوچک بالای tooltip */
.color-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
}

.color-item:hover .color-tooltip {
  opacity: 1;
  visibility: visible;
}


.size-selector {
  margin: 20px 0;
  font-family: Tahoma, Arial, sans-serif;
}

.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 350px;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.custom-select__trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.custom-select.open .custom-select__trigger {
  border-bottom: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
}

/* استایل فلش با تغییر جهت */
.arrow {
  position: relative;
  height: 10px;
  width: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.arrow::before, .arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 8px;
  background-color: #394a6d;
  transition: all 0.3s;
}

.arrow::before {
  left: -3px;
  transform: rotate(-45deg);
}

.arrow::after {
  left: 3px;
  transform: rotate(45deg);
}

/* وقتی منو باز است، فلش به سمت بالا می‌چرخد */
.custom-select.open .arrow {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 200px;
  overflow-y: auto;
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.custom-option {
  position: relative;
  display: block;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 1px solid #f9f9f9;
}

.custom-option:hover {
  background-color: #f5f5f5;
}

.custom-option.selected {
  background-color: #e0f7fa;
}

.custom-option strong {
  display: block;
  color: #333;
  font-weight: bold;
  margin-bottom: 5px;
}

.option-description {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: normal;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.chbtn{
  background-color: #004e92;
  color: white;
  border-radius: 10px;
  width: 296px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  border: none;
}
.gheymat{
  font-weight: 500;
}
.more-info{
  background-color: #edecec;
  height: 300px;
  width: 400px;
  margin: 20px;
  border-radius: 10px;
}

.more-info a{
  color: black;
  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  justify-content: center;
} */


/* استایل‌های بخش محتوای محصول */
.product-content {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* استایل‌های تب‌های محصول */
.product-tabs {
  position: sticky;
  top: 0;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e2;
  z-index: 10;
}

.product-tabs-container {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 16px;
}

.product-tab {
  display: inline-block;
  padding: 16px 8px;
  margin-left: 24px;
  color: #81858b;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.product-tab.active {
  color: #004e92;
  font-weight: 700;
}

.product-tab.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #004e92;
  border-radius: 4px 4px 0 0;
}

.product-tab:hover {
  color: #004e92;
}
.des-part{
  padding: 24px 16px;
}
.product-description {
  padding: 15px 40px;
  line-height: 1.8;
  text-align: justify;
  direction: rtl;
}

.no-description {
  color: #777;
  font-style: italic;
  padding: 20px 0;
}
/* استایل‌های بخش‌های محصول */
.product-section {
  width: 100%;
  padding: 18px 16px;
  border-bottom: 1px solid #e0e0e2;
}

.section-header {
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #3f3f3f;
  margin: 0;
}

.section-content {
  margin: 0 auto;
  width: 70%;
  color: #5a5a5a;
  line-height: 1.8;
  font-size: 14px;
}

/* استایل‌های بخش مشخصات */
.specifications-list {
  border-radius: 8px;
  overflow: hidden;
}

.specifications-item {
  display: flex;
  border-bottom: 1px solid #f0f0f1;
  padding: 12px 16px;
  background-color: #fafafa;
}

.specifications-item:nth-child(odd) {
  background-color: #f5f5f5;
}

.specifications-title {
  width: 35%;
  color: #81858b;
  font-size: 14px;
}

.specifications-value {
  width: 65%;
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 500;
}

/* استایل‌های بخش دیدگاه‌ها */
.comments-container {
  display: flex;
  flex-wrap: wrap;
}

.comments-sidebar {
  width: 25%;
  padding-left: 24px;
}

.comments-list {
  width: 75%;
}

.rating-overall {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.rating-average {
  font-size: 32px;
  font-weight: 700;
  color: #3f3f3f;
}

.rating-text {
  color: #81858b;
  font-size: 12px;
  margin-bottom: 8px;
}

.rating-stars {
  margin-bottom: 8px;
}

.rating-count {
  color: #81858b;
  font-size: 12px;
}

.submit-comment-button {
  width: 100%;
  padding: 12px;
  background-color: #fff;
  color: #19bfd3;
  border: 1px solid #004e92;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.submit-comment-button:hover {
  background-color: #f2fdff;
}

.submit-comment-button i {
  margin-left: 8px;
}

.comment-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f1;
}

.comment-header {
  display: flex;
  margin-bottom: 12px;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 12px;
}

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

.comment-info {
  flex-grow: 1;
}

.comment-author {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.comment-date {
  color: #81858b;
  font-size: 12px;
  margin-bottom: 4px;
}

.comment-body {
  font-size: 14px;
  line-height: 1.8;
  color: #5a5a5a;
}

/* استایل ستاره‌ها */
.checked {
  color: #f9bc00;
}

/* استایل دکمه مشاهده بیشتر */
.more-button-container {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.more-button {
  display: flex;
  align-items: center;
  color: #004e92;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid #e0e0e2;
  border-radius: 8px;
  transition: all 0.3s;
}

.more-button:hover {
  background-color: #f2fdff;
}

.more-button i {
  margin-right: 8px;
  font-size: 12px;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
  .comments-sidebar {
      width: 100%;
      padding-left: 0;
      margin-bottom: 24px;
  }
  
  .comments-list {
      width: 100%;
  }
  
  .specifications-title,
  .specifications-value {
      width: 50%;
  }
}

/* category */
  .ccontainer {
    height: calc(100vh - 80px);
  }

  .sidenav {
    width: 120px;
    background-color: #f5f5f5;
    border-left: 1px solid #ddd;
    overflow-y: auto;
  }

  .sidenav a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
    cursor: pointer;
  }

  .sidenav a:hover,
  .sidenav a.active {
    background-color: #fff;
    color: #004e92;
    font-weight: bold;
  }

  .main {
    flex-grow: 1;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff;
    overflow-y: auto;
  }

  .amain {
    width: 33.33%;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
    text-decoration: none;
  }

  .amain img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
  }

  .amain p {
    margin-top: 8px;
    font-size: 12px;
    color: #000;
  }

  /* Animation */
  .main {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
  }

  .main.show {
    width: 70%;
    opacity: 1;
    transform: translateX(0);
  }

  /* پروفایل کاربران */
  .pro-main{
    margin: 120px auto 10px auto;
    display: flex;
    flex-direction: row;
  }
  .pro-main .mleft{
    width: 70%;
    margin: 0 10px;
    padding: 10px;
    overflow-y: visible;
    align-self: flex-start;
    left: 0;
    position: relative;
  }
.pro-main .mright{
   padding-bottom: 0;
   width: 20%;
}
  .pbtn{
    color: #000;
    background-color: white;
    border: none;
    text-decoration:none ;
    width: 100%;
    padding:10px 20px;

     
  }
  .pbtn:hover{
    background-color: rgb(234, 232, 232);
    width: 100%;
    border-radius:0 ;
  }

  .personal_table {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 100%;
  
}

.lastmb{
  display: flex;
  justify-content: center;
  align-items: center;
}
.save-info{
  border: none;
  border-radius: 10px;
  color:white ;
  background-color: #004e92;
  height: 40px;
  width: 150px;
  right: 110px;
  position: relative;
  margin: 20px;
}


/* پیگیری خرید */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 78, 146, 0.2);
    transform: translateY(30px) scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #004e92 0%, #0066cc 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px 25px;
}

/* Form Styles */
.tracking-form .form-group {
    margin-bottom: 25px;
}

.tracking-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.tracking-form input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    direction: ltr;
    text-align: left;
    font-family: inherit;
}

.tracking-form input:focus {
    outline: none;
    border-color: #004e92;
    box-shadow: 0 0 0 4px rgba(0, 78, 146, 0.1);
    transform: translateY(-2px);
}

.tracking-form input::placeholder {
    color: #adb5bd;
    direction: rtl;
    text-align: right;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

.btn-track, .btn-back {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #004e92 0%, #0066cc 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-track:hover, .btn-back:hover {
    background: linear-gradient(135deg, #003d7a 0%, #0052a3 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 78, 146, 0.3);
}

.btn-back {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    margin-top: 25px;
}

.btn-back:hover {
    background: linear-gradient(135deg, #5a6268 0%, #3d4043 100%);
}

/* Progress Steps */
.tracking-result {
    text-align: center;
}

.order-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
}

.order-info h4 {
    color: #004e92;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.order-info p {
    color: #6c757d;
    margin: 0;
    font-size: 14px;
}

.progress-container {
    margin: 30px 0;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    right: 25px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(to bottom, #e9ecef 0%, #dee2e6 100%);
    z-index: 1;
    border-radius: 2px;
}

.step {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    border: 3px solid #f8f9fa;
}

.step.completed .step-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
    transform: scale(1.1);
}

.step.active .step-icon {
    background: linear-gradient(135deg, #004e92 0%, #0066cc 100%);
    color: white;
    border-color: #004e92;
    animation: pulse 2s infinite;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(0, 78, 146, 0.4); 
    }
    70% { 
        box-shadow: 0 0 0 15px rgba(0, 78, 146, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(0, 78, 146, 0); 
    }
}

.step-content {
    flex: 1;
    text-align: right;
}

.step-content h5 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.step.completed .step-content h5 {
    color: #28a745;
}

.step.active .step-content h5 {
    color: #004e92;
    font-weight: 700;
}

.step-date {
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.step.completed .step-date {
    color: #28a745;
}

.step.active .step-date {
    color: #004e92;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 50px 20px;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #004e92;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 10px;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 20px;
        border-radius: 15px 15px 0 0;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .progress-steps::before {
        right: 22px;
    }
    
    .step {
        gap: 15px;
    }
}

/* Responsive Styles for Checkout Page */
@media (max-width: 767.98px) {
 .checkout-page {
 padding: 0 10px;
 margin-top: 20px !important;
 }
 
 .checkout-row {
 justify-content: center;
 }
 
 .checkout-form-section,
 .checkout-summary-section {
 max-width: 100%;
 margin: 0 auto 20px auto;
 }
 
 .checkout-page .card {
 margin-bottom: 15px;
 border-radius: 8px;
 }
 
 .checkout-page .card-header h5 {
 font-size: 16px;
 }
 
 .checkout-page .card-body {
 padding: 15px;
 }
 
 /* فرم آدرس */
 .checkout-page .form-label {
 font-size: 14px;
 font-weight: 600;
 margin-bottom: 5px;
 }
 
 .checkout-page .form-control {
 font-size: 14px;
 padding: 8px 12px;
 }
 
 /* روش‌های ارسال و پرداخت */
 .shipping-method-label,
 .payment-method-label {
 padding: 12px;
 font-size: 14px;
 }
 
 .shipping-method-info h6,
 .payment-method-info h6 {
 font-size: 14px;
 margin-bottom: 3px;
 }
 
 .shipping-method-info p,
 .payment-method-info p {
 font-size: 12px;
 }
 
 .shipping-method-price {
 font-size: 13px;
 font-weight: 600;
 }
 
 /* خلاصه سفارش */
 .order-item {
 padding: 8px 0;
 }
 
 .order-item-image img {
 width: 50px !important;
 }
 
 .order-item-details h6 {
 font-size: 13px;
 }
 
 .order-item-details .small {
 font-size: 11px;
 }
 
 .order-item-details .item-price {
 font-size: 12px;
 font-weight: 600;
 color: #007bff;
 }
 
 .order-summary {
 font-size: 14px;
 }
 
 .order-summary strong {
 font-size: 15px;
 }
 
 /* دکمه ادامه فرآیند */
 .btn-primary {
 padding: 12px;
 font-size: 14px;
 font-weight: 600;
 }
}

@media (max-width: 575.98px) {
 .checkout-page {
 padding: 0 5px;
 }
 
 .checkout-page .card-body {
 padding: 12px;
 }
 
 .checkout-page .row .col-md-6 {
 padding-left: 8px;
 padding-right: 8px;
 }
 
 .shipping-method-label,
 .payment-method-label {
 padding: 10px;
 }
 
 .order-item-image {
 margin-left: 8px !important;
 }
 
 .order-item-details {
 padding-right: 5px;
 }
 
 .d-flex.justify-content-between {
 flex-wrap: wrap;
 gap: 5px;
 }
 
 .order-item-details h6 {
 font-size: 12px;
 max-width: 70%;
 }
 
 .order-item-details span {
 font-size: 11px;
 }
}

/* اضافه کردن انیمیشن برای تغییرات */
.checkout-page .card {
 transition: all 0.3s ease;
}

.shipping-method-label,
.payment-method-label {
 transition: all 0.2s ease;
}

/* بهبود نمایش در حالت landscape موبایل */
@media (max-width: 767.98px) and (orientation: landscape) {
 .checkout-page {
 margin-top: 10px !important;
 }
 
 .checkout-page .card {
 margin-bottom: 10px;
 }
 
 .checkout-page .card-body {
 padding: 10px;
 }
}

     .luggage-section {
          width: 93%;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: #333;
            margin-bottom: 50px;
            font-weight: bold;
        }

        .luggage-cards {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .luggage-card {
            width: 32%;
            height: 200px;
            border-radius: 20px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

        .luggage-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }

        /* کارت اول - آبی */
        .card-blue {
            background:linear-gradient(90deg, #FFF8DC, #FFE5B4);
        }

        /* کارت دوم - خاکستری */
        .card-gray {
          background: linear-gradient(60deg, #F5F5DC, #F0FFF0, #E8F5E8);
        }

        /* کارت سوم - زرد */
        .card-yellow {
            background:linear-gradient(45deg, #FFE5B4, #FFCCCB);
        }

        .card-content {
            padding: 30px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            z-index: 2;
        }

        .card-title {
            font-size: 1.4rem;
            font-weight: bold;
            color: #292828;
            margin-bottom: 5px;
        }

        .card-subtitle {
            font-size: 1.1rem;
            color: #333;
            margin-bottom: 20px;
        }

        .card-button {
            padding: 12px 25px;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            width: fit-content;
        }

        .btn-blue {
            background-color: #f4a261;
            color: white;
        }

        .btn-orange {
            background-color: #00A693;
            color: white;
        }

        .btn-dark {
            background-color: #f4b9b8;
            color: white;
        }

        .card-button:hover {
            transform: scale(1.05);
            opacity: 0.9;
        }

        .luggage-image {
            position: absolute;
            left: 20px;
            bottom: -5px;
            width: 200px;
            height: 200px;
            object-fit: contain;
            z-index: 1;
        }
         /* کارت تمام عرض */
        .full-width-card {
            width: 100%;
            height: 250px;
            border-radius: 20px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin-top: 30px;
        }

        .full-width-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }
/* کارت تمام عرض - بنفش */
        .card-purple {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1a1a2e 100%);
        }
        
          .full-width-content {
            padding: 40px;
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .full-width-text {
            flex: 1;
        }
           .full-width-title {
            font-size: 2rem;
            font-weight: bold;
            color: #ffffff;
            margin-bottom: 10px;
        }
            .full-width-subtitle {
            font-size: 1.3rem;
            color: #e0e0e0;
            margin-bottom: 30px;
        }
             .full-width-button {
            padding: 15px 35px;
            border: none;
            border-radius: 30px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            width: fit-content;
        }
         .btn-purple {
            background-color: #ffc107;
            color: #1a237e;
        }
        
        .full-width-image {
            width: 400px;
            height: 310px;
            object-fit: contain;
            margin-left: 40px;
        }

        /* ریسپانسیو */
         @media (max-width: 768px) {
            .luggage-cards {
                flex-direction: column;
                align-items: center;
            }
            
            .luggage-card {
                width: 100%;
            }
            
            .section-title {
                font-size: 2rem;
            }

            .full-width-content {
                flex-direction: column;
                text-align: center;
                padding: 30px;
            }

            .full-width-image {
                margin-left: 0;
                margin-top: 20px;
                width: 150px;
                height: 130px;
            }

            .full-width-title {
                font-size: 1.6rem;
            }

            .full-width-subtitle {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .luggage-card {
                height: 180px;
            }
            
            .card-content {
                padding: 20px;
            }
            
            .card-title {
                font-size: 1.2rem;
            }
            
            .card-subtitle {
                font-size: 1rem;
            }
            
            .luggage-image {
                width: 120px;
                height: 180px;
            }

            .full-width-card {
                height: 220px;
            }

            .full-width-content {
                padding: 20px;
            }

            .full-width-title {
                font-size: 1.4rem;
            }

            .full-width-subtitle {
                font-size: 1rem;
                margin-bottom: 20px;
            }

            .full-width-button {
                padding: 12px 25px;
                font-size: 1rem;
            }
        }

