
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background: #0a0a0a;
  min-height: 100vh;
  box-sizing: border-box;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 15px;
}

/* هدر صفحه */
.page-header {
  text-align: center;
  margin-bottom: 100px;
}

.header-title {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #D4AF37 0%, #f4d03f 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.header-subtitle {
  font-size: 20px;
  color: #D4AF37 !important;
  font-weight: 400;
}

/* سرچ باکس */
#searchInput {
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 30px;
  border-radius: 12px;
  border: 2px solid #D4AF37;
  font-size: 16px;
  font-family: 'Vazirmatn', sans-serif;
  background: #1a1a1a;
  color: #D4AF37 !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

#searchInput:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  background: #222;
}

#searchInput::placeholder {
  color: #D4AF37 !important;
}

/* گرید کارت‌ها - 4 تا در هر ردیف */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* کارت برند */
.brand-card {
  background: #1a1a1a !important;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 0 0 40px rgba(212, 175, 55, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: none;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.brand-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.7), 0 0 60px rgba(212, 175, 55, 0.5);
}

.brand-card:hover::before {
  opacity: 1;
}

/* لوگو و بج */
.logo-container {
  position: relative;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
  height: 160px;
  border: 3px solid #D4AF37;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  padding: 15px;
}

.brand-logo {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
  display: block;
}

.brand-card:hover .brand-logo {
  transform: scale(1.1);
}

.shine-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    transparent 40%,
    rgba(212, 175, 55, 0.3) 50%,
    transparent 60%,
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #D4AF37 0%, #f4d03f 100%);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #0a0a0a !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.6);
  z-index: 3;
}

/* بدنه کارت */
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  text-align: center;
  align-items: center;
}

.card-header-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex-direction: column;
}

.brand-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #D4AF37 !important;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}

.rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  justify-content: center;
}

.rating-num {
  color: #D4AF37 !important;
  font-weight: 600;
}

.category {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  justify-content: center;
}

.category-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: #D4AF37 !important;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.desc {
  font-size: 13px;
  color: #D4AF37 !important;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* فوتر کارت */
.card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  flex-direction: column;
  width: 100%;
}

.price-tag {
  background: linear-gradient(135deg, #D4AF37 0%, #f4d03f 100%);
  color: #0a0a0a !important;
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
}

.cta {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, #D4AF37 0%, #f4d03f 100%);
  color: #0a0a0a !important;
  padding: 8px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #f4d03f 0%, #D4AF37 100%);
}

/* ✅ لی‌اوت دو ستونی */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

/* ✅ Sidebar دسته‌بندی */
.brand-sidebar {
  background: #1a1a1a;
  border-radius: 25px;
  padding: 20px;
  position: sticky;
  top: 20px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 0 0 40px rgba(212, 175, 55, 0.3);
}

.brand-sidebar h3 {
  color: #D4AF37 !important;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.brand-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brand-categories li {
  margin-bottom: 8px;
}

.brand-categories a {
  display: block;
  color: #D4AF37 !important;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
  background: rgba(212, 175, 55, 0.05);
}

.brand-categories a:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37 !important;
  transform: translateX(-5px);
  border-right: 3px solid #D4AF37;
}

/* ✅ عنوان اصلی صفحه */
.brand-title {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #D4AF37 0%, #f4d03f 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 40px;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

/* ✅ استایل برای WordPress */
.brand-thumb {
  height: 160px;
  border: 3px solid #D4AF37;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  padding: 15px;
  overflow: hidden;
  position: relative;
  border-radius: 25px 25px 0 0;
}

.brand-thumb img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.brand-card:hover .brand-thumb img {
  transform: scale(1.1);
}

.brand-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}

.brand-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #D4AF37 !important;
  margin: 0 0 8px 0;
  text-align: center;
}

.brand-body p {
  font-size: 14px;
  color: #D4AF37 !important;
  line-height: 1.6;
  margin: 0 0 12px 0;
  text-align: center;
}

