/* ========== Base Wrapper ========== */
.mcc-wrapper {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 15px;
  color: #fff;
}

.mcc-wrapper--pro {
  position: relative;
}

/* عنوان صفحه کالکشن */
.mcc-header-row {
  margin-bottom: 20px;
}

.mcc-page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

/* ========== Scroll Area ========== */
.mcc-scroll-area {
  position: relative;
  display: flex;
  align-items: center;
}

/* اسکرول افقی */
.mcc-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  flex: 1 1 auto;
}

/* مخفی کردن اسکرول‌بار */
.mcc-scroll::-webkit-scrollbar {
  height: 6px;
}
.mcc-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.mcc-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
}

/* ردیف کارت‌ها به صورت افقی */
.mcc-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  scroll-snap-type: x mandatory;
}

/* کارت پایه */
.mcc-card {
  position: relative;
  flex: 0 0 auto;
  width: 140px;
  text-decoration: none;
  color: #fff;
  scroll-snap-align: start;
}

/* پوسته داخلی کارت */
.mcc-card-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

/* تصویر پوستر */
.mcc-card-inner img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

/* عنوان زیر کارت */
.mcc-card-title,
.mcc-card h3 {
  font-size: 14px;
  margin-top: 8px;
  text-align: center;
}

/* افکت hover در دسکتاپ */
@media (hover:hover) {
  .mcc-card-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.45);
  }
}

/* ========== شماره سینمایی Pro ========== */
.mcc-order-cinema {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.mcc-order-cinema--pro {
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #ffcc00, #ff5500);
  padding: 6px 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

.mcc-order-cinema-number {
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.mcc-order-cinema-label {
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 1px;
}

/* اگر سایت RTL است، شماره را سمت راست نشان بده */
html[dir="rtl"] .mcc-order-cinema--pro {
  left: auto;
  right: 8px;
}

/* ========== دکمه‌های ناوبری Pro ========== */
.mcc-nav {
  border: none;
  background: rgba(0,0,0,0.45);
  color: #fff;
  width: 32px;
  height: 80px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 5px;
  transition: background .2s ease, transform .2s ease;
  backdrop-filter: blur(4px);
}

.mcc-nav span {
  font-size: 22px;
  line-height: 1;
}

.mcc-nav:hover {
  background: rgba(0,0,0,0.75);
  transform: translateY(-2px);
}

.mcc-nav[disabled],
.mcc-nav.mcc-nav--disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ========== موبایل (پایه Pro) ========== */
@media (max-width: 767px) {

  .mcc-scroll-area {
    align-items: stretch;
  }

  /* دکمه‌ها کوچکتر روی موبایل */
  .mcc-nav {
    width: 28px;
    height: 70px;
  }

  /* هر کارت ~ 60% عرض صفحه برای استایل سینمایی */
  .mcc-card {
    width: 60vw;
    max-width: 260px;
  }

  .mcc-card-inner img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }

  .mcc-card-title,
  .mcc-card h3 {
    font-size: 13px;
    line-height: 1.4;
  }

  .mcc-page-title {
    font-size: 20px;
  }
}

/* موبایل خیلی کوچک */
@media (max-width: 400px) {
  .mcc-card {
    width: 65vw;
    max-width: 240px;
  }
}

/* ========== تبلت و دسکتاپ ==========
   - همچنان اسکرول افقی را حفظ می‌کنیم (درخواست تو)
   - فقط سایز کارت‌ها را کمی تنظیم می‌کنیم
*/
@media (min-width: 768px) {
  .mcc-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .mcc-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .mcc-card {
    width: 220px;
  }

  .mcc-card-inner img {
    height: 280px;
  }

  .mcc-page-title {
    font-size: 24px;
  }

  .mcc-nav {
    width: 34px;
    height: 90px;
  }
}



/* موبایل و تبلت */
@media (max-width:1024px){

.mcc-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
}

.mcc-grid{
  display:flex;
  flex-wrap:nowrap;
  gap:14px;
}

.mcc-card{
  flex:0 0 auto;
  width:60vw;
  max-width:260px;
}

.mcc-card-inner img{
  width:100%;
  height:auto;
  aspect-ratio:2/3;
  object-fit:cover;
}

}

/* دسکتاپ */
@media (min-width:1025px){

.mcc-scroll{
  overflow:visible;
}

.mcc-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.mcc-card{
  width:100%;
}

.mcc-card-inner img{
  height:320px;
}

}
