/* Qadat Al-Senaa Al-Haditha — layout refresh */

.hero-section--split,
.hero-section--cinema {
  display: none !important;
}

.hero-section--stage {
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 90, 42, 0.12), transparent 42%),
    linear-gradient(180deg, #f7f8fa 0%, #eceff3 100%);
  padding: 36px 0 48px;
  overflow: hidden;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: 32px;
  align-items: stretch;
  min-height: min(76vh, 660px);
}

.hero-stage__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 8px 8px 0;
}

.hero-section--stage .hero-brand {
  color: var(--navy);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  text-shadow: none;
}

.hero-section--stage .hero-subtitle {
  max-width: 38ch;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.hero-section--stage .hero-actions {
  margin-bottom: 28px;
}

.btn-hero-outline--dark {
  border-color: rgba(45, 50, 56, 0.28);
  color: var(--navy) !important;
  border-radius: 999px;
  background: #fff;
}

.btn-hero-outline--dark:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
}

.hero-dots {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.hero-dot {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  text-align: start;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, padding 0.2s ease;
}

.hero-dot__num {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.hero-dot__title {
  font-size: 14px;
  font-weight: 700;
}

.hero-dot:hover,
.hero-dot.is-active {
  color: var(--navy);
  background: linear-gradient(90deg, rgba(184, 90, 42, 0.1), transparent);
}

[dir="ltr"] .hero-dot:hover,
[dir="ltr"] .hero-dot.is-active {
  background: linear-gradient(270deg, rgba(184, 90, 42, 0.1), transparent);
}

.hero-dot.is-active {
  padding-inline-start: 14px;
}

.hero-stage__frame {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--navy-2);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(26, 29, 33, 0.22);
}

.hero-section--stage .heroSwiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-section--stage .swiper-wrapper {
  height: 100%;
}

.hero-section--stage .swiper-slide {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.85s ease, visibility 0.85s ease;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: none !important;
}

.hero-section--stage .swiper-slide-active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1;
  pointer-events: auto;
}

.hero-section--stage .hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}

.hero-section--stage .swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

.hero-stage__bar {
  position: absolute;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(14, 16, 18, 0.72);
  backdrop-filter: blur(12px);
  color: #fff;
}

.hero-section--stage .hero-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-section--stage .hero-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-section--stage .hero-active-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  min-width: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.hero-section--stage .hero-active-label__prefix {
  opacity: 0.65;
  letter-spacing: 0.08em;
}

.hero-section--stage .hero-active-title {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-section--stage .hero-count {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.hero-section--stage .hero-progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.hero-section--stage .hero-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: right center;
  transform: scaleX(0);
}

[dir="ltr"] .hero-section--stage .hero-progress span {
  transform-origin: left center;
}

/* Home product catalog cards */
.product-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-catalog__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--ink);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-catalog__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  color: var(--ink);
}

.product-catalog__media {
  position: relative;
  display: block;
  height: 220px;
  background: var(--navy);
  overflow: hidden;
}

.product-catalog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}

.product-catalog__card:hover .product-catalog__media img {
  transform: scale(1.07);
}

.product-catalog__badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(26, 29, 33, 0.82);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.product-catalog__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 22px 20px;
  flex: 1;
}

.product-catalog__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-catalog__body h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-catalog__tag {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.product-catalog__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-deep);
}

.product-catalog__card:hover .product-catalog__more {
  color: var(--gold);
}

/* Products page — horizontal rows */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-list__row {
  display: grid;
  grid-template-columns: 56px 220px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-list__row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold);
  color: var(--ink);
}

.product-list__index {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.product-list__media {
  display: block;
  height: 140px;
  overflow: hidden;
  background: var(--navy);
}

.product-list__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.product-list__row:hover .product-list__media img {
  transform: scale(1.06);
}

.product-list__info {
  min-width: 0;
}

.product-list__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.product-list__info h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
}

.product-list__tag {
  margin: 0 0 8px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
}

.product-list__excerpt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  max-width: 56ch;
}

.product-list__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.product-list__row:hover .product-list__cta {
  background: var(--gold);
}

@media (max-width: 1199.98px) {
  .product-catalog {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-list__row {
    grid-template-columns: 48px 180px 1fr;
  }

  .product-list__cta {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-top-h: 0px;
    --header-main-h: 78px;
    --header-h: 78px;
  }

  .header--stacked .header-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-nav {
    display: none !important;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 22px;
  }

  .hero-stage__copy {
    padding: 8px 0 0;
  }

  .hero-dots {
    display: none;
  }

  .hero-stage__frame {
    min-height: 420px;
  }

  .product-list__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-list__index {
    text-align: start;
  }

  .product-list__media {
    height: 200px;
  }

  .product-list__cta {
    grid-column: auto;
  }
}

@media (max-width: 575.98px) {
  .product-catalog {
    grid-template-columns: 1fr;
  }

  .hero-stage__frame {
    min-height: 320px;
    border-radius: 14px;
  }

  .hero-stage__bar {
    inset-inline: 10px;
    bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-section--stage .hero-active-label {
    width: 100%;
    order: -1;
  }
}