.brand-body .cta {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, #D4AF37 0%, #f4d03f 100%);
  color: #0a0a0a !important;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.brand-body .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

/* ریسپانسیو */
@media (max-width: 1200px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  
  .brand-sidebar {
    position: static;
  }
  
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .header-title, .brand-title {
    font-size: 32px;
  }
  
  .header-subtitle {
    font-size: 16px;
  }
  
  .brand-grid {
    grid-template-columns: 1fr;
  }
  
  .card-footer {
    flex-direction: column;
    align-items: center;
  }
  
  .cta {
    width: 100%;
  }
}

.brand-title {
  margin-bottom: 60px; /* فاصله با اولین ردیف کارت‌ها */
}

.category-search-box {
  margin-bottom: 16px;
}

.category-search-box input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  color: #D4AF37;
  font-size: 14px;
  outline: none;
}

.category-search-box input::placeholder {
  color: #777;
}

.category-search-box input:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 8px rgba(212,175,55,0.3);
}


/* ✅ جعبه جستجو */
.category-search-box {
  margin-bottom: 15px;
}

#brandSearch {
  width: 100%;
  padding: 10px 15px;
  border-radius: 10px;
  border: 2px solid #D4AF37;
  font-size: 14px;
  font-family: 'Vazirmatn', sans-serif;
  background: #0a0a0a;
  color: #D4AF37 !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

#brandSearch:focus {
  outline: none;
  border-color: #f4d03f;
  box-shadow: 0 2px 15px rgba(212, 175, 55, 0.4);
}

#brandSearch::placeholder {
  color: rgba(212, 175, 55, 0.6) !important;
}

/* ✅ دسته‌بندی کشویی */
.brand-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.parent-category {
  margin-bottom: 8px;
  position: relative;
}

.parent-category > a {
  display: block;
  color: #D4AF37 !important;
  text-decoration: none;
  padding: 12px 15px 12px 35px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.1);
  font-size: 15px;
}

.toggle-btn {
  position: absolute;
  right: 10px;
  top: 12px;
  cursor: pointer;
  color: #D4AF37;
  font-size: 12px;
  transition: transform 0.3s ease;
  user-select: none;
  z-index: 10;
}

.toggle-btn.active {
  transform: rotate(-180deg);
}

.parent-category > a:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateX(-5px);
  border-right: 3px solid #D4AF37;
}


/* دسته مادر */
.parent-category {
  margin-bottom: 8px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.parent-category .category-item > a {
  display: block;
  color: #D4AF37 !important;
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.1);
  font-size: 15px;
  flex: 1;
}

.toggle-btn {
  cursor: pointer;
  color: #D4AF37;
  font-size: 14px;
  transition: transform 0.3s ease;
  user-select: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.toggle-btn:hover {
  background: rgba(212, 175, 55, 0.35);
}

.toggle-btn.active {
  transform: rotate(-180deg);
}

.parent-category .category-item > a:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateX(-5px);
  border-right: 3px solid #D4AF37;
}

/* زیردسته‌ها */
.sub-categories {
  list-style: none;
  margin: 5px 0 0 0;
  padding: 0 0 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.sub-categories.open {
  max-height: 2000px;
}

.child-category {
  margin-bottom: 5px;
}

.child-category .category-item > a {
  display: block;
  color: #D4AF37 !important;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  background: rgba(212, 175, 55, 0.05);
  font-size: 14px;
  flex: 1;
}

.child-category .toggle-btn {
  width: 25px;
  height: 25px;
  font-size: 12px;
}

.child-category .category-item > a:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: translateX(-3px);
  border-right: 2px solid #D4AF37;
}

/* سطح سوم */
.level-3 {
  padding-right: 15px;
}

.level-3 li a {
  display: block;
  color: rgba(212, 175, 55, 0.9) !important;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 400;
  background: rgba(212, 175, 55, 0.03);
  font-size: 13px;
  margin-bottom: 3px;
}

.level-3 li a:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #D4AF37 !important;
  transform: translateX(-2px);
}


.single-business {
  background: radial-gradient(circle at top, #1a1a1a, #050505);
  color: #d4af37;
}

.single-business p,
.single-business li {
  color: #e1c873;
  line-height: 2;
  font-size: 15px;
}
.single-business h1,
.single-business h2,
.single-business h3 {
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 16px;
}
.single-business .brand-logo img,
.single-business .post-thumbnail img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 24px;
  border: 3px solid #d4af37;
  background: #000;
}
.single-business .entry-header,
.single-business .entry-content {
  text-align: center;
}
.single-business .entry-content {
  background: rgba(0,0,0,0.45);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(212,175,55,0.08);
}

