.delivery-page {
  --delivery-ink: #111318;
  --delivery-muted: #5e6673;
  --delivery-soft: #fbfafc;
  --delivery-line: rgba(20, 24, 31, 0.08);
  --delivery-card-shadow: 0 18px 52px rgba(16, 24, 40, 0.065);
  --delivery-card-shadow-strong: 0 22px 62px rgba(16, 24, 40, 0.095);
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 48%, #fff 100%);
  color: var(--delivery-ink);
}

.delivery-main {
  width: min(1568px, calc(100% - clamp(32px, 4.6vw, 96px)));
  margin: 0 auto;
  padding: clamp(8px, 0.8vw, 14px) 0 clamp(58px, 6vw, 96px);
}

.delivery-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(8px, 0.9vw, 14px);
  color: #858b95;
  font-size: 13px;
  font-weight: 700;
}

.delivery-breadcrumbs a:hover,
.delivery-breadcrumbs a:focus-visible {
  color: var(--pink);
}

.delivery-eyebrow {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
  padding: clamp(12px, 1.2vw, 18px) 0 clamp(20px, 2.4vw, 34px);
  border-bottom: 1px solid var(--delivery-line);
}

.delivery-hero__copy {
  display: grid;
  align-content: center;
}

.delivery-hero__copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--delivery-ink);
  font-family: var(--display-font);
  font-size: clamp(46px, 4.1vw, 70px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.delivery-hero__copy p:not(.delivery-eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: #434851;
  font-size: clamp(15px, 0.9vw, 17px);
  font-weight: 450;
  line-height: 1.55;
}

.delivery-regions__content > p {
  margin: 14px 0 0;
  color: #434851;
  font-size: clamp(15px, 0.9vw, 17px);
  font-weight: 450;
  line-height: 1.55;
}

.delivery-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.delivery-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(var(--theme-accent-rgb), 0.34);
  border-radius: 8px;
  background: #fff;
  color: var(--pink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.delivery-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.delivery-button--primary {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
  box-shadow: none;
}

.delivery-button:hover,
.delivery-button:focus-visible {
  border-color: var(--pink);
  background: #fff;
  color: var(--pink);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.055);
}

.delivery-button--primary:hover,
.delivery-button--primary:focus-visible {
  border-color: var(--color-primary-active, var(--pink-dark));
  background: var(--color-primary-active, var(--pink-dark));
  color: #fff;
  box-shadow: 0 6px 16px rgba(var(--theme-accent-rgb), 0.14);
}

:is(.delivery-route, .delivery-pricing, .delivery-regions, .delivery-faq__item) {
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--delivery-card-shadow);
}

.delivery-route {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 278px;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(253, 250, 252, 0.94)),
    #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.delivery-route::before,
.delivery-pricing::before,
.delivery-regions::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), #12805c);
  content: "";
}

.delivery-route:hover,
.delivery-regions:hover,
.delivery-faq__item:hover {
  border-color: rgba(var(--theme-accent-rgb), 0.16);
  box-shadow: var(--delivery-card-shadow-strong);
}

