
/* Image preview overlay */
.cc_d44srw2k_product_detail_reviews .kombos-image-preview, .cc_d44srw2k_product_detail_option_set .kombos-image-preview, .cc_d44srw2k_product_detail .kombos-image-preview {
  position: fixed;
  inset: 0;
  z-index: var(--kombos-z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 28, 16, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.cc_d44srw2k_product_detail_reviews .kombos-image-preview--open, .cc_d44srw2k_product_detail_option_set .kombos-image-preview--open, .cc_d44srw2k_product_detail .kombos-image-preview--open {
  opacity: 1;
}

/* Close button */
.cc_d44srw2k_product_detail_reviews .kombos-image-preview__close, .cc_d44srw2k_product_detail_option_set .kombos-image-preview__close, .cc_d44srw2k_product_detail .kombos-image-preview__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--kombos-white);
  border: none;
  border-radius: 50%;
  width: var(--sofra-tap);
  height: var(--sofra-tap);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--sofra-pine);
  transition: background 0.15s;
}

.cc_d44srw2k_product_detail_reviews .kombos-image-preview__close:hover, .cc_d44srw2k_product_detail_option_set .kombos-image-preview__close:hover, .cc_d44srw2k_product_detail .kombos-image-preview__close:hover {
  background: var(--sofra-olive-soft);
}

/* Preview image */
.cc_d44srw2k_product_detail_reviews .kombos-image-preview__img, .cc_d44srw2k_product_detail_option_set .kombos-image-preview__img, .cc_d44srw2k_product_detail .kombos-image-preview__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--sofra-radius-sm);
  background: var(--sofra-sand);
  cursor: default;
}

/* ===== Textarea Sub-Component ===== */

/* --- Base --- */
.cc_d44srw2k_product_detail_reviews .kombos-textarea, .cc_d44srw2k_product_detail_option_set .kombos-textarea, .cc_d44srw2k_product_detail .kombos-textarea {
  display: flex;
  border: 1px solid var(--sofra-line-strong);
  border-radius: var(--sofra-radius-sm);
  background: var(--sofra-white);
  transition: border-color 0.15s ease;
  width: 100%;
}

.cc_d44srw2k_product_detail_reviews .kombos-textarea:hover, .cc_d44srw2k_product_detail_option_set .kombos-textarea:hover, .cc_d44srw2k_product_detail .kombos-textarea:hover {
  border-color: var(--sofra-muted);
}

.cc_d44srw2k_product_detail_reviews .kombos-textarea:focus-within, .cc_d44srw2k_product_detail_option_set .kombos-textarea:focus-within, .cc_d44srw2k_product_detail .kombos-textarea:focus-within {
  border-color: var(--sofra-forest);
  outline: 3px solid var(--sofra-focus);
  outline-offset: 2px;
}

/* --- Sizes --- */
.cc_d44srw2k_product_detail_reviews .kombos-textarea--s, .cc_d44srw2k_product_detail_option_set .kombos-textarea--s, .cc_d44srw2k_product_detail .kombos-textarea--s {
  padding: 0.6875rem 0.75rem;
}

.cc_d44srw2k_product_detail_reviews .kombos-textarea--xs, .cc_d44srw2k_product_detail_option_set .kombos-textarea--xs, .cc_d44srw2k_product_detail .kombos-textarea--xs {
  padding: 0.4375rem 0.75rem;
}

/* --- Native textarea --- */
.cc_d44srw2k_product_detail_reviews .kombos-textarea__native, .cc_d44srw2k_product_detail_option_set .kombos-textarea__native, .cc_d44srw2k_product_detail .kombos-textarea__native {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--sofra-ink);
  font-family: var(--sofra-font-ui);
  padding: 0;
  resize: vertical;
  min-height: 6.5625rem;
}

.cc_d44srw2k_product_detail_reviews .kombos-textarea__native:focus-visible, .cc_d44srw2k_product_detail_option_set .kombos-textarea__native:focus-visible, .cc_d44srw2k_product_detail .kombos-textarea__native:focus-visible {
  outline: none;
}

.cc_d44srw2k_product_detail_reviews .kombos-textarea__native::placeholder, .cc_d44srw2k_product_detail_option_set .kombos-textarea__native::placeholder, .cc_d44srw2k_product_detail .kombos-textarea__native::placeholder {
  color: var(--sofra-muted);
  opacity: 1;
}

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

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

.cc_d44srw2k_product_detail_reviews .kombos-textarea[data-state="success"], .cc_d44srw2k_product_detail_option_set .kombos-textarea[data-state="success"], .cc_d44srw2k_product_detail .kombos-textarea[data-state="success"], .cc_d44srw2k_product_detail_reviews [data-state="success"] .kombos-textarea, .cc_d44srw2k_product_detail_option_set [data-state="success"] .kombos-textarea, .cc_d44srw2k_product_detail [data-state="success"] .kombos-textarea {
  border-color: var(--kombos-success);
}

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

/* --- Disabled state --- */
.cc_d44srw2k_product_detail_reviews .kombos-textarea--disabled, .cc_d44srw2k_product_detail_option_set .kombos-textarea--disabled, .cc_d44srw2k_product_detail .kombos-textarea--disabled {
  background: var(--sofra-sand-soft);
  border-color: var(--sofra-line);
  pointer-events: none;
}

.cc_d44srw2k_product_detail_reviews .kombos-textarea--disabled .kombos-textarea__native, .cc_d44srw2k_product_detail_option_set .kombos-textarea--disabled .kombos-textarea__native, .cc_d44srw2k_product_detail .kombos-textarea--disabled .kombos-textarea__native, .cc_d44srw2k_product_detail_reviews .kombos-textarea--disabled .kombos-textarea__native::placeholder, .cc_d44srw2k_product_detail_option_set .kombos-textarea--disabled .kombos-textarea__native::placeholder, .cc_d44srw2k_product_detail .kombos-textarea--disabled .kombos-textarea__native::placeholder {
  color: var(--sofra-muted);
}
