/* ============================================================
   صفحه اختصاصی پروفایل فروشگاه — /s/{username}/profile
   تمام استایل‌های این صفحه در همین فایل است.
   ============================================================ */

.sp-profile {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ——— هویت: عکس + آمار + نام + توضیح ——— */
.sp-identity {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 4px 4px;
}

.sp-identity-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sp-avatar {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px rgba(15, 23, 42, 0.08), 0 6px 18px rgba(15, 23, 42, 0.06);
}

.sp-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary, #0f766e);
  background: var(--primary-soft, #ecfdf5);
}

.sp-stats {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  min-width: 0;
}

.sp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: inherit;
  min-width: 64px;
  padding: 6px 8px;
  border-radius: 12px;
  transition: background .15s;
}

.sp-stat:hover {
  background: rgba(15, 23, 42, 0.04);
}

.sp-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text, #0f172a);
  font-variant-numeric: tabular-nums;
}

.sp-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.sp-identity-text {
  min-width: 0;
  padding-top: 2px;
}

.sp-name {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text, #0f172a);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sp-verified {
  display: inline-flex;
  color: #0ea5e9;
  line-height: 0;
}

.sp-bio-wrap {
  margin: 0;
}

.sp-bio.store-description-content {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #64748b;
}

/* حالت جمع‌شده: حدود ۳ خط */
.sp-bio-wrap.is-collapsed .sp-bio.store-description-content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-bio-wrap:not(.is-collapsed) .sp-bio.store-description-content {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.sp-desc-toggle.store-desc-toggle {
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary, #0f766e);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.sp-desc-toggle.store-desc-toggle:hover {
  text-decoration: underline;
}

.sp-desc-toggle.store-desc-toggle[hidden] {
  display: none !important;
}

/* ——— هایلایت‌ها داخل پروفایل ——— */
.sp-profile .hl-row-section {
  margin: 0;
  padding: 0;
}

.sp-profile .hl-row {
  padding: 4px 2px 8px;
  gap: 14px;
}

/* ——— اسلایدر ——— */
.sp-slider-wrap {
  margin: 0 -16px;
  border-radius: 0;
  overflow: hidden;
}

.sp-slider-wrap .home-slider {
  margin-bottom: 0 !important;
}

@media (min-width: 761px) {
  .sp-slider-wrap {
    margin: 0;
    border-radius: 14px;
  }
}

/* ——— دکمه‌های اصلی: محصولات / مقالات ——— */
.sp-primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.sp-btn-ic {
  display: inline-flex;
  line-height: 0;
}

.sp-btn-primary {
  background: var(--primary, #0f766e);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.22);
}

.sp-btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.sp-btn-secondary {
  background: #fff;
  color: var(--text, #0f172a);
  border: 1.5px solid #e2e8f0;
}

.sp-btn-secondary:hover {
  border-color: var(--primary, #0f766e);
  color: var(--primary, #0f766e);
  background: var(--primary-soft, #f0fdfa);
}

/* ——— شبکه امکانات ——— */
.sp-tools {
  margin-top: 2px;
}

.sp-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 520px) {
  .sp-tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sp-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 14px 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2f7;
  text-decoration: none;
  color: var(--text, #0f172a);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.sp-tool:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.sp-tool-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--profile-icon-bg, var(--primary-soft, #ecfdf5));
  color: var(--profile-icon, var(--primary, #0f766e));
}

.sp-stats .sp-stat:nth-child(1) {
  background: var(--profile-products-tab-bg, transparent);
  color: var(--profile-products-tab-text, inherit);
  border-radius: 12px;
}
.sp-stats .sp-stat:nth-child(1) .sp-stat-num,
.sp-stats .sp-stat:nth-child(1) .sp-stat-label {
  color: var(--profile-products-tab-text, inherit);
}
.sp-stats .sp-stat:nth-child(2) {
  background: var(--profile-articles-tab-bg, transparent);
  color: var(--profile-articles-tab-text, inherit);
  border-radius: 12px;
}
.sp-stats .sp-stat:nth-child(2) .sp-stat-num,
.sp-stats .sp-stat:nth-child(2) .sp-stat-label {
  color: var(--profile-articles-tab-text, inherit);
}

.sp-tool-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ——— موبایل فشرده‌تر ——— */
@media (max-width: 480px) {
  .sp-profile {
    padding: 6px 14px 24px;
    gap: 14px;
  }

  .sp-avatar {
    width: 72px;
    height: 72px;
  }

  .sp-name {
    font-size: 1.08rem;
  }

  .sp-btn {
    min-height: 46px;
    font-size: 0.9rem;
  }

  .sp-tool {
    min-height: 86px;
  }
}

/* ——— صفحه پروفایل: هدر و فوتر در موبایل ——— */
@media (max-width: 760px) {
  body.sp-profile-page .topbar-search,
  body.sp-profile-page .topbar-cart {
    display: none !important;
  }

  body.sp-profile-page .site-footer {
    display: none !important;
  }

  /* بنر فوتر هم در موبایل پروفایل مخفی */
  body.sp-profile-page .banner-slot.banner-footer {
    display: none !important;
  }
}

/* ——— متا: نام خانوادگی مالک + تولد ایبک ——— */
.sp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 10px;
}

.sp-meta-item {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sp-meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.sp-meta-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text, #0f172a);
  line-height: 1.35;
}

/* اسلایدر/بنر پروفایل — بدون زوم و کراپ (هم‌راستا با فرانت) */
body.sp-profile-page .sp-slider-wrap {
  overflow: visible;
}
body.sp-profile-page .home-slider-track {
  max-height: none !important;
  aspect-ratio: auto !important;
  height: auto !important;
}
body.sp-profile-page .home-slide img,
body.sp-profile-page .home-slide a img,
body.sp-profile-page .banner-slot img,
body.sp-profile-page .banner-slot a img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* ——— تماس: آدرس، تلفن، شبکه‌های اجتماعی ——— */
.sp-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2f7;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.sp-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sp-contact-ic {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft, #ecfdf5);
  color: var(--primary, #0f766e);
}

.sp-contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 2px;
}

.sp-contact-value {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text, #0f172a);
}

.sp-phone-link {
  color: var(--primary, #0f766e);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sp-phone-link:hover {
  text-decoration: underline;
}

.sp-contact-socials {
  width: 100%;
  margin: 0;
  padding: 0;
}

.sp-socials {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}
.sp-socials::-webkit-scrollbar {
  display: none;
}

.sp-social-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary-soft, #f0fdfa);
  border: 1px solid rgba(15, 118, 110, 0.18);
  color: var(--primary, #0f766e);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.sp-social-chip:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ========== پروفایل تجاری — مدرن / مینیمال ========== */
body.cp-profile-body {
  background: #f6f7f9 !important;
}
body.cp-profile-body .store-footer,
body.cp-profile-body .bottom-nav,
body.cp-profile-body footer.store-footer,
body.cp-profile-body .home-highlights,
body.cp-profile-body .home-slider,
body.cp-profile-body .hslider,
body.cp-profile-body .sp-primary-actions,
body.cp-profile-body .sp-tools {
  display: none !important;
}

.cp-profile-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 16px 48px;
  font-family: inherit;
  color: #0f172a;
}

/* ردیف ۱ */
.cp-row-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 4px;
}
.cp-row-1 .sp-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15,23,42,.1);
  border: 3px solid #fff;
  background: #e2e8f0;
}
.cp-row-1 .sp-avatar img,
.cp-row-1 .sp-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cp-row-1 .sp-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg,#64748b,#94a3b8);
  color: #fff;
}
.cp-row-1 .sp-stats {
  display: flex;
  gap: 20px;
  margin: 0;
}
.cp-row-1 .sp-stat {
  text-align: center;
  text-decoration: none;
  color: inherit;
  min-width: 56px;
}
.cp-row-1 .sp-stat-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.cp-row-1 .sp-stat-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* ردیف‌ها */
.cp-row {
  margin-top: 20px;
}
.cp-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 4px 0 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cp-row-owner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}
.cp-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}
.cp-owner-name {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}
.cp-about-text {
  font-size: 14px;
  line-height: 1.85;
  color: #475569;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid #eef0f3;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
}
.cp-sec-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0f172a;
  letter-spacing: 0.01em;
}

/* اسکرول افقی یک‌خطی */
.cp-hscroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 12px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.cp-hscroll::-webkit-scrollbar {
  height: 4px;
}
.cp-hscroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cp-card {
  flex: 0 0 auto;
  width: 112px;
  scroll-snap-align: start;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  background: #fff;
  padding: 10px 8px 12px;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cp-card:hover,
.cp-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,23,42,.1);
  border-color: #d0d5dd;
  outline: none;
}
.cp-card:active {
  transform: translateY(0);
}
.cp-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #f1f5f9;
}
.cp-licenses .cp-card img,
.cp-customers .cp-card img {
  width: 96px;
  height: 72px;
  border-radius: 10px;
}
.cp-card-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
  max-width: 100%;
  color: #1e293b;
}
.cp-card-sub {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
}
.cp-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: #f1f5f9;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 12px;
}

