
/* ==================================
   IMAGE PREVIEW MODAL
================================== */

.cc_ok7edmmy_product_detail_reviews .kombos-image-preview, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview, .cc_ok7edmmy_product_detail .kombos-image-preview {
  position: fixed;

  inset: 0;

  z-index: 2147483000;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 1.5rem;

  background:
    rgba(
      0,
      0,
      0,
      0.82
    );

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  cursor: zoom-out;

  overscroll-behavior:
    contain;
}


.cc_ok7edmmy_product_detail_reviews .kombos-image-preview--open, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview--open, .cc_ok7edmmy_product_detail .kombos-image-preview--open {
  opacity: 1;

  visibility: visible;
}


/* ==================================
   FOTOĞRAF ALANI
================================== */

.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__stage, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__stage, .cc_ok7edmmy_product_detail .kombos-image-preview__stage {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  max-width: 100%;

  max-height: 100%;

  cursor: default;

  touch-action:
    pan-y;
}


/*
 * DESKTOP:
 *
 * Önceden:
 * max-width: min(90vw, 1400px)
 * max-height: 88vh
 *
 * Şimdi biraz daha kontrollü.
 * Görsel daha az büyütüldüğü için
 * özellikle 1080x1080 ürün
 * fotoğraflarında daha keskin görünür.
 */
.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__img, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__img, .cc_ok7edmmy_product_detail .kombos-image-preview__img {
  display: block;

  max-width:
    min(
      78vw,
      1100px
    );

  max-height:
    78vh;

  width: auto;

  height: auto;

  object-fit:
    contain;

  border-radius:
    6px;

  user-select:
    none;

  -webkit-user-drag:
    none;

  animation:
    kombos-image-preview-image-in
    0.18s
    ease;
}


@keyframes kombos-image-preview-image-in {
  from {
    opacity: 0.35;

    transform:
      scale(
        0.985
      );
  }

  to {
    opacity: 1;

    transform:
      scale(
        1
      );
  }
}


/* ==================================
   KAPAT BUTONU
================================== */

.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__close, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__close, .cc_ok7edmmy_product_detail .kombos-image-preview__close {
  position: fixed;

  top: 1.25rem;

  right: 1.25rem;

  z-index:
    2147483003;

  width: 2.75rem;

  height: 2.75rem;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 0;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.3
    );

  border-radius:
    999px;

  background:
    rgba(
      255,
      255,
      255,
      0.94
    );

  color:
    #111111;

  box-shadow:
    0
    4px
    18px
    rgba(
      0,
      0,
      0,
      0.2
    );

  cursor:
    pointer;

  transition:
    transform 0.18s ease,
    background 0.18s ease;
}


.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__close
  svg, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__close
  svg, .cc_ok7edmmy_product_detail .kombos-image-preview__close
  svg {
  width:
    1.15rem;

  height:
    1.15rem;
}


@media (
  hover: hover
) {
  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview__close:hover, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__close:hover, .cc_ok7edmmy_product_detail .kombos-image-preview__close:hover {
    background:
      #ffffff;

    transform:
      scale(
        1.06
      );
  }
}


/* ==================================
   SAĞ / SOL OKLAR
================================== */

.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__arrow, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__arrow, .cc_ok7edmmy_product_detail .kombos-image-preview__arrow {
  position: fixed !important;

  top: 50% !important;

  z-index:
    2147483002;

  width:
    3.25rem;

  height:
    3.25rem;

  padding:
    0 !important;

  display:
    flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.35
    ) !important;

  background:
    rgba(
      255,
      255,
      255,
      0.92
    ) !important;

  color:
    #111111 !important;

  box-shadow:
    0
    4px
    18px
    rgba(
      0,
      0,
      0,
      0.2
    ) !important;

  transform:
    translateY(
      -50%
    ) !important;
}


.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__arrow--prev, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__arrow--prev, .cc_ok7edmmy_product_detail .kombos-image-preview__arrow--prev {
  left:
    1.5rem;
}


.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__arrow--next, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__arrow--next, .cc_ok7edmmy_product_detail .kombos-image-preview__arrow--next {
  right:
    1.5rem;
}


.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__arrow
  svg, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__arrow
  svg, .cc_ok7edmmy_product_detail .kombos-image-preview__arrow
  svg {
  width:
    1.35rem;

  height:
    1.35rem;
}


@media (
  hover: hover
) {
  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview__arrow:hover, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__arrow:hover, .cc_ok7edmmy_product_detail .kombos-image-preview__arrow:hover {
    background:
      #ffffff !important;
  }
}


/* ==================================
   FOTOĞRAF SAYACI
================================== */