.delivery-route__head {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.delivery-route__head > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(var(--theme-accent-rgb), 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff8fc, #fff);
  color: var(--pink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.delivery-route__head svg {
  width: 24px;
  height: 24px;
}

.delivery-route__head strong {
  display: block;
  color: #111;
  font-size: clamp(24px, 1.6vw, 30px);
  font-weight: 950;
  line-height: 1.04;
}

.delivery-route__head small {
  display: block;
  margin-top: 6px;
  color: var(--delivery-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

:is(.delivery-route__facts, .delivery-region-facts) {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--delivery-line);
  border-radius: 8px;
  background: #fff;
}

:is(.delivery-route__facts, .delivery-region-facts) div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--delivery-line);
  background: rgba(252, 250, 252, 0.72);
}

:is(.delivery-route__facts, .delivery-region-facts) div:last-child {
  border-bottom: 0;
}

:is(.delivery-route__facts, .delivery-region-facts) dt {
  color: #7a818c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

:is(.delivery-route__facts, .delivery-region-facts) dd {
  margin: 0;
  color: var(--delivery-ink);
  font-size: 15px;
  font-weight: 500;
}

.delivery-logistics {
  display: grid;
  gap: 24px;
  padding-top: clamp(18px, 2.2vw, 32px);
}

.delivery-regions h2,
.delivery-section-head h2 {
  margin: 0;
  color: var(--delivery-ink);
  font-size: clamp(28px, 1.9vw, 36px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.delivery-pricing {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(253, 251, 253, 0.95)),
    #fff;
}

.delivery-table-wrap {
  display: grid;
  align-content: start;
  padding: 22px;
  background: transparent;
}

.delivery-prices {
  width: 100%;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--delivery-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(16, 24, 40, 0.045);
}

.delivery-prices caption {
  padding: 0 0 14px;
  color: #111;
  text-align: left;
}

.delivery-prices caption span {
  display: block;
  font-size: clamp(28px, 1.9vw, 36px);
  font-weight: 950;
  line-height: 1;
}

.delivery-prices caption small {
  display: block;
  max-width: 760px;
  margin-top: 8px;
  color: var(--delivery-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.delivery-prices th,
.delivery-prices td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--delivery-line);
  color: #343a44;
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
}

.delivery-prices thead th {
  background: #eef1f4;
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.delivery-prices thead th:first-child {
  border-top-left-radius: 8px;
}

.delivery-prices thead th:last-child {
  border-top-right-radius: 8px;
  text-align: right;
}

.delivery-prices tbody th {
  color: var(--delivery-ink);
  font-size: 15px;
  font-weight: 900;
  transition: color 150ms ease;
}

.delivery-prices tbody td:last-child {
  width: 220px;
  text-align: right;
}

.delivery-prices tbody tr {
  transition: background-color 150ms ease;
}

.delivery-prices tbody tr:hover {
  background: linear-gradient(90deg, rgba(var(--theme-accent-rgb), 0.07), rgba(var(--theme-accent-rgb), 0.025));
}

.delivery-prices tbody tr.is-highlight {
  background: linear-gradient(90deg, rgba(var(--theme-accent-rgb), 0.08), rgba(var(--theme-accent-rgb), 0.025));
}

.delivery-prices tbody tr:hover th {
  color: var(--pink);
}

.delivery-prices tbody tr:hover .delivery-price,
.delivery-prices tbody tr.is-highlight .delivery-price {
  border-color: rgba(var(--theme-accent-rgb), 0.28);
  background: color-mix(in srgb, var(--pink-soft) 72%, #ffffff);
  color: var(--pink);
}

.delivery-prices tbody tr.is-highlight th {
  color: var(--pink);
}

.delivery-prices tr:last-child th,
.delivery-prices tr:last-child td {
  border-bottom: 0;
}

.delivery-price {
  display: inline-flex;
  min-width: 86px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(18, 128, 92, 0.18);
  border-radius: 8px;
  background: rgba(18, 128, 92, 0.075);
  color: #12805c;
  font-size: 13px;
  font-weight: 950;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
  white-space: nowrap;
}

.delivery-regions {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(252, 250, 252, 0.94)),
    #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.delivery-faq {
  margin-top: 36px;
}

.delivery-section-head {
  max-width: 760px;
}

.delivery-faq p {
  margin: 0;
  color: #434851;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.55;
}

.delivery-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 18px;
}

.delivery-faq__item {
  align-self: start;
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.delivery-faq__item summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  color: #111;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.18;
  cursor: pointer;
  list-style: none;
}

.delivery-faq__item summary::-webkit-details-marker {
  display: none;
}

.delivery-faq__item summary:focus-visible {
  outline: 3px solid rgba(var(--theme-accent-rgb), 0.18);
  outline-offset: -3px;
}

.delivery-faq__arrow {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid rgba(var(--theme-accent-rgb), 0.2);
  border-radius: 8px;
  background: #fff8fc;
}

.delivery-faq__arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  content: "";
  transform: translate(-50%, -62%) rotate(45deg);
  transition: transform 160ms ease;
}

.delivery-faq__item[open] .delivery-faq__arrow::before {
  transform: translate(-50%, -35%) rotate(225deg);
}

.delivery-faq__item p {
  margin: 0;
  padding: 0 20px 20px;
  border-top: 1px solid var(--delivery-line);
  padding-top: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .delivery-route:hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 700px) {
  .delivery-main {
    --delivery-header-x: clamp(16px, 2.4vw, 24px);
    --delivery-menu-width: 128px;
    --delivery-header-gap: 14px;
    --delivery-logo-edge: calc(var(--delivery-header-x) + var(--delivery-menu-width) + var(--delivery-header-gap));
    --delivery-outer-edge: var(--delivery-header-x);

    width: min(1568px, calc(100% - (var(--delivery-outer-edge) * 2)));
    max-width: none;
    margin-right: var(--delivery-outer-edge);
    margin-left: var(--delivery-outer-edge);
  }
}

@media (min-width: 1280px) {
  .delivery-main {
    --delivery-header-x: 32px;
    --delivery-menu-width: 144px;
    --delivery-header-gap: 18px;
    --delivery-outer-edge: var(--delivery-logo-edge);
  }
}

@media (min-width: 1440px) {
  .delivery-main {
    --delivery-outer-edge: var(--bodycare-content-edge);
    width: var(--bodycare-content-width);
    margin-right: var(--delivery-outer-edge);
    margin-left: var(--delivery-outer-edge);
  }

  .delivery-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.5fr);
  }
}

@media (min-width: 1900px) {
  .delivery-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.52fr);
  }
}

@media (max-width: 1180px) {
  .delivery-hero,
  .delivery-regions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .delivery-main {
    width: min(100% - 28px, 1520px);
    padding-top: 18px;
    padding-bottom: 112px;
  }

  .delivery-breadcrumbs {
    display: none;
  }

  .delivery-hero {
    gap: 22px;
    padding-top: 0;
  }

  .delivery-hero__copy h1 {
    font-size: 48px;
  }

  .delivery-prices caption span,
  .delivery-regions h2,
  .delivery-section-head h2 {
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .delivery-hero__actions,
  .delivery-button {
    width: 100%;
  }

  .delivery-route {
    min-height: 0;
  }

  .delivery-faq__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .delivery-main {
    width: min(100% - 24px, 1520px);
  }

  .delivery-hero__copy h1 {
    font-size: 38px;
  }

  .delivery-route,
  .delivery-regions,
  .delivery-faq__item summary {
    padding: 20px;
  }

  .delivery-route__head {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .delivery-route__head > span {
    width: 50px;
    height: 50px;
  }

  .delivery-route__head strong {
    font-size: 23px;
  }

  .delivery-table-wrap {
    padding: 20px;
    overflow-x: auto;
  }

  .delivery-prices caption span,
  .delivery-regions h2,
  .delivery-section-head h2 {
    font-size: 28px;
  }

  .delivery-prices th,
  .delivery-prices td {
    padding: 16px 14px;
  }

  .delivery-prices tbody td:last-child {
    width: 116px;
  }

  .delivery-prices {
    min-width: 0;
  }

  .delivery-price {
    min-width: 76px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }
}