/* بنرها */
.cp-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cp-banner {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #e5e7eb;
  border: 1px solid #eef0f3;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: opacity .15s;
}
.cp-banner:hover { opacity: .92; }
.cp-banner img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 6;
}

/* دکمه‌های اکشن */
.cp-row-actions {
  margin-top: 28px;
  padding-top: 8px;
}
.cp-actions-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.3;
}
.cp-btn:active { transform: scale(.98); }
.cp-btn-catalog {
  background: #0f172a;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(15,23,42,.25);
}
.cp-btn-catalog:hover {
  background: #1e293b;
  box-shadow: 0 6px 18px rgba(15,23,42,.3);
}
.cp-btn-site {
  background: #fff;
  color: #0f172a !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.cp-btn-site:hover {
  border-color: #cbd5e1 !important;
  background: #f8fafc;
}
.cp-btn.is-disabled {
  opacity: .4;
  pointer-events: none;
  box-shadow: none;
}
.cp-member {
  margin: 12px 0 0;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  font-weight: 500;
}

/* ارتباط با ما */
.cp-row-contact {
  margin-top: 28px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px;
  border: 1px solid #eef0f3;
  box-shadow: 0 1px 3px rgba(15,23,42,.03);
}
.cp-contact-block {
  margin-bottom: 14px;
}
.cp-contact-block:last-child { margin-bottom: 0; }
.cp-contact-val {
  margin: 4px 0 0;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.65;
}
.cp-contact-val a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.cp-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.cp-social-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  color: #0f172a !important;
  transition: background .15s;
}
.cp-social-chip:hover { background: #e2e8f0; }

/* مدال */
.cp-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}
.cp-modal[hidden],
.cp-modal.is-closed {
  display: none !important;
}
.cp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cp-modal-dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 24px 20px 22px;
  box-shadow: 0 24px 48px rgba(0,0,0,.22);
  animation: cpModalIn .2s ease;
}
@keyframes cpModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.cp-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  border: none;
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.cp-modal-close:hover { background: #e2e8f0; }
.cp-modal-media {
  margin-bottom: 14px;
  text-align: center;
}
.cp-modal-media img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 14px;
  background: #f8fafc;
}
.cp-modal-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  padding-left: 28px;
}
.cp-modal-body p {
  margin: 8px 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}
