.header-cart {
  position: relative;
}

.header-cart a {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: var(--tg-common-color-white);
  transition: all 0.3s ease;
}

.header-cart a:hover {
  color: var(--tg-theme-primary);
}

.products-area{
    margin-top: 40px;
}

.product-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    transition:0.3s;
    border:1px solid #eee;
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.product-img{
    padding:15px;
    text-align:center;
}

.product-img img{
    width:100%;
    height:120px;
    object-fit:contain;
}

.product-info{
    padding:12px 15px 16px;
    text-align:center;
}

.product-title{
    font-size:14px;
    margin-bottom:6px;
    font-weight:600;
}

.product-price{
    font-size:13px;
    color:#0d6efd;
    font-weight:700;
}

/* Products Section Header */
.products-section-header {
  position: relative;
  margin-bottom: 50px;
}

.products-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.products-section-title::before,
.products-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #dee2e6 20%, #dee2e6 80%, transparent);
}

.products-section-title::before {
  background: linear-gradient(90deg, transparent, #dee2e6 20%, #dee2e6);
}

.products-section-title::after {
  background: linear-gradient(90deg, #dee2e6, #dee2e6 80%, transparent);
}

.title-icon {
  color: #3C2C99;
  font-size: 16px;
}

/* Product Card Link */
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-link:hover {
  text-decoration: none;
}

.product-card {
  cursor: pointer;
}

/* Mobile Bottom Navigation - Premium Glass Design */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0;
  height: 75px;
}

/* Glassmorphism Background */
.mobile-bottom-nav .nav-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -8px 32px rgba(31, 38, 135, 0.15);
  border-radius: 30px 30px 0 0;
}

/* Content Container */
.mobile-bottom-nav .nav-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  padding: 8px 12px 12px;
}

/* Navigation Items */
.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 6px 4px;
  z-index: 1;
}

.mobile-bottom-nav .nav-item:hover {
  text-decoration: none;
}

/* Icon Container */
.mobile-bottom-nav .nav-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  /* margin-bottom: 4px; */
}