/* ✅ FIX FINAL — single brand spacing */
.single-brand {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.single-brand .content {
  max-width: 950px;
  margin: 0 auto;
  padding: 56px 64px;
  background: rgba(0,0,0,0.5);
  border-radius: 20px;
}

.single-brand .content p {
  margin-bottom: 22px;
  line-height: 2.1;
  font-size: 15.5px;
  color: #e7c97b;
}
.single-brand h1 {
  margin-bottom: 32px;
  color: #d4af37;
}

.single-brand .content h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  color: #d4af37;
}
.single-brand > img {
  display: block;
  margin: 24px auto 32px;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #d4af37;
}
@media (max-width: 768px) {
  .single-brand .content {
    padding: 32px 22px;
  }
}
.single-brand > h1 {
  text-align: center;
  margin-bottom: 24px;
  color: #d4af37;
  font-size: 26px;
  font-weight: 700;
}
/* متن اصلی – چشم‌نواز و لوکس */
.single-brand .content p {
  color: #E6E6E6; /* خاکستری گرم */
}

/* عنوان‌ها – طلایی تأکیدی */
.single-brand h1,
.single-brand .content h2,
.single-brand .content h3 {
  color: #D4AF37;
}

.single-brand {
  background-color: #E6E6E6;
}
/* Black content box */
.single-brand .content {
  background: #0b0b0b; /* مشکی عمیق، لوکس */
  color: #e6e6e6;
}
.single-brand .content {
  text-align: right;
  direction: rtl;
}

.single-brand .content p {
  text-align: justify;
  text-justify: inter-word;
}
.single-brand .content h1,
.single-brand .content h2,
.single-brand .content h3,
.single-brand .content h4 {
  text-align: center;
  text-justify: inter-word;
}
.single-brand .content p:last-child {
  margin-bottom: 0;
}
.single-brand .content a,
.single-brand .content a:visited {
  color: #d4af37; /* طلایی لوکس */
  text-decoration: none;
}
.bb-business-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 24px;
  flex-wrap: wrap;
}

.bb-filter {
  border: 1px solid #d4af37;
  background: transparent;
  color: #d4af37;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.2s;
}

.bb-filter.active,
.bb-filter:hover {
  background: #d4af37;
  color: #000;
}

/* مخفی کردن نوار عنوان دسته‌بندی */
.categories-title,
.categories-header,
.archive-categories-title,
.business-categories-title {
    display: none !important;
}

/* اگر یک سکشن کامل زرد هست */
.categories-wrapper::before,
.categories-wrapper::after {
    display: none !important;
}

/* حذف عنوان "دسته‌بندی‌ها" */
.brand-sidebar h3 {
    display: none !important;
}

/* حذف کامل کادر بخش دسته‌بندی */
.brand-sidebar {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* فقط داخل پنل مدیریت فرانت‌اند */
.brand-panel-posts li {
    color: #ffffff !important;   /* عنوان پست */
}

/* لینک ویرایش */
.brand-panel-posts li a {
    color: #D4AF37 !important;  /* طلایی */
    font-weight: 600;
}

.single-post {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px;
}

.single-post p {
  line-height: 2;
}

.single-post .post-thumbnail,
.single-post figure {
  display: flex;
  justify-content: center;
}

.single-post .post-thumbnail img,
.single-post figure img,
.single-post .wp-post-image {
  display: block;
  margin: 0 auto;
}

/* متن محتوا سفید */
.single-post .post-content,
.single-post .post-content p,
.single-post .post-content li,
.single-post .post-content span,
.single-post .post-content strong {
  color: #ffffff;
}

/* بازگرداندن هویت Heading ها */
.single-post h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
}

.single-post h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 14px;
}

.single-post h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 26px 0 12px;
}

/* رنگ طلایی حفظ شود */
.single-post h1,
.single-post h2,
.single-post h3,
.single-post h4,
.single-post h5,
.single-post h6 {
  color: #d4af37 !important;
}

