/* Tasarım 2 şerit: kaynak index.html sınıfları + admin rengi */
.sellzy-home-one-band {
  --band-color: #9ee872;
}

.sellzy-home-one-band-heading {
  background-color: var(--band-color);
  pointer-events: none;
}

.home-one-h-card-inner {
  position: relative;
}

.home-one-h-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-one-h-card-actions {
  position: relative;
  z-index: 2;
}

.sellzy-home-one-band,
.sellzy-home-one-band-body,
.home-one-featured-row {
  max-width: 100%;
  min-width: 0;
}

.sellzy-home-one-band-body {
  background-color: var(--band-color) !important;
  overflow-x: hidden;
}

@media (max-width: 1023px) {
  .home-one-featured-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .home-one-featured-row > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

.sellzy-home-one-band .product-card-1,
.sellzy-home-one-band .sellzy-product-card {
  background-color: #fff !important;
}

.sellzy-home-one-band .slick-slide {
  height: auto;
}

.sellzy-home-one-band .slick-track {
  display: flex !important;
  align-items: stretch;
}

.sellzy-home-one-band .slick-slide > div {
  height: 100%;
}

/* Öne çıkan: Slick rows:3. Şerit / kart flex kuralları 3 kartı tek satıra indirmesin.
   Tasarım 1 .home-one-top-rate-slider sınıflarına dokunulmaz. */
.sellzy-home-one-band .home-one-featured-slider.sellzy-slider.slick-initialized .slick-track {
  display: block !important;
  align-items: initial !important;
}

.sellzy-home-one-band .home-one-featured-slider.sellzy-slider.slick-initialized .slick-list {
  height: auto !important;
}

.sellzy-home-one-band .home-one-featured-slider.sellzy-slider.slick-initialized .slick-slide {
  height: auto !important;
  display: block !important;
  float: left;
  flex-direction: unset !important;
}

.sellzy-home-one-band .home-one-featured-slider.sellzy-slider.slick-initialized .slick-slide > div {
  display: block !important;
  flex: none !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
}

/* Shop by Category: Slick ile aynı sütun ritmi (8 / 4 / 2 / 1). Az öğede Slick rows:2 kartları şişirir. */
.home-one-category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

@media (max-width: 1441px) {
  .home-one-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 769px) {
  .home-one-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .home-one-category-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home-one-category-slider .border.rounded-2xl,
.home-one-category-grid .border.rounded-2xl {
  overflow: hidden;
  background: #fff;
}

.home-one-category-slider img.rounded-2xl,
.home-one-category-grid img.rounded-2xl {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-one-featured-col,
.home-one-h-pager,
.home-one-h-viewport {
  min-width: 0 !important;
  max-width: 100%;
  overflow-x: hidden;
}

.home-one-featured-col,
.home-one-h-pager {
  width: 100%;
}

.home-one-h-viewport {
  overflow-x: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
}

.home-one-h-viewport:active {
  cursor: grabbing;
}

.home-one-h-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.home-one-h-page {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.home-one-promo-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.home-one-promo-img {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-one-promo-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .home-one-promo-card {
    padding: 0;
  }

  .home-one-promo-img {
    margin-bottom: 0;
  }

  .home-one-promo-img img {
    max-width: 100%;
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .home-one-promo-card__text {
    padding: 1.25rem 1.25rem 1.75rem;
  }
}

@media (min-width: 1280px) {
  .home-one-promo-img img {
    max-height: 361px;
    object-fit: cover;
  }
}

.home-one-h-thumb {
  width: 8rem;
  height: 8rem;
  flex: 0 0 8rem;
  background: #fff;
  overflow: hidden;
}

.home-one-h-thumb picture,
.home-one-h-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 767px) {
  .home-one-h-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex-basis: auto;
  }
}

@media (width >= 64rem) {
  .sellzy-home-one-band-heading {
    background-color: #fff;
    min-height: 103px;
  }

  .sellzy-home-one-band-heading::before,
  .sellzy-home-one-band-heading::after {
    --tw-content: "";
    content: "" !important;
    background-color: var(--band-color) !important;
    background-repeat: no-repeat;
  }

  .sellzy-home-one-band-heading::before {
    background-image: url("../images/slider-left-shape.png");
  }

  .sellzy-home-one-band-heading::after {
    background-image: url("../images/slider-right-shape.png");
  }
}

/* Kampanya şeritleri + tanıtım bannerları: görsel kutuya sığsın */
.home-one-cta-card,
.home-one-banner-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.home-one-cta-card__text,
.home-one-cta-card__media,
.home-one-banner-card__text,
.home-one-banner-card__media {
  min-width: 0;
  max-width: 100%;
}

.home-one-cta-card__media img,
.home-one-banner-card__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.home-one-cta-card .btn,
.home-one-banner-card .btn,
.home-one-promo-card .btn {
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 1023px) {
  .home-one-cta-card,
  .home-one-banner-card {
    padding: 0;
  }

  .home-one-cta-card__media,
  .home-one-banner-card__media {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .home-one-cta-card__media img,
  .home-one-banner-card__media img {
    width: 100%;
    max-height: none;
    border-radius: 1rem 1rem 0 0;
  }

  .home-one-cta-card__text,
  .home-one-banner-card__text {
    padding: 1.25rem 1.25rem 1.5rem;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .home-one-cta-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
  }

  .home-one-cta-card__text {
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
    margin-bottom: 0;
  }

  .home-one-cta-card__media {
    flex: 0 1 10rem;
    width: 100%;
    max-width: 10rem;
    order: 2;
    padding-bottom: 0;
  }
}

/* Tasarım 2 — admin satır adedi (tüm ızgara bölümleri) */
.home-one-responsive-grid,
.home-one-indirimli-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(var(--ho-cols-mobil, 1), minmax(0, 1fr));
}

@media (min-width: 768px) {
  .home-one-responsive-grid,
  .home-one-indirimli-grid {
    grid-template-columns: repeat(var(--ho-cols-tablet, 2), minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-one-responsive-grid,
  .home-one-indirimli-grid {
    grid-template-columns: repeat(var(--ho-cols-laptop, 3), minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .home-one-responsive-grid,
  .home-one-indirimli-grid {
    grid-template-columns: repeat(var(--ho-cols-desktop, 6), minmax(0, 1fr));
  }
}

.home-one-category-grid.home-one-responsive-grid {
  display: grid;
  gap: 0;
}

/* Öne çıkan: kartlarda zaten p-3 var; ekstra ızgara boşluğu orijinal dikey listeyi bozar */
.home-one-one-cikan-grid {
  gap: 0;
  min-width: 0;
  width: 100%;
}

.home-one-one-cikan-grid > *,
.home-one-h-card,
.home-one-h-card-inner,
.home-one-h-card-body,
.home-one-h-card-meta,
.home-one-h-card-actions {
  min-width: 0;
  max-width: 100%;
}

/* Mobilde 2+ sütun: yatay kart yarı genişliğe sığmıyor, kompakt dikey kart */
@media (max-width: 767px) {
  .home-one-one-cikan-grid--multi-mobile {
    gap: 0.5rem;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card {
    padding: 0;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-thumb {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    max-height: 140px;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto !important;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-body {
    gap: 0.5rem;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-title {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-meta > div {
    gap: 0.35rem;
  }

  .home-one-one-cikan-grid--multi-mobile .rating-section {
    display: none;
  }

  .home-one-one-cikan-grid--multi-mobile .price-section {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }

  .home-one-one-cikan-grid--multi-mobile .current-price {
    font-size: 14px;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-actions,
  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-actions form,
  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-actions > div {
    width: 100%;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-actions .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 0.4rem 0.45rem;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
    overflow: hidden;
  }

  .home-one-one-cikan-grid--multi-mobile .home-one-h-card-actions .btn i {
    display: none;
  }
}