.cc_ok7edmmy_product_detail_reviews .kombos-image-preview__counter, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__counter, .cc_ok7edmmy_product_detail .kombos-image-preview__counter {
  position: fixed;

  left: 50%;

  bottom:
    1.25rem;

  z-index:
    2147483002;

  transform:
    translateX(
      -50%
    );

  min-width:
    4rem;

  padding:
    0.45rem
    0.8rem;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.16
    );

  border-radius:
    999px;

  background:
    rgba(
      0,
      0,
      0,
      0.58
    );

  color:
    #ffffff;

  font-size:
    0.82rem;

  line-height:
    1;

  font-weight:
    600;

  text-align:
    center;

  cursor:
    default;

  backdrop-filter:
    blur(
      8px
    );

  -webkit-backdrop-filter:
    blur(
      8px
    );
}


/* ==================================
   MOBİL
   BURASI AYNI KALDI.
================================== */

@media (
  max-width: 767px
) {
  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview, .cc_ok7edmmy_product_detail .kombos-image-preview {
    padding:
      0.75rem;
  }


  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview__img, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__img, .cc_ok7edmmy_product_detail .kombos-image-preview__img {
    max-width:
      96vw;

    max-height:
      82vh;

    border-radius:
      4px;
  }


  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview__close, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__close, .cc_ok7edmmy_product_detail .kombos-image-preview__close {
    top:
      max(
        0.75rem,
        env(
          safe-area-inset-top
        )
      );

    right:
      0.75rem;

    width:
      2.6rem;

    height:
      2.6rem;
  }


  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview__arrow, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__arrow, .cc_ok7edmmy_product_detail .kombos-image-preview__arrow {
    width:
      2.75rem;

    height:
      2.75rem;

    background:
      rgba(
        255,
        255,
        255,
        0.84
      ) !important;
  }


  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview__arrow--prev, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__arrow--prev, .cc_ok7edmmy_product_detail .kombos-image-preview__arrow--prev {
    left:
      0.6rem;
  }


  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview__arrow--next, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__arrow--next, .cc_ok7edmmy_product_detail .kombos-image-preview__arrow--next {
    right:
      0.6rem;
  }


  .cc_ok7edmmy_product_detail_reviews .kombos-image-preview__counter, .cc_ok7edmmy_product_detail_option_set .kombos-image-preview__counter, .cc_ok7edmmy_product_detail .kombos-image-preview__counter {
    bottom:
      max(
        0.8rem,
        env(
          safe-area-inset-bottom
        )
      );
  }
}
/* ===== Textarea Sub-Component ===== */

/* --- Base --- */
.cc_ok7edmmy_product_detail_reviews .kombos-textarea, .cc_ok7edmmy_product_detail_option_set .kombos-textarea, .cc_ok7edmmy_product_detail .kombos-textarea {
  display: flex;
  border: 1px solid var(--kombos-gray-200);
  border-radius: 6px;
  background: var(--kombos-white);
  transition: border-color 0.15s ease;
  width: 100%;
}

.cc_ok7edmmy_product_detail_reviews .kombos-textarea:hover, .cc_ok7edmmy_product_detail_option_set .kombos-textarea:hover, .cc_ok7edmmy_product_detail .kombos-textarea:hover {
  border-color: var(--kombos-gray-300);
}

.cc_ok7edmmy_product_detail_reviews .kombos-textarea:focus-within, .cc_ok7edmmy_product_detail_option_set .kombos-textarea:focus-within, .cc_ok7edmmy_product_detail .kombos-textarea:focus-within {
  border-color: var(--kombos-gray-900);
}

/* --- Sizes --- */
.cc_ok7edmmy_product_detail_reviews .kombos-textarea--s, .cc_ok7edmmy_product_detail_option_set .kombos-textarea--s, .cc_ok7edmmy_product_detail .kombos-textarea--s {
  padding: 0.5625rem 0.8125rem;
}

.cc_ok7edmmy_product_detail_reviews .kombos-textarea--xs, .cc_ok7edmmy_product_detail_option_set .kombos-textarea--xs, .cc_ok7edmmy_product_detail .kombos-textarea--xs {
  padding: 0.4375rem 0.75rem;
}

/* --- Native textarea --- */
.cc_ok7edmmy_product_detail_reviews .kombos-textarea__native, .cc_ok7edmmy_product_detail_option_set .kombos-textarea__native, .cc_ok7edmmy_product_detail .kombos-textarea__native {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--kombos-gray-900);
  padding: 0;
  resize: vertical;
  min-height: 5rem;
}

.cc_ok7edmmy_product_detail_reviews .kombos-textarea__native::placeholder, .cc_ok7edmmy_product_detail_option_set .kombos-textarea__native::placeholder, .cc_ok7edmmy_product_detail .kombos-textarea__native::placeholder {
  color: var(--kombos-gray-400);
}

