/**
 * Product Extra Fields (Elementor widget)
 */
 .vsw-product-extra-fields {
  box-sizing: border-box;
  margin: 12px 0;
}

.vsw-product-extra-fields * {
  box-sizing: border-box;
}

.vsw-pef__field {
  margin-bottom: 14px;
}

.vsw-pef__field:last-child {
  margin-bottom: 0;
}

.vsw-pef__label {
  display: block;
  position: relative;
  margin-bottom: 2.5%;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f4f4f4;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.2;
  color: #1a1a1a;
}

.vsw-pef__collapse-body {
  padding-top: 0.35rem;
}

.vsw-pef__label::after {
  content: '';
  display: block;
  position: absolute;
  margin: auto;
  left: 0;
  width: 2.3em;
  height: 3px;
  background-color: #004085;
  bottom: -1px;
}

.vsw-pef__req {
  color: #c00;
  margin-left: 2px;
}

.vsw-pef__textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
  min-height: 88px;
}

.vsw-pef__textarea-display {
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  font: inherit;
  line-height: 1.45;
  min-height: 1em;
}

.vsw-pef__textarea-html {
  white-space: normal;
  word-wrap: break-word;
}

.vsw-pef__textarea-html > *:first-child {
  margin-top: 0;
}

.vsw-pef__textarea-html > *:last-child {
  margin-bottom: 0;
}

.vsw-pef__textarea-html p {
  margin: 0 0 0.65em;
}

.vsw-pef__textarea-html ul,
.vsw-pef__textarea-html ol {
  margin: 0.5em 0 0.65em 1.25em;
  padding: 0;
}

.vsw-pef__textarea-html img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.vsw-pef__textarea-html a {
  text-decoration: underline;
}

.vsw-pef__textarea-plain {
  white-space: pre-line;
}

.vsw-pef__images-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.vsw-pef__figure--half {
  margin: 0;
  flex: 0 0 calc(50% - 6px);
  max-width: calc(50% - 6px);
  min-width: 0;
}

.vsw-pef__figure--half img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .vsw-pef__figure--half {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.vsw-pef__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Row merged across all columns (one cell with colspan = table width) */
.vsw-pef__table th.vsw-pef__table-cell--full-width,
.vsw-pef__table td.vsw-pef__table-cell--full-width {
  background-color: #004085;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.vsw-pef__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.35;
}

.vsw-pef__table--layout {
  table-layout: auto;
}

.vsw-pef__table th,
.vsw-pef__table td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.vsw-pef__table thead th {
  background: rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.vsw-pef__table th {
  background: rgba(0, 0, 0, 0.03);
  font-weight: 600;
}

.vsw-pef__cell-input {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  font: inherit;
}

.vsw-product-extra-fields--preview {
  padding: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-size: 13px;
}