/* SVG Icons Styling */
.mobile-bottom-nav .nav-icon svg {
  width: 24px;
  height: 24px;
  color: #34495e;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Label */
.mobile-bottom-nav .nav-label {
  font-size: 11px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
  letter-spacing: -0.2px;
}

/* Active Indicator */
.mobile-bottom-nav .nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 3px 3px 0 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active State */
.mobile-bottom-nav .nav-item.active {
  color: #667eea;
}

.mobile-bottom-nav .nav-item.active .nav-icon {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.mobile-bottom-nav .nav-item.active .nav-icon svg {
  color: #667eea;
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.mobile-bottom-nav .nav-item.active .nav-label {
  opacity: 1;
  color: #667eea;
  font-weight: 700;
  transform: translateY(-2px);
}

.mobile-bottom-nav .nav-item.active .nav-indicator {
  transform: translateX(-50%) scaleX(1);
}

/* Hover Effect for non-active items */
.mobile-bottom-nav .nav-item:not(.active):active .nav-icon {
  transform: scale(0.92);
  background: rgba(52, 73, 94, 0.08);
}

.mobile-bottom-nav .nav-item:not(.active):active .nav-icon svg {
  color: #667eea;
}

/* Ripple Effect */
.mobile-bottom-nav .nav-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-bottom-nav .nav-item:active::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

/* Floating Animation for Active Item */
@keyframes float {
  0%, 100% {
    transform: translateY(-6px) scale(1.05);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

.mobile-bottom-nav .nav-item.active .nav-icon {
  animation: float 3s ease-in-out infinite;
}

/* Glow Effect */
.mobile-bottom-nav .nav-item.active .nav-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  filter: blur(12px);
  z-index: -1;
  opacity: 0.6;
}

/* Show only on mobile */
@media (max-width: 991px) {
  .mobile-bottom-nav {
    display: block;
  }

  body {
    padding-bottom: 85px;
  }
}

@media (max-width: 576px) {
  .mobile-bottom-nav {
    height: 70px;
  }

  .mobile-bottom-nav .nav-icon {
    width: 44px;
    height: 44px;
  }

  .mobile-bottom-nav .nav-icon svg {
    width: 30px;
    height: 30px;
  }

  .mobile-bottom-nav .nav-label {
    font-size: 10px;
  }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
  .mobile-bottom-nav .nav-backdrop {
    background: #3C2C99;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-bottom-nav .nav-icon svg {
    color: #ffffff;
  }

  .mobile-bottom-nav .nav-label {
    color: #ffffff;
  }
}

.products-page-area {
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Mobile Filter Toggle Button */
.mobile-filter-toggle {
  display: none;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mobile-filter-toggle i {
  margin-left: 8px;
}

.mobile-filter-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Sidebar */
.products-sidebar {
  position: relative;
}

.sidebar-content {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.sidebar-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #718096;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar-close:hover {
  background: #f7fafc;
  color: #2d3748;
}

.sidebar-overlay {
  display: none;
}

/* Filter Groups */
.filter-group {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.filter-group:last-of-type {
  border-bottom: none;
}

.filter-title {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
}

.filter-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-parent{
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
}

.category-parent i{
    font-size:12px;
    color:#718096;
}

.category-children{
    display:none;
    padding-right:15px;
    margin-top:8px;
    flex-direction:column;
    gap:8px;
}

.child-category{
    font-size:14px;
    color:#4a5568;
}


/* Price Inputs */
.price-inputs {
  display: grid;
  align-items: center;
  gap: 10px;
}

.price-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.price-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.price-separator {
  color: #a0aec0;
  font-weight: 600;
}

/* Checkbox Filters */
.filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.filter-checkbox:hover {
  background: #f7fafc;
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  cursor: pointer;
  accent-color: #667eea;
}

.filter-checkbox span {
  font-size: 14px;
  color: #4a5568;
}

.filter-checkbox .count {
  margin-right: auto;
  color: #a0aec0;
  font-size: 13px;
}

/* Filter Actions */
.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}

.btn-apply-filter,
.btn-reset-filter {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-apply-filter {
  background: linear-gradient(135deg, #667eea 0%, #3C2C99 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-apply-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-reset-filter {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.btn-reset-filter:hover {
  background: #edf2f7;
}

/* Toolbar */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.results-count {
  font-size: 14px;
  color: #718096;
  font-weight: 500;
}

.sort-select {
  padding: 10px 35px 10px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #4a5568;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
}

.sort-select:focus {
  outline: none;
  border-color: #3C2C99;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Product Card (reuse from slider) */
.product-card-link {
  text-decoration: none;
  display: block;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.product-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* .product-title {
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 12px 0;
  line-height: 1.4;
} */

.product-price {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #3C2C99 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* Tablet */
@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .product-img {
    height: 200px;
  }

  .sidebar-content {
    top: 80px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Sidebar as Drawer */
  .products-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .products-sidebar.active {
    right: 0;
  }

  .sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 9998;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}
  .sidebar-content {
    position: relative;
    height: 100%;
    overflow-y: auto;
    border-radius: 0;
    top: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .sidebar-close {
    display: flex;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-img {
    height: 180px;
  }

  .product-info {
    padding: 14px;
  }

  .product-title {
    font-size: 14px;
  }

  .product-price {
    font-size: 15px;
  }

  .products-toolbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .toolbar-left,
  .toolbar-right {
    width: 100%;
  }

  .sort-select {
    width: 100%;
  }

  .pagination {
    gap: 5px;
  }

  .page-link {
    min-width: 38px;
    height: 38px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .product-img {
    height: 160px;
  }

  .page-link {
    min-width: 34px;
    height: 34px;
    font-size: 12px;
  }
}

/* ========================================
   Product Detail Page Styles
======================================== */

  .product-detail-section {
            padding: 80px 0;
        }

        .breadcrumb-wrapper {
            background: #dcebff;
            padding: 20px 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 10px;
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 14px;
        }

        .breadcrumb li {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .breadcrumb li a {
            color: #666;
            transition: color 0.3s;
        }

        .breadcrumb li a:hover {
            color: #0066cc;
        }

        .breadcrumb li.active {
            color: #0066cc;
            font-weight: 600;
        }

        .breadcrumb-separator {
            color: #ccc;
        }

        .product-detail-wrapper {
            background: #fff;
            border-radius: 12px;
            /* padding: 40px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08); */
        }

        /* Gallery Section */
        .product-gallery {
            position: relative;
        }

        .main-image-wrapper {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            background: #f8f9fa;
            margin-bottom: 20px;
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .main-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .main-image-wrapper:hover img {
            transform: scale(1.05);
        }

        .btn-zoom {
            position: absolute;
            top: 15px;
            left: 15px;
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.95);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .btn-zoom:hover {
            background: #0066cc;
            color: #fff;
            transform: scale(1.1);
        }

        .thumbnail-list {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        .thumbnail-item {
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s;
            aspect-ratio: 1;
        }

        .thumbnail-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .thumbnail-item:hover,
        .thumbnail-item.active {
            border-color: #0066cc;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,102,204,0.2);
        }

        /* Product Info Section */
        /*.product-info2 {*/
        /*    padding-right: 30px;*/
        /*}*/

@media (max-width: 650px) {
    .product-info2 {
        margin-top: 30px;
    }
}

        .product-title2 {
            font-size: 32px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 15px;
            line-height: 1.3;
            text-align: right;
        }

@media (max-width: 650px) {
    .product-title2 {
        font-size: 24px;
        font-weight: 600;
    }
}

        .product-meta2 {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e5e5e5;
        }

        .product-category2,
        .product-code2 {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #666;
        }

        .product-category2 i,
        .product-code2 i {
            color: #0066cc;
        }

        .product-category2 span,
        .product-code2 span {
            font-weight: 600;
            color: #333;
        }

        .product-rating2 {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
        }

        .stars {
            color: #ffc107;
            font-size: 16px;
        }

        .rating-count {
            color: #666;
            font-size: 14px;
        }

        /* .product-price {
            margin-bottom: 25px;
        } */

        .price-wrapper2 {
            display: flex;
            align-items: baseline;
            gap: 15px;
        }

        .current-price2 {
            font-size: 25px;
            font-weight: 700;
            color: #0066cc;
            margin-bottom: 15px;
        }

        .product-short-desc2 {
            color: #666;
            line-height: 1.8;
            margin-bottom: 30px;
            font-size: 15px;
            text-align: right;
        }

        /* Quantity & Actions */
        .product-actions {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .quantity-selector {
            display: flex;
            align-items: center;
            border: 2px solid #e5e5e5;
            border-radius: 8px;
            overflow: hidden;
        }

        .qty-btn {
            width: 45px;
            height: 50px;
            background: #f8f9fa;
            border: none;
            cursor: pointer;
            font-size: 18px;
            color: #333;
            transition: all 0.3s;
        }

        .qty-btn:hover {
            background: #0066cc;
            color: #fff;
        }

        .qty-input {
            width: 70px;
            height: 50px;
            border: none;
            text-align: center;
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }

        .btn-add-to-cart {
            flex: 1;
            min-width: 200px;
            height: 50px;
            background: #3C2C99;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-add-to-cart:hover {
            background: #0052a3;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,102,204,0.3);
        }

        .btn-wishlist {
            width: 50px;
            height: 50px;
            background: #fff;
            border: 2px solid #e5e5e5;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #666;
        }

        .btn-wishlist:hover,
        .btn-wishlist.active {
            border-color: #ff4757;
            color: #ff4757;
            background: #fff5f6;
        }

        .product-features {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 25px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid #e5e5e5;
        }

        .feature-item:last-child {
            border-bottom: none;
        }

        .feature-item i {
            color: #0066cc;
            font-size: 18px;
        }

        .feature-item span {
            color: #666;
            font-size: 14px;
        }

        /* Tabs Section */
        .product-tabs-section {
            margin-top: 40px;
            background: #fff;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .tabs-nav {
            display: flex;
            gap: 10px;
            border-bottom: 2px solid #e5e5e5;
            margin-bottom: 30px;
        }

        .tab-btn {
            padding: 15px 30px;
            background: none;
            border: none;
            font-size: 16px;
            font-weight: 600;
            color: #666;
            cursor: pointer;
            position: relative;
            transition: all 0.3s;
        }

        .tab-btn:hover {
            color: #0066cc;
        }

        .tab-btn.active {
            color: #0066cc;
        }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: #0066cc;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.4s;
        }

        .tab-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .tab-description {
            color: #666;
            line-height: 1.8;
            font-size: 15px;
        }

        .tab-description h3 {
            color: #1a1a1a;
            font-size: 20px;
            margin-bottom: 15px;
            margin-top: 25px;
        }

        .tab-description ul {
            padding-right: 20px;
            margin: 15px 0;
        }

        .tab-description li {
            margin-bottom: 10px;
        }

        .specifications-table {
            width: 100%;
            border-collapse: collapse;
        }

        .specifications-table tr {
            border-bottom: 1px solid #e5e5e5;
        }

        .specifications-table td {
            padding: 15px;
            font-size: 15px;
        }

        .specifications-table td:first-child {
            font-weight: 600;
            color: #333;
            width: 30%;
            background: #f8f9fa;
        }

        .specifications-table td:last-child {
            color: #666;
        }

        /* Reviews */
        .reviews-wrapper {
            max-width: 800px;
        }

        .review-item {
            padding: 25px;
            background: #f8f9fa;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .reviewer-name {
            font-weight: 600;
            color: #333;
            font-size: 16px;
        }

        .review-date {
            color: #999;
            font-size: 13px;
        }

        .review-rating {
            color: #ffc107;
            margin-bottom: 10px;
        }

        .review-text {
            color: #666;
            line-height: 1.7;
            font-size: 14px;
        }

        /* Zoom Modal */
        .image-zoom-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s;
        }

        .zoom-overlay {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .zoom-overlay img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
        }

        .zoom-close {
            position: absolute;
            top: -50px;
            left: 0;
            font-size: 40px;
            color: #fff;
            cursor: pointer;
            transition: color 0.3s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .zoom-close:hover {
            color: #ff4757;
        }

        /* Responsive */
        @media (max-width: 991px) {
            .product-title {
                font-size: 16px;
            }

            .current-price {
                font-size: 30px;
            }
        }

        @media (max-width: 767px) {
            .product-detail-wrapper {
                padding: 20px;
            }

            .product-tabs-section {
                padding: 20px;
            }

            .thumbnail-list {
                grid-template-columns: repeat(3, 1fr);
            }

            .product-actions {
                /* flex-direction: column; */
                width: 100%;
            }

            .btn-add-to-cart {
                width: 100%;
            }

            .tabs-nav {
                flex-wrap: wrap;
            }

            .tab-btn {
                padding: 12px 20px;
                font-size: 14px;
            }
        }


        /* cart style */

         .cart-page {
            padding: 80px 0;
            background: #f8f9fa;
            min-height: 70vh;
        }

        .cart-section-title {
            font-size: 32px;
            font-weight: 700;
            color: #1a2332;
            margin-bottom: 40px;
            font-family: 'iranyekan', 'Tahoma', sans-serif;
        }

        .cart-table-wrapper {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            overflow: hidden;
            margin-bottom: 30px;
        }

        .cart-table {
            width: 100%;
            margin: 0;
        }

        .cart-table thead {
            background: #bdbdbd;
        }

        .cart-table thead th {
            color: #fff;
            font-weight: 600;
            padding: 20px 15px;
            border: none;
            font-size: 14px;
            text-align: center;
        }

        .cart-table tbody td {
            padding: 25px 15px;
            vertical-align: middle;
            border-bottom: 1px solid #eee;
            text-align: center;
        }

        .cart-table tbody tr:last-child td {
            border-bottom: none;
        }

        .cart-product-item {
            display: flex;
            align-items: center;
            gap: 15px;
            text-align: right;
        }

        .cart-product-img {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .cart-product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .cart-product-info h6 {
            font-size: 16px;
            font-weight: 600;
            color: #1a2332;
            margin: 0 0 5px 0;
        }

        .cart-product-info span {
            font-size: 13px;
            color: #666;
        }

        .cart-price {
            font-size: 16px;
            font-weight: 700;
            color: #1a2332;
        }

        .cart-quantity {
            display: inline-flex;
            align-items: center;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .cart-quantity button {
            width: 35px;
            height: 35px;
            border: none;
            background: #f5f5f5;
            color: #1a2332;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .cart-quantity button:hover {
            background: #1a2332;
            color: #fff;
        }

        .cart-quantity input {
            width: 50px;
            height: 35px;
            border: none;
            text-align: center;
            font-weight: 600;
            color: #1a2332;
        }

        .cart-remove-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: #fee;
            color: #e74c3c;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .cart-remove-btn:hover {
            background: #e74c3c;
            color: #fff;
            transform: rotate(90deg);
        }

        .cart-summary {
            background: #fff;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            position: sticky;
            top: 100px;
        }

        .cart-summary h4 {
            font-size: 22px;
            font-weight: 700;
            color: #1a2332;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0f0f0;
        }

        .cart-summary-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 15px;
        }

        .cart-summary-item span:first-child {
            color: #666;
        }

        .cart-summary-item span:last-child {
            font-weight: 600;
            color: #1a2332;
        }

        .cart-summary-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            margin-top: 20px;
            border-top: 2px solid #f0f0f0;
            font-size: 18px;
            font-weight: 700;
        }

        .cart-summary-total span:last-child {
            color: #e74c3c;
            font-size: 24px;
        }

        .cart-checkout-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            margin-top: 25px;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
        }

        .cart-checkout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        }

        .cart-continue-btn {
            width: 100%;
            padding: 14px;
            background: transparent;
            color: #1a2332;
            border: 2px solid #1a2332;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 15px;
            transition: all 0.3s;
        }

        .cart-continue-btn:hover {
            background: #1a2332;
            color: #fff;
        }

        .empty-cart {
            text-align: center;
            padding: 80px 20px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .empty-cart i {
            font-size: 80px;
            color: #ddd;
            margin-bottom: 20px;
        }

        .empty-cart h3 {
            font-size: 24px;
            color: #1a2332;
            margin-bottom: 15px;
        }

        .empty-cart p {
            color: #666;
            margin-bottom: 30px;
        }

        @media (max-width: 991px) {
            .cart-summary {
                position: static;
                margin-top: 30px;
            }
        }

        @media (max-width: 767px) {
            .cart-table thead {
                display: none;
            }

            .cart-table tbody td {
                display: block;
                text-align: right;
                padding: 10px 15px;
                border: none;
            }

            .cart-table tbody tr {
                display: block;
                margin-bottom: 20px;
                border: 1px solid #eee;
                border-radius: 8px;
                padding: 15px;
            }

            .cart-product-item {
                margin-bottom: 15px;
            }

            .cart-table tbody td:before {
                content: attr(data-label);
                font-weight: 600;
                display: inline-block;
                margin-left: 10px;
                color: #1a2332;
            }

            .cart-quantity,
            .cart-remove-btn {
                margin: 10px auto;
            }
        }

           /* User Dashboard Styles */
.user-dashboard-section {
    background: #f8f9fa;
    padding: 90px 0;
}

.user-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px 20px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #0066cc;
    object-fit: cover;
}

.user-info h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.user-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 15px;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.sidebar-nav li a:hover {
    background: #f0f7ff;
    color: #0066cc;
}

.sidebar-nav li a i {
    font-size: 18px;
    color: #0066cc;
    min-width: 24px;
    text-align: center;
}

.sidebar-nav li.active a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.sidebar-nav li.active a i {
    color: #fff;
}

.user-content-area {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
}

.user-content-block {
    display: none;
}

.user-content-block.active {
    display: block;
}

.user-content-block h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

/* User Details Form */
.user-details-form .form-group {
    margin-bottom: 20px;
}

.user-details-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.user-details-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.user-details-form .form-control:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.user-details-form .form-control[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Addresses Section */
.addresses-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.address-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.address-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.address-actions {
    display: flex;
    gap: 10px;
}

.btn-edit, .btn-delete {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-edit {
    color: #0066cc;
}

.btn-edit:hover {
    background: #e3f2fd;
}

.btn-delete {
    color: #dc3545;
}

.btn-delete:hover {
    background: #ffe5e5;
}

.address-details p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.add-new-address {
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 25px;
}

.add-new-address h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.add-new-address textarea {
    resize: vertical;
}

/* Orders Section */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.order-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.order-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.order-info strong {
    font-size: 16px;
    color: #1a1a1a;
}

.order-info span {
    font-size: 13px;
    color: #666;
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.status-processing {
    background: #fff3cd;
    color: #856404;
}

.btn-download-invoice {
    background: #0066cc;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-download-invoice:hover {
    background: #0052a3;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.order-product span {
    font-size: 14px;
    color: #333;
}

.order-summary-price {
    text-align: left;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.order-summary-price span {
    font-size: 15px;
    color: #666;
}

.order-summary-price strong {
    font-size: 18px;
    color: #1a1a1a;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background: #c82333;
}

/* Responsive */
@media (max-width: 991px) {
    .user-sidebar {
        margin-bottom: 30px;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
}


.auth-modal-minimal {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(30,80,150,0.10);
    border: none;
    background: #fff;
    max-width: 330px;
    margin: auto;
    font-family: inherit;
}
.modal-header {
    background: transparent;
    border-bottom: none;
}
.modal-title {
    font-size: 1.1rem;
}
.btn-close {
    background-color: #eef4fc;
}
.auth-tab-btn {
    border: none;
    background: #f7f9fc;
    color: #1252a4;
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 26px;
    border-radius: 20px;
    margin: 0 2px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.auth-tab-btn.active {
    background: #1252a4;
    color: #fff;
}
.auth-tab-content {
    margin-top: 6px;
}
/* فرم */
.form-control {
    border-radius: 8px;
    border: 1px solid #e0e7ef;
    background: #f3f6fa;
    font-size: 0.92rem;
}
.form-label {
    font-size: 0.87rem;
    color: #50667a;
}
.btn-primary, .btn-success {
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(18,82,164,0.06);
}
.btn-primary {
    background: #1252a4;
    border-color: #1252a4;
}
.btn-success {
    background: #32bb77;
    border-color: #32bb77;
}

/* =========================
   DESKTOP CATEGORY MEGA MENU
========================= */

.navbar-wrap .navigation {
    position: relative;
}

.navbar-wrap .navigation > li {
    position: relative;
}

.category-menu-item {
    position: relative;
}

/* باکس اصلی منوی دسته بندی */
.category-mega-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    width: auto !important;
    min-width: 200px !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    border: 1px solid #edf0f7;
    max-width: max-content !important;
    padding: 10px 0 !important;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 9999;
    display: block !important;
    flex-direction: column !important;
}

/* نمایش منو با هاور */
.category-menu-item:hover > .category-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* آیتم های سطح اول */
.category-mega-menu > li {
    position: relative;
    list-style: none;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* لینک سطح اول */
.category-mega-menu > li > a {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    width: 100% !important;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    border-radius: 0;
    transition: all .2s ease;
    white-space: nowrap;
    position: relative !important;
    padding-right: 20px !important;
}

.category-mega-menu > li > a::before {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 3px !important;
    height: 70% !important;
    background-color: #007bff !important;
    opacity: 0 !important;
    transition: opacity 0.3s !important;
}

.category-mega-menu > li:hover > a::before {
    opacity: 1 !important;
}

/* افکت هاور روی دسته اصلی */
.category-mega-menu > li:hover > a {
    background: #f6f8fc;
    color: var(--tg-primary-color);
}

/* زیرمنوی سطح دوم */
.category-mega-menu > li > .sub-menu,
.category-mega-menu > li > ul {
    position: absolute;
    top: 0;
    right: 100%;
    width: 280px;
    min-height: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    border: 1px solid #edf0f7;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all .25s ease;
    z-index: 9998;
    display: block;
}

/* نمایش زیرمنوی سطح دوم هنگام هاور */
.category-mega-menu > li:hover > .sub-menu,
.category-mega-menu > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* استایل آیتم های داخل زیرمنو */
.category-mega-menu ul li {
    position: relative;
    list-style: none;
}

.category-mega-menu ul li a {
    display: block;
    padding: 12px 18px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    transition: all .2s ease;
    white-space: nowrap;
}

.category-mega-menu ul li:hover > a {
    background: #f3f6fb;
    color: var(--tg-primary-color);
}

/* سطح سوم و بیشتر */
.category-mega-menu ul li > ul,
.category-mega-menu ul li > .sub-menu {
    position: absolute;
    top: 0;
    right: 100%;
    width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    border: 1px solid #edf0f7;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all .25s ease;
    display: block;
    z-index: 9997;
}

.category-mega-menu ul li:hover > ul,
.category-mega-menu ul li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* اگر منوی اصلی قالب استایل پیشفرض روی sub-menu دارد، این خنثی کند */
.navbar-wrap .navigation > li > .category-mega-menu,
.navbar-wrap .navigation > li > .category-mega-menu ul {
    left: auto !important;
}

/* جلوگیری از به هم ریختگی متن های بلند */
.category-mega-menu a {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu .navigation {
    padding: 0;
    margin: 0;
}

.mobile-menu .navigation li {
    position: relative;
    list-style: none;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu .navigation li a {
    display: block;
    padding: 14px 48px 14px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    line-height: 1.8;
    transition: all .2s ease;
}

.mobile-menu .navigation li a:hover {
    color: var(--tg-primary-color);
}

/* زیرمنوهای موبایل */
.mobile-menu .navigation li > ul,
.mobile-menu .navigation li > .sub-menu,
.mobile-menu .navigation li > .mega-menu {
    display: none;
    position: static !important;
    width: 100% !important;
    min-width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f9fafc !important;
    margin: 0;
    padding: 0;
}

.mobile-menu .navigation li > ul li a,
.mobile-menu .navigation li > .sub-menu li a,
.mobile-menu .navigation li > .mega-menu li a {
    padding-right: 28px;
    font-size: 14px;
    background: #f9fafc;
}

.mobile-menu .navigation li > ul li > ul li a,
.mobile-menu .navigation li > .sub-menu li > ul li a,
.mobile-menu .navigation li > .mega-menu li > ul li a {
    padding-right: 42px;
    font-size: 13.5px;
}

/* دکمه باز و بسته */
.mobile-menu .navigation li.menu-item-has-children .dropdown-btn {
    position: absolute;
    left: 12px;
    top: 10px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
    color: #222;
    background: #f1f3f7;
    border-radius: 8px;
    cursor: pointer;
    transition: all .3s ease;
    z-index: 3;
}

.mobile-menu .navigation li.menu-item-has-children .dropdown-btn:hover {
    background: var(--tg-primary-color);
    color: #fff;
}

.mobile-menu .navigation li.menu-item-has-children .dropdown-btn i,
.mobile-menu .navigation li.menu-item-has-children .dropdown-btn span {
    transition: all .3s ease;
}

.mobile-menu .navigation li.open > .dropdown-btn {
    background: var(--tg-primary-color);
    color: #fff;
}

.mobile-menu .navigation li.open > .dropdown-btn i,
.mobile-menu .navigation li.open > .dropdown-btn span {
    transform: rotate(180deg);
}

/* رنگ آیتم باز شده */
.mobile-menu .navigation li.open > a {
    color: var(--tg-primary-color);
    background: #f8fbff;
}

/* حذف استایل های مزاحم مگامنو در موبایل */
.mobile-menu .mega-menu {
    display: none;
    grid-template-columns: unset !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}

/* =========================
   GENERAL FIXES
========================= */

.main-menu .navigation li.menu-item-has-children .dropdown-btn {
    display: none !important;
}

/* در دسکتاپ فقط هاور کار کند */
@media (min-width: 992px) {
    .mobile-menu {
        display: none;
    }
}

/* در موبایل زیرمنو absolute نباشد */
@media (max-width: 991.98px) {
    .navbar-wrap.main-menu {
        display: none !important;
    }

    .mobile-menu .navigation li > ul,
    .mobile-menu .navigation li > .sub-menu,
    .mobile-menu .navigation li > .mega-menu {
        position: static !important;
    }
}

.mobile-login-section {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-login-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
}

/* استایل‌های CSS برای بخش کامنت */
.review-form-wrapper {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.review-form-wrapper h4 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group .required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

.invalid-feedback {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
}

.alert-success {
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 5px;
    margin-bottom: 20px;
}

.logged-user-info {
    padding: 15px;
    background: #e8f4f8;
    border-radius: 5px;
    margin-bottom: 20px;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.review-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: bold;
    color: #333;
}

.review-date {
    color: #999;
    font-size: 13px;
}

.review-text {
    color: #666;
    line-height: 1.8;
}

.comment-form-captcha {
    margin-bottom: 20px;
}

.comment-form-captcha label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.comment-form-captcha input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.comment-form-captcha input:focus {
    outline: none;
    border-color: #0989ff;
}

.hero-section {
    padding: 30px 0;
}

.hero-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* Slider Container */
.hero-slider-container {
    flex: 0 0 75%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-nav-prev {
    right: 20px;
}

.hero-nav-next {
    left: 20px;
}

/* Dots Indicator */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-dot.active {
    background: #fff;
    width: 32px;
    border-radius: 5px;
}

.hero-order-box {
    flex: 0 0 calc(25% - 20px);
    background: linear-gradient(135deg, #667eea 0%, #3C2C99 100%);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-order-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
}

/* Animated Background Particles */
.hero-order-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero-order-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.order-box-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

/* Enhanced Icon with Animation */
.order-box-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 0 0 rgba(255, 255, 255, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: iconPulse 3s ease-in-out infinite;
    position: relative;
}

.order-box-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: ripple 2s ease-out infinite;
}

.order-box-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: ripple 2s ease-out 0.5s infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 0 0 rgba(255, 255, 255, 0.4),
            0 8px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 0 0 10px rgba(255, 255, 255, 0),
            0 12px 30px rgba(0, 0, 0, 0.3);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.hero-order-box:hover .order-box-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow:
        0 0 0 15px rgba(255, 255, 255, 0),
        0 15px 40px rgba(0, 0, 0, 0.4);
}

.order-box-icon svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-order-box:hover .order-box-icon svg {
    animation: iconSpin 0.6s ease-in-out;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Enhanced Title */
.order-box-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    animation: titleFade 1s ease-out;
}

@keyframes titleFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-order-box:hover .order-box-title {
    transform: scale(1.05);
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Enhanced Text */
.order-box-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    animation: textFade 1s ease-out 0.2s both;
}

@keyframes textFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Button with Advanced Effects */
.order-box-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #667eea;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: buttonFade 1s ease-out 0.4s both;
}

@keyframes buttonFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shine Effect */
.order-box-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: left 0.7s ease;
}

.order-box-btn:hover::before {
    left: 100%;
}

/* Glow Effect */
.order-box-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.order-box-btn:hover::after {
    width: 300px;
    height: 300px;
}

.order-box-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.5);
    color: #764ba2;
}

.order-box-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.order-box-btn svg {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.order-box-btn:hover svg {
    transform: translateX(-8px) scale(1.2);
    filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5));
}

/* Sparkle Effect */
.order-box-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle 1.5s ease-in-out infinite;
}

.order-box-sparkle:nth-child(1) {
    top: 15%;
    right: 20%;
    animation-delay: 0s;
}

.order-box-sparkle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 0.5s;
}

.order-box-sparkle:nth-child(3) {
    top: 35%;
    right: 80%;
    animation-delay: 1s;
}

.order-box-sparkle:nth-child(4) {
    top: 75%;
    right: 70%;
    animation-delay: 1.5s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-wrapper {
        flex-direction: column;
    }

    .hero-slider-container,
    .hero-order-box {
        flex: 0 0 100%;
    }

    .hero-slider {
        height: 350px;
    }

    .hero-order-box {
        padding: 30px 25px;
    }

    .order-box-icon {
        width: 75px;
        height: 75px;
    }

    .order-box-icon svg {
        width: 40px;
        height: 40px;
    }

    .order-box-title {
        font-size: 22px;
    }

    .order-box-text {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 20px 0;
    }

    .hero-slider {
        height: 280px;
        border-radius: 12px;
    }

    .hero-slider-container {
        border-radius: 12px;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
    }

    .hero-nav svg {
        width: 20px;
        height: 20px;
    }

    .hero-nav-prev {
        right: 10px;
    }

    .hero-nav-next {
        left: 10px;
    }

    .hero-dots {
        bottom: 12px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 24px;
    }

    .hero-order-box {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .order-box-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .order-box-icon svg {
        width: 36px;
        height: 36px;
    }

    .order-box-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .order-box-text {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .order-box-btn {
        padding: 14px 32px;
        font-size: 15px;
    }

    .order-box-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 220px;
    }

    .order-box-icon {
        width: 60px;
        height: 60px;
    }

    .order-box-icon svg {
        width: 32px;
        height: 32px;
    }

    .order-box-title {
        font-size: 18px;
    }

    .order-box-text {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .order-box-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

.custom-order-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    position: relative;
}

.custom-order-page::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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.custom-order-page .container {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.6s ease-out;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.info-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.info-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
}

.info-content strong {
    color: #667eea;
    font-weight: 600;
}

/* Form Card */
.order-form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.header-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.form-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.success-message svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Form Groups */
.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.form-group label svg {
    width: 20px;
    height: 20px;
    color: #667eea;
}

.required {
    color: #f56565;
    font-size: 18px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #2d3748;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #a0aec0;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.file-label:hover {
    border-color: #667eea;
    background: #edf2f7;
    transform: translateY(-2px);
}

.file-label svg {
    width: 28px;
    height: 28px;
    color: #667eea;
}

.file-text {
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
}

.file-name {
    font-size: 14px;
    color: #667eea;
    font-weight: 500;
}

.file-hint {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #718096;
}

/* Error Message */
.error-message {
    color: #f56565;
    font-size: 14px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.error-message::before {
    content: '⚠';
    font-size: 16px;
}

.is-invalid {
    border-color: #f56565 !important;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    margin-top: 40px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.submit-button:active {
    transform: translateY(-1px);
}

.submit-button svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.submit-button:hover svg {
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .custom-order-page {
        padding: 40px 15px;
    }

    .info-box {
        flex-direction: column;
        padding: 25px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon svg {
        width: 26px;
        height: 26px;
    }

    .info-content h3 {
        font-size: 19px;
    }

    .info-content p {
        font-size: 14px;
    }

    .order-form-card {
        padding: 30px 20px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .header-icon {
        width: 70px;
        height: 70px;
    }

    .header-icon svg {
        width: 35px;
        height: 35px;
    }
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.order-item:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f7fafc;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-info strong {
    font-size: 18px;
    color: #2d3748;
}

.order-info span {
    font-size: 14px;
    color: #718096;
}

.order-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.status-pending {
    background: #fef5e7;
    color: #f39c12;
    border: 1px solid #f39c12;
}

.status-processing {
    background: #e3f2fd;
    color: #2196f3;
    border: 1px solid #2196f3;
}

.status-completed {
    background: #e8f5e9;
    color: #4caf50;
    border: 1px solid #4caf50;
}

.status-cancelled {
    background: #ffebee;
    color: #f44336;
    border: 1px solid #f44336;
}

.order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-view-details,
.btn-download-file {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-view-details {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-download-file {
    background: #48bb78;
    color: white;
}

.btn-download-file:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.order-details {
    margin-bottom: 16px;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 12px;
}

.product-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-info strong {
    font-size: 15px;
    color: #2d3748;
}

.product-info span {
    font-size: 13px;
    color: #718096;
}

.order-summary-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 2px solid #f7fafc;
}

.order-date {
    font-size: 13px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Modal Styles */
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 2px solid #f7fafc;
}

.modal-header h4 {
    margin: 0;
    font-size: 20px;
    color: #2d3748;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f7fafc;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 12px;
}

.detail-row.full-width {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.detail-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

.detail-value {
    color: #2d3748;
    font-size: 14px;
}

.detail-description {
    margin: 0;
    padding: 12px;
    background: white;
    border-radius: 8px;
    line-height: 1.8;
    color: #4a5568;
    width: 100%;
}

.detail-file-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #48bb78;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-file-link:hover {
    background: #38a169;
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: white;
}

.empty-state h4 {
    margin: 0 0 12px 0;
    font-size: 22px;
    color: #2d3748;
}

.empty-state p {
    margin: 0 0 24px 0;
    color: #718096;
    font-size: 15px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        gap: 16px;
    }

    .order-actions {
        width: 100%;
    }

    .btn-view-details,
    .btn-download-file {
        flex: 1;
        justify-content: center;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.btn-order-product {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-order-product:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 87, 108, 0.4);
}

.btn-order-product:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

.btn-order-product i {
    font-size: 16px;
}

/* Success Modal */
.order-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.order-success-modal.active {
    display: flex;
}

.order-success-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: modalSlideIn 0.3s ease-out;
}

.order-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: white;
    animation: iconPulse 0.6s ease-out;
}

@keyframes iconPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.order-success-content h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #2d3748;
}

.order-success-content p {
    margin: 0 0 24px 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
}

.order-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-view-panel,
.btn-close-modal {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-view-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-close-modal {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-close-modal:hover {
    background: #cbd5e0;
}

@media (max-width: 768px) {
    .product-actions {
        flex-wrap: wrap;
    }

    .btn-add-to-cart,
    .btn-order-product {
        flex: 1 1 100%;
    }

    .order-success-actions {
        flex-direction: column;
    }

    .btn-view-panel,
    .btn-close-modal {
        width: 100%;
        justify-content: center;
    }
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.order-total {
    font-size: 16px;
    color: #2d3748;
}

.order-total strong {
    color: #667eea;
}

.address-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.address-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.address-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    margin-left: 8px;
}

.btn-edit {
    background: #E3F2FD;
    color: #1976D2;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit:hover {
    background: #1976D2;
    color: white;
}

.address-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.address-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    background: #fafafa;
    border-radius: 6px;
}

.address-info-row:last-child,
.address-info-row:nth-last-child(2):nth-child(odd) {
    grid-column: span 1;
}

/* آدرس دقیق full width */
.address-info-row:nth-child(4) {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    min-width: 80px;
}

.info-label i {
    margin-left: 4px;
    color: #4CAF50;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* فرم */
.add-new-address {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
}

.add-new-address h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.add-new-address h4 i {
    color: #4CAF50;
    margin-left: 8px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.required {
    color: #F44336;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-control.is-invalid {
    border-color: #F44336;
}

.invalid-feedback {
    display: block;
    color: #F44336;
    font-size: 12px;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #43A047;
}

.btn-secondary {
    background: #f5f5f5;
    color: #555;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* No address state */
.no-address-state {
    text-align: center;
    padding: 40px;
    color: #bbb;
}

.no-address-state i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.no-address-state p {
    font-size: 15px;
}

/* Alert */
.alert {
    padding: 12px 16px;
    border-radius: 7px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

@media (max-width: 768px) {
    .address-info-grid {
        grid-template-columns: 1fr;
    }

    .address-info-row:nth-child(4) {
        grid-column: 1;
    }
}

.cart-address-box,
.cart-shipping-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 16px;
    background: #fafafa;
}

.cart-address-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;color: #444;
    margin-bottom: 10px;
}

.cart-address-label i {
    color: #4CAF50;
}

.cart-address-value p {
    font-size: 13px;
    color: #666;
    margin: 4px 0 8px;
    line-height: 1.6;
}

.cart-change-address {
    font-size: 13px;
    color: #1976D2;
    text-decoration: none;
}

.cart-change-address:hover {
    text-decoration: underline;
}

.cart-no-address {
    font-size: 13px;
    color: #E65100;
    margin-bottom: 6px;
}

.cart-no-address i {
    margin-left: 4px;
}

/* شیوه ارسال */
.shipping-options {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s;
    flex: 1;
    justify-content: center;
}

.shipping-option:has(input:checked) {
    border-color: #4CAF50;
    background: #E8F5E9;
    color: #2E7D32;
}

.shipping-option input {
    accent-color: #4CAF50;
}

.shipping-note {
    font-size: 13px;
    color: #555;
    background: #FFF8E1;
    border: 1px solid #FFE082;
    border-radius: 6px;
    padding: 10px 12px;
    line-height: 1.8;
}

.shipping-note strong {
    color: #E65100;
}

.inner-contact-info .list-wrap li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.inner-contact-info .list-wrap li i {
    color: #007bff;
    font-size: 18px;
    min-width: 20px;
    margin-top: 3px;
}

.inner-contact-info .list-wrap li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.inner-contact-info .list-wrap li a:hover {
    color: #007bff;
}

/* استایل دکمه‌های شبکه‌های اجتماعی */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #fff;
}

.social-btn i {
    font-size: 18px;
}

/* رنگ‌های اختصاصی هر شبکه */
.social-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #0066aa);
}

.social-btn.bale {
    background: linear-gradient(135deg, #00b87c, #009966);
}

.social-btn.ita {
    background: linear-gradient(135deg, #ff8724, #cf6a00);
}

.social-btn.rubika {
    background: linear-gradient(135deg, #e13c50, #c72d3f);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
}

/* ریسپانسیو */
@media (max-width: 576px) {
    .social-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .social-btn i {
        font-size: 16px;
    }
}

.btn-edit-order {
    background: #f0ad4e;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-edit-order:hover {
    background: #ec971f;
}

/* دکمه لغو (سطل آشغال) */
.btn-cancel-order {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-cancel-order:hover {
    background: #c82333;
}

/* فرم ویرایش */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group .form-control:focus {
    border-color: #007bff;
    outline: none;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-save-edit {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-save-edit:hover {
    background: #21838;
}

.btn-cancel-edit {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-cancel-edit:hover {
    background: #5a6268;
}

/* مودال تاید لغو */
.modal-sm .modal-content {
    max-width: 400px;
}

.cancel-icon {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 15px;
}

.cancel-icon i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn-confirm-cancel {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-confirm-cancel:hover {
    background: #c82333;
}

.text-muted {
    color: #6c757d;
    font-size: 13px;
}

.text-center {
    text-align: center;
}

.size-option.active {
    border-color: #007bff !important;
    background: #007bff !important;
    color: white !important;
}
.size-option.active .size-price {
    color: white !important;
}
.size-option:hover:not(:disabled) {
    border-color: #007bff;
    transform: translateY(-2px);
}
.size-option:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-size-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
}
.cart-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}
.cart-qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.cart-qty-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}
.cart-qty-input {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}
.cart-remove-btn {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}
.cart-remove-btn:hover {
    color: #cc0000;
    transform: scale(1.1);
}

.custom-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-pagination li a,
.custom-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s ease;
}

.custom-pagination li a:hover {
    background: #4a90d9;
    color: #fff;
    border-color: #4a90d9;
}

.custom-pagination li.active span {
    background: #4a90d9;
    color: #fff;
    border-color: #4a90d9;
    font-weight: 600;
}

.custom-pagination li.disabled span {
    color: #ccc;
    cursor: not-allowed;
    background: #f9f9f9;
}

/* رفع فضای خالی در منوی موبایل */
.mobile-menu .navigation,
.mobile-menu .navigation ul,
.mobile-menu .navigation li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mobile-menu .navigation ul {
    display: none;
    padding-right: 15px !important; /* فقط کمی فاصله برای زیرمنوها */
}

.mobile-menu .navigation li {
    border-bottom: 1px solid #eee;
}

.mobile-menu .navigation li:last-child {
    border-bottom: none;
}

.mobile-menu .navigation li a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
}

.mobile-menu .dropdown-btn {
    position: absolute;
    left: 10px;
    top: 8px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    z-index: 9;
}

.mobile-menu .navigation li {
    position: relative;
}

.mobile-menu .navigation ul.sub-menu,
.mobile-menu .navigation ul.children,
.mobile-menu .navigation ul.dropdown-menu {
    display: none !important; /* مقدار پیش‌فرض مخفی */
}

.mobile-menu .navigation li.open > ul.sub-menu,
.mobile-menu .navigation li.open > ul.children,
.mobile-menu .navigation li.open > ul.dropdown-menu {
    display: contents !important; /* فقط زمانی که کلاس open دارد نمایش داده شود */
}

/* حذف فضای خالی اضافی */
.mobile-menu .navigation ul.sub-menu,
.mobile-menu .navigation ul.children {
    position: static !important;
    margin: 0 !important;
    padding-right: 20px !important;
    background: transparent !important;
    box-shadow: none !important;
}





