/* ===== Product Slider Section ===== */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__wrapper {
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__title {
  color: var(--kombos-gray-900);
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__title--center {
  text-align: center;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__title--right {
  text-align: right;
}

/* Slider wrapper */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider {
  position: relative;
}

/* Scrollable track */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider__track {
  display: flex;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__track::-webkit-scrollbar {
  display: none;
}

/* Card sizing — mobile: 2 columns, desktop: driven by --columns */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider__card {
  flex: 0 0 calc((100% - 1rem) / 2);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Card alignment (editor: Card Alignment) */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider--center .kombos-product-card__body {
  align-items: center;
  text-align: center;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--center .kombos-card-product-price, .cc_amhW5dNJ3P_product_slider .kombos-product-slider--center .kombos-variant-badge__group {
  align-items: center;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--center .kombos-variant-badge__row {
  justify-content: center;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--right .kombos-product-card__body {
  align-items: flex-end;
  text-align: right;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--right .kombos-card-product-price, .cc_amhW5dNJ3P_product_slider .kombos-product-slider--right .kombos-variant-badge__group {
  align-items: flex-end;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--right .kombos-variant-badge__row {
  justify-content: flex-end;
}

/* Grid lines (editor: Show Grid Lines) — flat cells sharing a single border */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__track {
  gap: 0;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__card {
  box-sizing: border-box;
  flex-basis: 50%;
  border: 1px solid var(--grid-line-color, var(--kombos-gray-200));
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__card + .kombos-product-slider__card {
  margin-left: -1px;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-card {
  border-radius: 0;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-card:hover {
  box-shadow: none;
}

/* Navigation arrows */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--kombos-z-dropdown);
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__arrow--left {
  left: 0.5rem;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__arrow--right {
  right: 0.5rem;
}

/* ===== Tablet (>=768px) ===== */
@media (min-width: 768px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__wrapper {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  /* Arrows straddle the slider edge so they never cover card content,
     regardless of the column count */
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__arrow--left {
    left: 0;
    transform: translate(-50%, -50%);
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__arrow--right {
    right: 0;
    transform: translate(50%, -50%);
  }
}

/* ===== Desktop (>=1024px) ===== */
@media (min-width: 1024px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 2rem;
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__track {
    gap: 1.5rem;
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__card {
    flex: 0 0 calc((100% - (var(--columns) - 1) * 1.5rem) / var(--columns));
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__track {
    gap: 0;
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__card {
    flex-basis: calc(100% / var(--columns));
  }
}

/* Current column/row counts per breakpoint */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider__track {
  --cols-now: 2;
  --rows-now: var(--mobile-rows, 1);
  --grid-gap: 1rem;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__track {
  --grid-gap: 0rem;
}

@media (min-width: 768px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__track {
    --rows-now: var(--rows, 1);
  }
}

@media (min-width: 1024px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__track {
    --cols-now: var(--columns);
    --grid-gap: 1.5rem;
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__track {
    --grid-gap: 0rem;
  }
}

/* ===== Layout = Grid: static grid showing columns x rows items (no slider) ===== */
@media (max-width: 767px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider--grid-m .kombos-product-slider__track {
    display: grid;
    grid-template-columns: repeat(var(--cols-now), minmax(0, 1fr));
    grid-template-rows: repeat(var(--rows-now), auto);
    grid-auto-rows: 0;
    column-gap: var(--grid-gap);
    row-gap: 0;
    overflow: hidden;
    margin-bottom: calc(-1 * var(--grid-gap));
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider--grid-m .kombos-product-slider__card {
    margin-bottom: var(--grid-gap);
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider--grid-m .kombos-product-slider__arrow {
    display: none;
  }

  /* Grid lines: outer frame on the track, right/bottom border on each card */
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__slider--grid-m .kombos-product-slider__track {
    border-top: 1px solid var(--grid-line-color, var(--kombos-gray-200));
    border-left: 1px solid var(--grid-line-color, var(--kombos-gray-200));
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__slider--grid-m .kombos-product-slider__card {
    border: 0;
    border-right: 1px solid var(--grid-line-color, var(--kombos-gray-200));
    border-bottom: 1px solid var(--grid-line-color, var(--kombos-gray-200));
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider--grid-d .kombos-product-slider__track {
    display: grid;
    grid-template-columns: repeat(var(--cols-now), minmax(0, 1fr));
    grid-template-rows: repeat(var(--rows-now), auto);
    grid-auto-rows: 0;
    column-gap: var(--grid-gap);
    row-gap: 0;
    overflow: hidden;
    margin-bottom: calc(-1 * var(--grid-gap));
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider--grid-d .kombos-product-slider__card {
    margin-bottom: var(--grid-gap);
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider--grid-d .kombos-product-slider__arrow {
    display: none;
  }

  /* Grid lines: outer frame on the track, right/bottom border on each card */
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__slider--grid-d .kombos-product-slider__track {
    border-top: 1px solid var(--grid-line-color, var(--kombos-gray-200));
    border-left: 1px solid var(--grid-line-color, var(--kombos-gray-200));
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--lines .kombos-product-slider__slider--grid-d .kombos-product-slider__card {
    border: 0;
    border-right: 1px solid var(--grid-line-color, var(--kombos-gray-200));
    border-bottom: 1px solid var(--grid-line-color, var(--kombos-gray-200));
    margin-left: 0;
  }
}

/* Bölüm başlığı: Yazı Stilleri + Tema Ayarları renkleri (utils/siteTypography.ts); bölümün kendi ayarı önce gelir */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider__title {
  color: var(--site-title-color, var(--kombos-gray-900));
}

/* Arrows: square buttons in a row above the cards, top-right, on every screen size - never over text/images */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider:has(.kombos-product-slider__arrow) {
  padding-top: 3.25rem;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__arrow {
  top: 0;
  bottom: auto;
  transform: none;
  padding: 0.625rem;
  border-radius: 6px;
  background: var(--kombos-white);
  box-shadow: none;
  font-size: 1rem;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__arrow--left {
  left: auto;
  right: 3rem;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__arrow--right {
  left: auto;
  right: 0;
}

@media (max-width: 767px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider--grid-m {
    padding-top: 0;
  }
}

@media (min-width: 768px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider__slider--grid-d {
    padding-top: 0;
  }
}

/* ===== Competitor-style layout (editor toggles) ===== */

/* Bölüm Kutusu: the whole section sits in a light framed box */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider--boxed .kombos-product-slider__wrapper {
  width: calc(100% - 2rem);
  max-width: calc(var(--kombos-max-width) - 2rem);
  margin: 1rem auto;
  padding: 1.25rem 1rem;
  border: 1px solid var(--kombos-gray-200);
  border-radius: 12px;
  background: var(--kombos-white);
}

@media (min-width: 1024px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--boxed .kombos-product-slider__wrapper {
    margin: 2rem auto;
    padding: 2rem 2.5rem;
  }
}

/* Başlık Solda + Çizgi: title left with a short accent line, arrows on the same row, right */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__title--accent {
  position: relative;
  margin: 0;
  padding-bottom: 0.75rem;
  text-align: left;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__title--accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 4px;
  border-radius: 2px;
  background: var(--kombos-discount-bg);
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__nav {
  display: flex;
  flex: none;
  gap: 0.5rem;
  margin-left: auto;
}

.cc_amhW5dNJ3P_product_slider .kombos-product-slider__nav-btn {
  padding: 0.625rem;
  border-radius: 6px;
  background: var(--kombos-white);
  box-shadow: none;
  font-size: 1rem;
}

/* Grid layout has no scrolling, so no arrows */
@media (max-width: 767px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider:has(.kombos-product-slider__slider--grid-m) .kombos-product-slider__nav {
    display: none;
  }
}

@media (min-width: 768px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider:has(.kombos-product-slider__slider--grid-d) .kombos-product-slider__nav {
    display: none;
  }
}

/* Kart Çerçevesi: every product in its own framed card */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider--card-border .kombos-product-card {
  height: 100%;
  border: 1px solid var(--kombos-gray-200);
  border-radius: 8px;
  background: var(--kombos-white);
  overflow: hidden;
}

/* Kart Çerçevesi: compact cards like the competitor — the card ends at the price */
/* No empty aroma row: stars sit right under the name when a product has no aroma circles */
.cc_amhW5dNJ3P_product_slider .kombos-product-slider--card-border .card-product-variants:empty {
  display: none;
}

/* No space kept for the hidden hover button; on hover it slides over the bottom of the card */
@media (hover: hover) and (min-width: 1024px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--card-border .kombos-product-card__body:not(:last-child) {
    padding-bottom: 0.875rem;
  }
}

/* Hover (competitor style): the price steps aside and the button takes its exact place */
@media (hover: hover) and (min-width: 1024px) {
  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--card-border .kombos-card-product-price {
    transition: opacity 0.2s ease;
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--card-border .kombos-product-card:hover .kombos-card-product-price, .cc_amhW5dNJ3P_product_slider .kombos-product-slider--card-border .kombos-product-card:focus-within .kombos-card-product-price {
    opacity: 0;
  }

  .cc_amhW5dNJ3P_product_slider .kombos-product-slider--card-border .kombos-product-card__actions {
    bottom: 0.875rem;
  }
}