/* --- Status (standalone + inherited from FormItem) --- */
.cc_ok7edmmy_product_detail_reviews .kombos-textarea[data-state="error"], .cc_ok7edmmy_product_detail_option_set .kombos-textarea[data-state="error"], .cc_ok7edmmy_product_detail .kombos-textarea[data-state="error"], .cc_ok7edmmy_product_detail_reviews [data-state="error"] .kombos-textarea, .cc_ok7edmmy_product_detail_option_set [data-state="error"] .kombos-textarea, .cc_ok7edmmy_product_detail [data-state="error"] .kombos-textarea {
  border-color: var(--kombos-error);
}

.cc_ok7edmmy_product_detail_reviews .kombos-textarea[data-state="error"]:hover, .cc_ok7edmmy_product_detail_option_set .kombos-textarea[data-state="error"]:hover, .cc_ok7edmmy_product_detail .kombos-textarea[data-state="error"]:hover, .cc_ok7edmmy_product_detail_reviews .kombos-textarea[data-state="error"]:focus-within, .cc_ok7edmmy_product_detail_option_set .kombos-textarea[data-state="error"]:focus-within, .cc_ok7edmmy_product_detail .kombos-textarea[data-state="error"]:focus-within, .cc_ok7edmmy_product_detail_reviews [data-state="error"] .kombos-textarea:hover, .cc_ok7edmmy_product_detail_option_set [data-state="error"] .kombos-textarea:hover, .cc_ok7edmmy_product_detail [data-state="error"] .kombos-textarea:hover, .cc_ok7edmmy_product_detail_reviews [data-state="error"] .kombos-textarea:focus-within, .cc_ok7edmmy_product_detail_option_set [data-state="error"] .kombos-textarea:focus-within, .cc_ok7edmmy_product_detail [data-state="error"] .kombos-textarea:focus-within {
  border-color: var(--kombos-error);
}

.cc_ok7edmmy_product_detail_reviews .kombos-textarea[data-state="success"], .cc_ok7edmmy_product_detail_option_set .kombos-textarea[data-state="success"], .cc_ok7edmmy_product_detail .kombos-textarea[data-state="success"], .cc_ok7edmmy_product_detail_reviews [data-state="success"] .kombos-textarea, .cc_ok7edmmy_product_detail_option_set [data-state="success"] .kombos-textarea, .cc_ok7edmmy_product_detail [data-state="success"] .kombos-textarea {
  border-color: var(--kombos-success);
}

.cc_ok7edmmy_product_detail_reviews .kombos-textarea[data-state="success"]:hover, .cc_ok7edmmy_product_detail_option_set .kombos-textarea[data-state="success"]:hover, .cc_ok7edmmy_product_detail .kombos-textarea[data-state="success"]:hover, .cc_ok7edmmy_product_detail_reviews .kombos-textarea[data-state="success"]:focus-within, .cc_ok7edmmy_product_detail_option_set .kombos-textarea[data-state="success"]:focus-within, .cc_ok7edmmy_product_detail .kombos-textarea[data-state="success"]:focus-within, .cc_ok7edmmy_product_detail_reviews [data-state="success"] .kombos-textarea:hover, .cc_ok7edmmy_product_detail_option_set [data-state="success"] .kombos-textarea:hover, .cc_ok7edmmy_product_detail [data-state="success"] .kombos-textarea:hover, .cc_ok7edmmy_product_detail_reviews [data-state="success"] .kombos-textarea:focus-within, .cc_ok7edmmy_product_detail_option_set [data-state="success"] .kombos-textarea:focus-within, .cc_ok7edmmy_product_detail [data-state="success"] .kombos-textarea:focus-within {
  border-color: var(--kombos-success);
}

/* --- Disabled state --- */
.cc_ok7edmmy_product_detail_reviews .kombos-textarea--disabled, .cc_ok7edmmy_product_detail_option_set .kombos-textarea--disabled, .cc_ok7edmmy_product_detail .kombos-textarea--disabled {
  background: var(--kombos-gray-50);
  border-color: var(--kombos-gray-200);
  pointer-events: none;
}

.cc_ok7edmmy_product_detail_reviews .kombos-textarea--disabled .kombos-textarea__native, .cc_ok7edmmy_product_detail_option_set .kombos-textarea--disabled .kombos-textarea__native, .cc_ok7edmmy_product_detail .kombos-textarea--disabled .kombos-textarea__native, .cc_ok7edmmy_product_detail_reviews .kombos-textarea--disabled .kombos-textarea__native::placeholder, .cc_ok7edmmy_product_detail_option_set .kombos-textarea--disabled .kombos-textarea__native::placeholder, .cc_ok7edmmy_product_detail .kombos-textarea--disabled .kombos-textarea__native::placeholder {
  color: var(--kombos-gray-300);
}
