.product-shipping-location {
  --shipping-ink: #20262d;
  --shipping-muted: #676b70;
  --shipping-accent: #0f766e;
  --shipping-border: #d8d4ce;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--shipping-border);
  border-radius: 8px;
  background: #fbfaf8;
  color: var(--shipping-ink);
  box-sizing: border-box;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.product-shipping-location,
.product-shipping-location * {
  box-sizing: border-box;
}

.product-shipping-location [hidden] {
  display: none !important;
}

.product-shipping-location[data-shipping-expanded="true"] {
  border-color: #c8cdca;
  background: #fff;
  box-shadow: 0 4px 14px rgba(38, 32, 28, 0.045);
}

.product-shipping-location__toggle {
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.product-shipping-location__toggle:hover {
  background: #f8faf9;
}

.product-shipping-location__toggle:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #15324a;
  outline-offset: -2px;
}

.product-shipping-location__summary-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.09);
  color: var(--shipping-accent);
}

.product-shipping-location__summary-icon svg {
  width: 17px;
  height: 17px;
}

.product-shipping-location__summary-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-shipping-location__summary-topline {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1px 8px;
}

.product-shipping-location__summary-services {
  min-width: 0;
  flex: 1 1 430px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1px 10px;
}

.product-shipping-location__summary-heading {
  color: var(--shipping-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}

.product-shipping-location__summary-facts {
  width: auto;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 4px;
  color: #41484d;
  font-size: 11.25px;
  line-height: 1.35;
}

.product-shipping-location__summary-facts > strong {
  min-width: 0;
}

.product-shipping-location__summary-priority-eta {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0 4px;
  white-space: nowrap;
}

.product-shipping-location__summary-fee-group {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  gap: 0 4px;
  white-space: nowrap;
}

.product-shipping-location__summary-facts > span:not([aria-hidden="true"]) {
  white-space: nowrap;
}

.product-shipping-location__summary-facts--priority {
  color: #53595e;
}

.product-shipping-location__summary-facts strong {
  color: var(--shipping-accent);
  font-weight: 700;
}

.product-shipping-location__summary-promise {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  color: #5d6267;
  font-size: 10.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-shipping-location__holiday-note {
  color: #7a5c2e;
  font-weight: 600;
}

.product-shipping-location__holiday-note[hidden] {
  display: none !important;
}

.product-shipping-location__holiday-note .product-shipping-location__promise-icon {
  color: #9a7133;
}

.product-shipping-location__summary-promise > span:last-child {
  min-width: 0;
}

.product-shipping-location__summary-promise strong {
  color: var(--shipping-accent);
  font-weight: 700;
}

.product-shipping-location__promise-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-flex;
  margin-top: 1px;
  color: var(--shipping-accent);
}

.product-shipping-location__promise-icon svg {
  width: 14px;
  height: 14px;
}

.product-shipping-location__chevron {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #15324a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.product-shipping-location__chevron svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  transition: transform 180ms ease;
}

.product-shipping-location__toggle[aria-expanded="true"] .product-shipping-location__chevron svg {
  transform: rotate(90deg);
}

.product-shipping-location__panel {
  padding: 12px;
  border-top: 1px solid #ebe8e3;
  background: #fff;
}

.product-shipping-location__toggle[aria-expanded="true"] + .product-shipping-location__panel:not([hidden]) {
  animation: product-shipping-panel-enter 180ms ease both;
}

@keyframes product-shipping-panel-enter {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-shipping-location__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.product-shipping-location__control {
  min-width: 180px;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-shipping-location__control[hidden] {
  display: none !important;
}

.product-shipping-location__control label {
  flex: 0 0 auto;
  color: var(--shipping-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.product-shipping-location__select-shell {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
}

.product-shipping-location__select-shell::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: #59616a;
  pointer-events: none;
  transform: translateY(-67%) rotate(45deg);
}

.product-shipping-location select {
  width: 100%;
  min-height: 44px;
  padding: 8px 32px 8px 11px;
  border: 1px solid rgba(21, 50, 74, 0.23);
  border-radius: 7px;
  background: #fff;
  color: var(--shipping-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.product-shipping-location select:hover {
  border-color: rgba(21, 50, 74, 0.46);
  background: #fffefa;
}

.product-shipping-location select:focus-visible {
  border-color: rgba(21, 50, 74, 0.72);
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 50, 74, 0.11);
}

.product-shipping-location__services {
  margin-top: 11px;
  border-top: 1px solid #ebe8e3;
  transition: opacity 140ms ease, transform 140ms ease;
}

.product-shipping-location__services.is-updating {
  transform: translateY(2px);
  opacity: 0.48;
}

.product-shipping-location__service {
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #efede9;
  color: var(--shipping-muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.product-shipping-location__service-icon,
.product-shipping-location__service-badge {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.08);
  color: var(--shipping-accent);
}

.product-shipping-location__service-icon svg {
  width: 18px;
  height: 18px;
}

.product-shipping-location__service-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.product-shipping-location__service-badge svg {
  display: block;
  width: 15px;
  height: 15px;
}

.product-shipping-location__service-badge--fast {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.product-shipping-location__service-badge--fast svg {
  width: 16px;
  height: 16px;
}

.product-shipping-location__service-badge--express {
  background: rgba(13, 104, 101, 0.13);
  color: #0d6865;
}

.product-shipping-location__service-badge--express svg {
  width: 15px;
  height: 15px;
}

.product-shipping-location__service-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-shipping-location__service-heading {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1px 8px;
  color: var(--shipping-ink);
}

.product-shipping-location__service-heading strong {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}

.product-shipping-location__service-heading strong:last-child {
  flex: 0 0 auto;
  color: var(--shipping-accent);
  text-align: left;
  white-space: nowrap;
}

.product-shipping-location__delivery-badge {
  --delivery-badge-bg: #eaf7f5;
  --delivery-badge-border: #b5ddd8;
  --delivery-badge-ink: #0b6a63;
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  border: 1px solid var(--delivery-badge-border);
  border-radius: 3px;
  background: var(--delivery-badge-bg);
  color: var(--delivery-badge-ink);
  font-size: 9.5px;
  font-weight: 750;
  line-height: 1.35;
  white-space: nowrap;
  vertical-align: baseline;
}

.product-shipping-location__delivery-badge--today {
  --delivery-badge-bg: #fff2e8;
  --delivery-badge-border: #efc3a6;
  --delivery-badge-ink: #963f12;
}

.product-shipping-location__delivery-badge--tomorrow {
  --delivery-badge-bg: #eaf7f5;
  --delivery-badge-border: #b5ddd8;
  --delivery-badge-ink: #0b6a63;
}

.product-shipping-location__delivery-badge--range {
  --delivery-badge-bg: #eef4fb;
  --delivery-badge-border: #c4d6e9;
  --delivery-badge-ink: #285b8f;
}

.product-shipping-location__service-commitment .product-shipping-location__delivery-badge {
  margin: 0 3px;
  transform: translateY(-0.5px);
}

.product-shipping-location__service--notice {
  min-height: 0;
  align-items: center;
  padding: 6px 0;
  font-size: 11px;
  line-height: 1.35;
}

.product-shipping-location__service--notice .product-shipping-location__service-badge {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  margin-top: 0;
}

.product-shipping-location__guarantee {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 11px;
  padding: 10px 11px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.055);
}

.product-shipping-location__guarantee-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  color: var(--shipping-accent);
}

.product-shipping-location__guarantee-icon svg {
  width: 22px;
  height: 22px;
}

.product-shipping-location__guarantee-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #565d61;
  font-size: 11.5px;
  line-height: 1.45;
}

.product-shipping-location__guarantee-copy > strong {
  color: var(--shipping-accent);
  font-size: 12.5px;
  font-weight: 750;
}

.product-shipping-location__details {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: #15324a;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(21, 50, 74, 0.34);
  text-underline-offset: 2px;
}

.product-shipping-location__details:hover,
.product-shipping-location__details:focus-visible {
  color: #0e273b;
  text-decoration-color: currentColor;
}

.product-shipping-location__details:focus-visible {
  border-radius: 2px;
  outline: 2px solid rgba(21, 50, 74, 0.55);
  outline-offset: 2px;
}

@media (max-width: 479px) {
  .product-shipping-location__toggle {
    min-height: 0;
    align-items: flex-start;
    padding: 9px 10px;
  }

  .product-shipping-location__summary-icon {
    margin-top: 1px;
  }

  .product-shipping-location__summary-facts {
    font-size: 11px;
  }

  .product-shipping-location__summary-facts--priority {
    width: 100%;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1px 4px;
  }

  .product-shipping-location__summary-promise {
    font-size: 10.5px;
  }

  .product-shipping-location__chevron {
    align-self: center;
  }

  .product-shipping-location__chevron > span {
    display: none;
  }

  .product-shipping-location__panel {
    padding: 11px 10px 12px;
  }

  .product-shipping-location__controls,
  .product-shipping-location__control {
    width: 100%;
  }

  .product-shipping-location__control {
    min-width: 0;
    align-items: flex-start;
    flex-basis: 100%;
    flex-direction: column;
    gap: 5px;
  }

  .product-shipping-location__select-shell {
    width: 100%;
  }

  .product-shipping-location select {
    font-size: 16px;
  }

  .product-shipping-location__service-heading {
    align-items: flex-start;
  }
}

@media (max-width: 359px) {
  .product-shipping-location__toggle {
    min-height: 0;
    gap: 7px;
    padding: 9px 8px;
  }

  .product-shipping-location__summary-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .product-shipping-location__summary-icon svg {
    width: 17px;
    height: 17px;
  }

  .product-shipping-location__summary-copy {
    gap: 2px;
  }

  .product-shipping-location__summary-services {
    flex-basis: 100%;
    gap: 0 7px;
  }

  .product-shipping-location__summary-facts {
    gap: 0 5px;
    font-size: 10.75px;
  }

  .product-shipping-location__summary-promise {
    gap: 3px;
    font-size: 10.25px;
  }

  .product-shipping-location__promise-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .product-shipping-location__promise-icon svg {
    width: 13px;
    height: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-shipping-location,
  .product-shipping-location__toggle,
  .product-shipping-location__chevron svg,
  .product-shipping-location select,
  .product-shipping-location__services {
    transition: none;
  }

  .product-shipping-location__toggle[aria-expanded="true"] + .product-shipping-location__panel:not([hidden]) {
    animation: none;
  }
}
