/* Compact product delivery summary for the Supreme storefront theme. */
.js-dp-product-wrapper {
  container-name: alextool-delivery;
  container-type: inline-size;
}

.alextool-dp-purchase-delivery {
  margin: 12px 0 16px;
}

.product_page .alextool-dp-purchase-delivery .pp-h-block_aux {
  margin: 0;
}

.dp-product .dp-product__offset {
  padding: 10px 14px;
}

.dp-product .dp-product__header > div[align="center"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.dp-product .dp-product__header > div[align="center"] > br {
  display: none;
}

.dp-product .dp-product__header .dp-container__city-select {
  margin: 0;
}

.js-dp-product-wrapper .dp-product a,
.js-dp-product-wrapper .dp-product a:hover,
.js-dp-product-wrapper .dp-product .dp-city-select-link__city-text {
  color: #64895d;
}

.dp-product .dp-city-select-link__city-text {
  border-bottom-color: #64895d;
}

.dp-product .dp-city-select-link__city-link::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='14' fill='%2364895d' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 6.65c-.474 0-.928-.184-1.263-.513A1.732 1.732 0 0 1 3.214 4.9c0-.464.188-.91.523-1.237.335-.329.79-.513 1.263-.513.474 0 .928.184 1.263.513A1.732 1.732 0 0 1 6.65 5.57c-.09.212-.221.405-.387.567A1.789 1.789 0 0 1 5 6.65zM5 0a5.052 5.052 0 0 0-3.536 1.435A4.85 4.85 0 0 0 0 4.9C0 8.575 5 14 5 14s5-5.425 5-9.1a4.85 4.85 0 0 0-1.464-3.465A5.052 5.052 0 0 0 5 0z'/%3E%3C/svg%3E");
}

.dp-product .dp-city-select-link__city-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin: -8px 0;
}

.dp-product .dp-product__group-title {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 20px;
}

.dp-product .alextool-delivery-note {
  margin: 0 0 8px;
  padding: 6px 9px;
  border-left: 3px solid #64895d;
  border-radius: 0 4px 4px 0;
  background: rgba(100, 137, 93, 0.09);
  color: #555;
  font-size: 12px;
  line-height: 16px;
}

.dp-product .dp-product__header .alextool-delivery-note {
  margin: 7px 0 0;
  text-align: left;
}

.dp-product .dp-product__service {
  margin-bottom: 0;
  line-height: 18px;
}

.dp-product .dp-product__service_without-groups .dp-product__service-row {
  min-width: 0;
  margin-bottom: 8px;
}

.dp-product .dp-product__service-row:last-child {
  margin-bottom: 0;
}

.dp-product .dp-product__service-title {
  min-width: 0;
  margin-bottom: 1px;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.dp-product .dp-product__service-calculation,
.dp-product .dp-product__service-hint {
  min-width: 0;
  margin-top: 0;
  font-size: 13px;
  line-height: 18px;
}

.dp-product .dp-product__service-calculation[data-id="36"],
.dp-product .dp-product__service-calculation[data-id="36"] .dp-product__service-rates {
  white-space: normal;
}

.dp-product .dp-product__service-estimated {
  color: #6f6f6f;
}

.dp-product .dp-product__service-price {
  white-space: nowrap;
}

.dp-product .dp-product__service-price .dp-cost {
  color: #3f633a;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.dp-product .dp-product__service-price .dp-cost_value::before,
.dp-product .dp-product__service-price .dp-cost_range-value::before {
  color: #6f6f6f;
  font-weight: 400;
}

.dp-product .dp-product__service-calculation-loading {
  display: inline-flex;
  max-width: 100%;
  min-height: 18px;
  align-items: center;
  justify-content: flex-end;
  line-height: 18px;
  vertical-align: top;
  white-space: nowrap;
}

.dp-product .dp-product__service-calculation-loading .dp-loading {
  flex: 0 0 12px;
}

.dp-product .dp-product__service-calculation-loading_label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@container alextool-delivery (min-width: 520px) {
  .dp-product .dp-product__service_without-groups .dp-product__service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 52%);
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
  }

  .dp-product .dp-product__service-title {
    margin-bottom: 0;
  }

  .dp-product .dp-product__service-calculation {
    text-align: right;
    white-space: nowrap;
  }

  .dp-product .dp-product__service-calculation-loading {
    width: 100%;
  }
}

@container alextool-delivery (max-width: 260px) {
  .dp-product .dp-product__offset {
    padding: 8px 12px;
  }

  .dp-product .dp-product__group-title {
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 18px;
  }

  .dp-product .alextool-delivery-note {
    margin-bottom: 6px;
    padding: 5px 7px;
    font-size: 11px;
    line-height: 15px;
  }

  .dp-product .dp-product__header .alextool-delivery-note {
    margin-top: 5px;
  }

  .dp-product .dp-product__service_without-groups .dp-product__service-row {
    margin-bottom: 6px;
  }

  .dp-product .dp-product__service-title {
    font-size: 13px;
    line-height: 17px;
  }

  .dp-product .dp-product__service-calculation,
  .dp-product .dp-product__service-hint {
    font-size: 12px;
    line-height: 16px;
  }

  .dp-product .dp-product__service-calculation {
    min-height: 18px;
  }

  .dp-product .dp-product__service-calculation[data-id="15"],
  .dp-product .dp-product__service-calculation[data-id="40"],
  .dp-product .dp-product__service-calculation[data-id="15"] .dp-product__service-calculation-loading,
  .dp-product .dp-product__service-calculation[data-id="40"] .dp-product__service-calculation-loading {
    min-height: 32px;
  }
}

@media (hover: none), (pointer: coarse) {
  .dp-product .dp-city-select-link__city-link {
    min-height: 44px;
    margin: -8px 0;
  }
}