.brand-contacts {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.brand-contacts a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

/* دکمه تماس */
.contact-phone {
    background: #111;
    color: #fff;
}

/* دکمه واتساپ */
.contact-whatsapp {
    background: #D4AF37;
    color: #000;
}

.brand-contacts a:hover {
    opacity: 0.85;
}

.bb-business-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.bb-filter {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #f5c542;
  background: transparent;
  color: #f5c542;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.bb-filter:hover,
.bb-filter.active {
  background: #f5c542;
  color: #000;
}


/* کانتینر فرم */
.brand-form-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* خود فرم */
.brand-form {
    width: 100%;
    max-width: 700px;
    background: #000;
    border: 2px solid #d4af37; /* طلایی */
    padding: 30px;
    border-radius: 12px;
    font-family: Tahoma, sans-serif;
    box-sizing: border-box;
}

/* فیلدها */
.brand-form input,
.brand-form textarea {
    width: 100%;
    margin-bottom: 18px;
    padding: 12px 14px;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    color: #000;
    border: 1px solid #d4af37;
    border-radius: 8px;
    box-sizing: border-box;
}

/* متن placeholder */
.brand-form input::placeholder,
.brand-form textarea::placeholder {
    color: #777;
    font-size: 14px;
}

/* فایل آپلود */
.brand-form input[type="file"] {
    background: #fff;
    padding: 10px;
}

/* دکمه ارسال */
.brand-form button {
    width: 100%;
    padding: 14px;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
    background: #000;
    color: #d4af37; /* طلایی */
    border: 2px solid #d4af37;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* هاور دکمه */
.brand-form button:hover {
    background: #d4af37;
    color: #000;
}

/* پیام موفقیت */
.brand-success {
    margin-top: 15px;
    text-align: center;
    color: #d4af37;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
}
body {
    direction: rtl;
}

/* والد اصلی */
.brand-form-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* فرم */
.brand-form {
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
}


.file-upload {
    border: 2px dashed #d4af37;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    background: #000;
}

.file-upload label {
    color: #d4af37;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    cursor: pointer;
    display: block;
}

.file-upload label span {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
}

/* مخفی شدن input اصلی */
.file-upload input[type="file"] {
    display: none;
}

/* هاور */
.file-upload:hover {
    background: #0f0f0f;
    border-color: #ffd700;
}


/* ✅ استایل یکسان input و select */
.brand-form input[type="text"],
.brand-form textarea,
.brand-form select {
    width: 100%;
    height: 50px;
    background: #fff;
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 0 15px;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
}

/* textarea ارتفاع متفاوت */
.brand-form textarea {
    height: 90px;
    padding: 10px 15px;
    resize: none;
}

/* ✅ حذف فلش پیش‌فرض select */
.brand-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    cursor: pointer;
}

/* ✅ فلش سفارشی select */
.brand-form select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23999' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7l4.5 5 4.5-5z'/></svg>");
    background-repeat: no-repeat;
    backgroun-position: left 15px center;
    padding-left: 40px;
}

/* ✅ placeholder */
.brand-form input::placeholder,
.brand-form textarea::placeholder {
    color: #999;
}

/* ✅ فاصله آیتم‌ها */
.brand-form > * {
    margin-bottom: 15px;
}


/* ✅ سنتر کامل صفحه */
.login-panel-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d0d;
}

/* ✅ فرم لاگین */
.login-panel-form {
    width: 100%;
    max-width: 380px;
    background: #000;
    padding: 30px;
    border: 1px solid #d4af37;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: Tahoma, sans-serif;
}

/* ✅ input ها */
.login-panel-form input {
    width: 100%;
    height: 50px;
    margin-bottom: 15px;
    padding: 0 15px;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #d4af37;
    background: #111;
    color: #fff;
    box-sizing: border-box;
}

.login-panel-form input::placeholder {
    color: #bbb;
}

.login-panel-form button {
    color: #d4af37 !important;          /* متن طلایی */
    border: 2px solid #d4af37 !important; /* کادر طلایی */
    background: transparent !important;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    cursor: pointer;
}

.login-panel-form button:hover {
    background: #d4af37 !important;
    color: #000 !important;
}

.bb-logout-btn {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 14px;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
}

.bb-logout-btn:hover {
    background: #d4af37;
    color: #000;
}

.bb-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bb-btn:hover {
    background: #d4af37;
    color: #000;
}

.bb-page-views {
    margin-top: 25px;
    padding-top: 10px;
    border-top: 1px dashed #d4af37;
    text-align: center;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    color: #d4af37;
}


