
/* FormItem handles all layout and styling */

.cc_9u40o9df_product_detail_option_set .kombos-option-textarea__footer, .cc_9u40o9df_product_detail .kombos-option-textarea__footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-textarea__counter, .cc_9u40o9df_product_detail .kombos-option-textarea__counter {
  color: var(--kombos-gray-400);
  margin-left: auto;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-checkbox__row, .cc_9u40o9df_product_detail .kombos-option-checkbox__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-checkbox__text, .cc_9u40o9df_product_detail .kombos-option-checkbox__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-checkbox__label, .cc_9u40o9df_product_detail .kombos-option-checkbox__label {
  color: var(--kombos-gray-700);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-checkbox__desc, .cc_9u40o9df_product_detail .kombos-option-checkbox__desc {
  color: var(--kombos-gray-500);
}

/* Checklist (multi-select) */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__checklist, .cc_9u40o9df_product_detail .kombos-option-choice__checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--kombos-gray-200);
  border-radius: 6px;
  padding: 0.5rem;
  max-height: 15rem;
  overflow-y: auto;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__checklist--error, .cc_9u40o9df_product_detail .kombos-option-choice__checklist--error {
  border-color: var(--kombos-error);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__checklist-row, .cc_9u40o9df_product_detail .kombos-option-choice__checklist-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__checklist-row:hover, .cc_9u40o9df_product_detail .kombos-option-choice__checklist-row:hover {
  background-color: var(--kombos-gray-50);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__checklist-price, .cc_9u40o9df_product_detail .kombos-option-choice__checklist-price {
  color: var(--kombos-gray-500);
  margin-left: auto;
}

/* Swatch grid */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-grid, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

/* Individual swatch item (button + price) */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-item, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

/* Swatch button — square like Badge */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-btn, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--kombos-gray-200);
  border-radius: 6px;
  padding: 0.125rem;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kombos-white);
  position: relative;
  transition: border-color 0.15s;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-btn:hover:not(.kombos-option-choice__swatch-btn--selected), .cc_9u40o9df_product_detail .kombos-option-choice__swatch-btn:hover:not(.kombos-option-choice__swatch-btn--selected) {
  border-color: var(--kombos-gray-400);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-btn--selected, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-btn--selected {
  border-color: var(--kombos-gray-900);
}

/* Color fill */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-color, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-color {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

/* Image inside swatch */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-img, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Eye icon overlay on image swatches */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-eye, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-eye {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.15s;
  cursor: pointer;
  font-size: 1rem;
  color: var(--kombos-white);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-btn:hover .kombos-option-choice__swatch-eye, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-btn:hover .kombos-option-choice__swatch-eye {
  opacity: 1;
}

/* Footer row: checkbox + price for image swatches */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-footer, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-footer {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Price below swatch */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__swatch-price, .cc_9u40o9df_product_detail .kombos-option-choice__swatch-price {
  color: var(--kombos-gray-500);
  text-align: center;
}

/* Box grid */
.cc_9u40o9df_product_detail_option_set .kombos-option-choice__grid, .cc_9u40o9df_product_detail .kombos-option-choice__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__box, .cc_9u40o9df_product_detail .kombos-option-choice__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--kombos-gray-200);
  border-radius: 6px;
  background: var(--kombos-white);
  color: var(--kombos-gray-700);
  cursor: pointer;
  transition: border-color 0.15s;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__box:hover, .cc_9u40o9df_product_detail .kombos-option-choice__box:hover {
  border-color: var(--kombos-gray-400);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__box--selected, .cc_9u40o9df_product_detail .kombos-option-choice__box--selected {
  border-color: var(--kombos-gray-900);
  background: var(--kombos-gray-900);
  color: var(--kombos-white);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__box-price, .cc_9u40o9df_product_detail .kombos-option-choice__box-price {
  color: var(--kombos-gray-500);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-choice__box--selected .kombos-option-choice__box-price, .cc_9u40o9df_product_detail .kombos-option-choice__box--selected .kombos-option-choice__box-price {
  color: var(--kombos-white);
}


.cc_9u40o9df_product_detail_option_set .kombos-color-input__row, .cc_9u40o9df_product_detail .kombos-color-input__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cc_9u40o9df_product_detail_option_set .kombos-color-input__picker, .cc_9u40o9df_product_detail .kombos-color-input__picker {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--kombos-gray-200);
  border-radius: 6px;
  padding: 0.125rem;
  cursor: pointer;
  background: var(--kombos-white);
}

.cc_9u40o9df_product_detail_option_set .kombos-color-input__picker::-webkit-color-swatch-wrapper, .cc_9u40o9df_product_detail .kombos-color-input__picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.cc_9u40o9df_product_detail_option_set .kombos-color-input__picker::-webkit-color-swatch, .cc_9u40o9df_product_detail .kombos-color-input__picker::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

.cc_9u40o9df_product_detail_option_set .kombos-color-input__value, .cc_9u40o9df_product_detail .kombos-color-input__value {
  color: var(--kombos-gray-500);
}

.cc_9u40o9df_product_detail_option_set .kombos-color-input__clear, .cc_9u40o9df_product_detail .kombos-color-input__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--kombos-gray-400);
  font-size: 1rem;
}

.cc_9u40o9df_product_detail_option_set .kombos-color-input__clear:hover, .cc_9u40o9df_product_detail .kombos-color-input__clear:hover {
  color: var(--kombos-gray-700);
}

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

.cc_9u40o9df_product_detail_option_set [data-state="success"] .kombos-color-input__picker, .cc_9u40o9df_product_detail [data-state="success"] .kombos-color-input__picker {
  border-color: var(--kombos-success);
}

/* Styles handled by Input sub-component */

.cc_9u40o9df_product_detail_option_set .kombos-option-file__drop, .cc_9u40o9df_product_detail .kombos-option-file__drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px dashed var(--kombos-gray-300);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
  background: var(--kombos-white);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__drop:hover, .cc_9u40o9df_product_detail .kombos-option-file__drop:hover {
  border-color: var(--kombos-gray-400);
  background: var(--kombos-gray-50);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__drop--active, .cc_9u40o9df_product_detail .kombos-option-file__drop--active {
  border-color: var(--kombos-gray-500);
  background: var(--kombos-gray-50);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__drop--error, .cc_9u40o9df_product_detail .kombos-option-file__drop--error {
  border-color: var(--kombos-error) !important;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__drop--disabled, .cc_9u40o9df_product_detail .kombos-option-file__drop--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__drop-icon, .cc_9u40o9df_product_detail .kombos-option-file__drop-icon {
  font-size: 1.5rem;
  color: var(--kombos-gray-400);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__drop-text, .cc_9u40o9df_product_detail .kombos-option-file__drop-text {
  color: var(--kombos-gray-500);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__native, .cc_9u40o9df_product_detail .kombos-option-file__native {
  display: none;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__list, .cc_9u40o9df_product_detail .kombos-option-file__list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__item, .cc_9u40o9df_product_detail .kombos-option-file__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--kombos-gray-100);
  border-radius: 4px;
  background: var(--kombos-gray-50);
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__item-name, .cc_9u40o9df_product_detail .kombos-option-file__item-name {
  color: var(--kombos-gray-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80%;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__item-remove, .cc_9u40o9df_product_detail .kombos-option-file__item-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--kombos-gray-400);
  padding: 0;
  display: flex;
  align-items: center;
}

.cc_9u40o9df_product_detail_option_set .kombos-option-file__item-remove:hover, .cc_9u40o9df_product_detail .kombos-option-file__item-remove:hover {
  color: var(--kombos-error);
}