.cp-modal-body a {
  color: #2563eb;
  text-decoration: none;
}
.cp-modal-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 10px !important;
  padding: 12px 20px;
  background: #0f172a;
  color: #fff !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  min-width: 120px;
}
.cp-modal-link:hover { background: #1e293b; }

@media (max-width: 480px) {
  .cp-profile-page { padding: 10px 14px 40px; }
  .cp-row-1 .sp-avatar { width: 76px; height: 76px; }
  .cp-brand-name { font-size: 1.3rem; }
  .cp-actions-btns { grid-template-columns: 1fr; }
  /* در موبایل هم افقی اسکرول بماند */
  .cp-card { width: 104px; }
}

body.cp-profile-bodya a:link,body.cp-profile-body a:visited,body.store-lux-v2 .store-main a:not(.btn):not(.nsb-item):not(.home-bottom-nav-item):not(.product-card a):not(.article-card a):not(.pcard-home a):not(.acard-home a):not(.link-chip):not(.item-tag-chip):not(.htb-item):not(.hqa-item), body.store-lux-v2 .store-content a:not(.btn):not(.nsb-item):not(.home-bottom-nav-item):not(.product-card a):not(.article-card a):not(.pcard-home a):not(.acard-home a):not(.link-chip):not(.item-tag-chip), body.store-lux-v2 .article-body a, body.store-lux-v2 .product-detail-desc a, body.store-lux-v2 .sp-desc a,.sp-stats .sp-stat:nth-child(2) .sp-stat-num, .sp-stats .sp-stat:nth-child(2) .sp-stat-label,h1, h2, h3, h4, h5, h6, .section-title-oneline, .section h2, .section h1, .sp-name, .acard-home-title, .section-head h2{color:#000!important;}
.cp-row{margin-top:unset!important;}
.cp-banner img{border-radius:10px!important;}
body.store-lux-v2 .store-main a:not(.btn):not(.nsb-item):not(.home-bottom-nav-item):not(.product-card a):not(.article-card a):not(.pcard-home a):not(.acard-home a):not(.link-chip):not(.item-tag-chip):not(.htb-item):not(.hqa-item), body.store-lux-v2 .store-content a:not(.btn):not(.nsb-item):not(.home-bottom-nav-item):not(.product-card a):not(.article-card a):not(.pcard-home a):not(.acard-home a):not(.link-chip):not(.item-tag-chip){background:#f6f7f9!important;color:#000!important;border-radius:6px 6px!important;padding:4px 4px!important;}
.cp-actions-btns a{background:#000!important;color:#000!important;border-radius:6px 6px!important;padding:4px 4px!important;}
/* فقط کاتالوگ */
.cp-btn-catalog {
  background: #2563eb;
  color: #fff !important;
  border-radius: 12px;
}

/* فقط نمایش کل سایت */
.cp-btn-site {
  background: #f8fafc;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* هر دو با هم */
.cp-btn {
  min-height: 52px;
  font-size: 15px;
}
/* دکمه‌های پروفایل — اولویت بالا */
.cp-profile-page .cp-actions-btns a.cp-btn.cp-btn-catalog,
.cp-profile-page a.cp-btn-catalog {
  background: #2563eb !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}

.cp-profile-page .cp-actions-btns a.cp-btn.cp-btn-site,
.cp-profile-page a.cp-btn-site {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
}