.koc-sample-section {
  padding: 24px;
  overflow: hidden;
}

.koc-sample-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.koc-sample-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #f0dfca;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffdf9, #fff8ed);
}

.koc-sample-card span,
.koc-sample-card small {
  display: block;
  color: #8b7766;
  font-size: 11px;
  line-height: 1.45;
}

.koc-sample-card strong {
  display: block;
  margin: 7px 0 3px;
  color: #f29100;
  font-size: 26px;
  line-height: 1;
}

.koc-sample-table-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 10px;
}

.koc-sample-table-title strong {
  color: #5d4c40;
  font-size: 14px;
}

.koc-sample-table-title small,
.koc-sample-note {
  color: #907d6d;
  font-size: 11px;
}

.koc-sample-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 12px;
}

.koc-sample-table th {
  padding: 11px 12px;
  border-bottom: 1px solid #eadbca;
  background: #fff8ed;
  color: #8b7766;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.koc-sample-table td {
  padding: 12px;
  border-bottom: 1px solid #f3e9dc;
  color: #5d4c40;
  vertical-align: top;
}

.koc-sample-table td:not(:first-child) {
  white-space: nowrap;
}

.koc-product-name,
.koc-handle {
  display: block;
  color: #4c3e34;
  font-weight: 700;
}

.koc-product-sku {
  display: block;
  margin-top: 3px;
  color: #9a8776;
  font-size: 10px;
}

.koc-handle.is-missing {
  color: #b78344;
  font-weight: 600;
}

.koc-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef9f4;
  color: #38866d;
  font-size: 10px;
  font-weight: 700;
}

.koc-status.is-canceled {
  background: #fff0ef;
  color: #c45d55;
}

.koc-sample-details {
  margin-top: 18px;
  border-top: 1px solid #f0e3d5;
  padding-top: 14px;
}

.koc-sample-details summary {
  width: fit-content;
  cursor: pointer;
  color: #e78b00;
  font-size: 12px;
  font-weight: 700;
}

.koc-sample-details[open] summary {
  margin-bottom: 12px;
}

.koc-sample-empty {
  padding: 22px;
  border: 1px dashed #ead6bd;
  border-radius: 14px;
  background: #fffaf2;
  color: #8b7766;
  font-size: 12px;
  text-align: center;
}

.koc-sample-warning {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff6e8;
  color: #9b681f;
  font-size: 11px;
}

@media (max-width: 980px) {
  .koc-sample-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .koc-sample-section {
    padding: 18px;
  }

  .koc-sample-summary {
    grid-template-columns: 1fr;
  }

  .koc-sample-table-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
