/* Narda Medya Script Satış — marketplace polish */
:root {
  --nm-orange: #f97316;
  --nm-orange-hover: #ea580c;
}

/* Product cards + detail — full image visible */
.item-img {
  height: auto !important;
  min-height: 240px !important;
  aspect-ratio: 1 / 1.05 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8f9fa !important;
  overflow: hidden !important;
  padding: 12px !important;
}
.item-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
.item-single-img {
  background: #f8f9fa !important;
  padding: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 360px !important;
}
.item-single-img img {
  width: 100% !important;
  max-height: 560px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Extra thumbnail selectors */
.item-preview img,
.item-card img,
.item-box .item-img img,
.card-item img,
.products-item img,
.home-category-item img,
.categories-item img,
.swiper-slide img.item-image,
img.item-thumbnail,
.item .thumbnail img,
.item-cover img {
  object-fit: contain !important;
  background: #fff;
}

/* Soft product cards (softinays-like) */
.item,
.item-box,
.products-item,
.card-item {
  border-radius: 5px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden;
  background: #fff;
}


/* Modern marketplace hero */
.nm-hero.header-home-modern {
  position: relative;
  overflow: hidden;
  background: #fff !important;
  background-image: none !important;
  min-height: 420px !important;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.nm-hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(249, 115, 22, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 50% at 90% 10%, rgba(251, 146, 60, 0.10), transparent 50%),
    radial-gradient(ellipse 50% 45% at 70% 90%, rgba(254, 215, 170, 0.35), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fff7ed 42%, #ffffff 100%);
  z-index: 0;
}
.nm-hero .container,
.nm-hero-inner {
  position: relative;
  z-index: 1;
}
.nm-hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c2410c;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.nm-hero-title {
  color: #0f172a !important;
  text-shadow: none !important;
  font-weight: 750 !important;
  font-size: clamp(1.75rem, 4vw, 2.65rem) !important;
  line-height: 1.2 !important;
  margin-bottom: 0.85rem !important;
}
.nm-hero-lede {
  color: #64748b !important;
  text-shadow: none !important;
  font-size: 1.1rem !important;
  max-width: 32rem;
  margin: 0 auto 1.75rem !important;
}
.nm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.nm-hero-cta {
  min-width: 11rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.28);
}
.nm-hero-wa {
  min-width: 9rem;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  background: #fff !important;
}
.nm-hero-wa:hover {
  border-color: #94a3b8 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
}

.nm-hero.header-home-modern {
  min-height: 460px !important;
  padding: 5rem 0 4rem;
}
.nm-hero-mesh {
  background:
    radial-gradient(ellipse 75% 65% at 12% 18%, rgba(249, 115, 22, 0.16), transparent 58%),
    radial-gradient(ellipse 60% 55% at 88% 8%, rgba(14, 165, 233, 0.08), transparent 52%),
    radial-gradient(ellipse 55% 50% at 72% 92%, rgba(254, 215, 170, 0.40), transparent 55%),
    radial-gradient(ellipse 40% 35% at 40% 60%, rgba(251, 146, 60, 0.06), transparent 60%),
    linear-gradient(165deg, #ffffff 0%, #fff7ed 38%, #ffffff 100%) !important;
}
.nm-hero-badge {
  backdrop-filter: blur(6px);
}
.nm-hero-sublinks {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: #94a3b8;
}
.nm-hero-sublinks a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nm-hero-sublinks a:hover {
  color: #ea580c;
  border-bottom-color: rgba(234, 88, 12, 0.35);
}
@media (max-width: 575.98px) {
  .nm-hero.header-home-modern {
    min-height: 0 !important;
    padding: 3.25rem 0 2.75rem;
  }
  .nm-hero-actions {
    flex-direction: column;
  }
  .nm-hero-cta, .nm-hero-wa {
    width: 100%;
  }
}

.header.header-image.header-height {
  background-color: #fff !important;
  background-image: linear-gradient(180deg, #fff 0%, #fff7ed 45%, #ffffff 100%) !important;
  min-height: 380px !important;
}
.header.header-image.header-height::before {
  background: transparent !important;
  opacity: 0 !important;
}
.header-title.header-title-home,
.header-text {
  color: #1e293b !important;
  text-shadow: none !important;
}
.header-text {
  color: #64748b !important;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Soft orange primary buttons */
.btn-primary,
.button-primary,
a.btn.btn-primary {
  background-color: #f97316 !important;
  border-color: #f97316 !important;
}
.btn-primary:hover,
.button-primary:hover {
  background-color: #ea580c !important;
  border-color: #ea580c !important;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.whatsapp-float i {
  color: #fff;
  font-size: 28px;
}
