.sevenway-product-layout__services {
  padding: 0 16px 16px;
  border-color: #e0e3e7;
  border-radius: 12px;
}

.sevenway-product-layout__services:not(:has(.sevenway-services)),
.sevenway-product-layout__services .sevenway-services__title {
  display: none;
}

.sevenway-product-layout__services > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 16px 0 17px;
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
}

.sevenway-product-layout__services[open] > summary {
  margin-bottom: 0;
}

.sevenway-product-layout__services:not([open]) {
  padding-bottom: 0;
}

.sevenway-product-layout__services > summary::-webkit-details-marker,
.sevenway-services__help > summary::-webkit-details-marker {
  display: none;
}

.sevenway-product-layout__services > summary::after {
  content: '';
  width: 9px;
  height: 9px;
  margin-inline-end: 4px;
  border-right: 1px solid #65717d;
  border-bottom: 1px solid #65717d;
  transform: translateY(-2px) rotate(45deg);
}

.sevenway-product-layout__services[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.sevenway-services__body {
  width: 100%;
  min-width: 0;
}

.sevenway-services .from-group-option + .from-group-option {
  margin-top: 12px;
}

.sevenway-services .sevenway-services__group-title {
  margin: 4px 0;
  font-size: 13px;
}

.sevenway-services .list-attribute-custom .sevenway-services__row:not([hidden]) {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #e9ebee;
}

.sevenway-services .sevenway-services__row:last-child {
  border-bottom: 0;
}

.sevenway-services .sevenway-services__row[hidden] {
  display: none;
}

.sevenway-services .sevenway-services__row > .sevenway-services__option {
  display: grid !important;
  flex: 1;
  grid-template-columns: 19px 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #151515;
}

.sevenway-services .sevenway-services__preview > .sevenway-services__option {
  grid-template-columns: 34px minmax(0, 1fr);
}

.sevenway-services .sevenway-services__option > input {
  position: static;
  display: grid;
  place-items: center;
  appearance: none;
  width: 19px;
  height: 19px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #b4b8be;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.sevenway-services .sevenway-services__option > input[type='radio'] {
  border-radius: 50%;
}

.sevenway-services .sevenway-services__option > input:checked {
  border-color: var(--service-check-color, #ff7d0a);
  background: var(--service-check-color, #ff7d0a);
}

.sevenway-services__option > input:checked::after {
  content: '';
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.sevenway-services__option > input[type='radio']:checked::after {
  width: 7px;
  height: 7px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: none;
}

.sevenway-services__row.error .sevenway-services__option > input {
  border-color: #d70909;
}

.sevenway-services__image {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.sevenway-services__text {
  display: grid;
  justify-items: start;
  gap: 3px;
  line-height: 1.4;
}

.sevenway-services__name {
  font-size: 13px;
  font-weight: 600;
}

.sevenway-services__badge {
  padding: 2px 5px;
  border-radius: 4px;
  background: #fff0e2;
  color: #884000;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.sevenway-services__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
}

.sevenway-services__price {
  color: #f47100;
  font-size: 13px;
  font-weight: 700;
}

.sevenway-services__old-price,
.sevenway-services__discount {
  color: #626973;
  font-size: 11px;
}

.sevenway-services__help > summary {
  display: grid;
  place-items: center;
  flex: none;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 1px solid #c6c9ce;
  border-radius: 50%;
  background: #fff;
  color: #747a81;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}

.sevenway-services__help > summary:focus-visible,
.sevenway-services__option > input:focus-visible {
  outline: 2px solid #65717d;
  outline-offset: 2px;
}

.sevenway-services__description {
  position: absolute;
  z-index: 2;
  inset: calc(50% + 16px) 0 auto auto;
  width: min(100%, 290px);
  padding: 9px 12px;
  border-radius: 7px;
  background: #222427;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}

.sevenway-services__description p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.sevenway-services .attribute-custom-price {
  margin-top: 8px;
  font-size: 13px;
}
