.uc-warranty-wrap{
  margin: 14px 0;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}
.uc-warranty-toggle{
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 14px 14px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
}
.uc-warranty-title{
  font-size: 16px;
  font-weight: 700;
}
.uc-warranty-sub{
  grid-column: 1 / -1;
  font-size: 12px;
  opacity: 0.75;
}
.uc-warranty-caret{
  width: 10px;
  height: 10px;
  border-right: 2px solid #444;
  border-bottom: 2px solid #444;
  transform: rotate(45deg);
  justify-self: end;
}
.uc-warranty-toggle[aria-expanded="true"] .uc-warranty-caret{
  transform: rotate(-135deg);
}
.uc-warranty-panel{
  padding: 12px 14px 14px 14px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.uc-warranty-fieldset{
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}
.uc-warranty-option{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 12px 12px;
  cursor: pointer;
}
.uc-warranty-option input{
  margin-top: 2px;
}
.uc-warranty-option__main{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.uc-warranty-option__name{
  font-weight: 700;
}
.uc-warranty-option__price{
  white-space: nowrap;
  font-weight: 600;
}
.uc-warranty-option__details{
  grid-column: 2 / -1;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e5e5e5;
  display: none; /* shown only when selected */
}
.uc-warranty-option input:checked ~ .uc-warranty-option__details{
  display: block;
}

/* Clear, mobile-friendly table */
.uc-warranty-details-table{
  width: 100%;
  border-collapse: collapse;
}
.uc-warranty-details-table th,
.uc-warranty-details-table td{
  padding: 8px 0;
  vertical-align: top;
}
.uc-warranty-details-table tr + tr th,
.uc-warranty-details-table tr + tr td{
  border-top: 1px solid #f0f0f0;
}
.uc-warranty-details-table th{
  width: 38%;
  font-weight: 700;
  opacity: 0.85;
}
.uc-warranty-details-table td{
  text-align: left;
}

.uc-warranty-hint{
  margin: 10px 2px 0 2px;
  font-size: 12px;
  opacity: 0.75;
}

@media (max-width: 420px){
  .uc-warranty-option__main{
    flex-direction: column;
    align-items: flex-start;
  }
  .uc-warranty-option__price{
    opacity: 0.9;
  }
  .uc-warranty-details-table th{
    width: 44%;
  }
}


/* Static (non-collapsible) header */
.uc-warranty-static{
  cursor: default;
  grid-template-columns: 1fr;
}
.uc-warranty-static .uc-warranty-caret{
  display: none;
}
