.elka-delivery-host > .g-title,
.moduletable:has(.elka-delivery) > .g-title {
  display: none;
}

.platform-content:has(.elka-delivery),
.g-block:has(.elka-delivery),
.g-grid:has(.elka-delivery),
.g-container:has(.elka-delivery),
#g-page-surround:has(.elka-delivery),
#g-main:has(.elka-delivery),
#g-container-main:has(.elka-delivery),
.g-content:has(.elka-delivery) {
  overflow: visible !important;
}

.g-content:has(.elka-delivery) {
  margin: 0;
  padding: 0;
}

.elka-delivery,
.elka-delivery *,
.elka-delivery *::before,
.elka-delivery *::after {
  box-sizing: border-box;
}

.elka-delivery {
  --elka-delivery-green: #078c43;
  --elka-delivery-green-dark: #006f32;
  --elka-delivery-ink: #17212b;
  --elka-delivery-text: #505a60;
  --elka-delivery-muted: #727b82;
  --elka-delivery-line: #dde5e0;
  --elka-delivery-line-soft: #edf1ee;
  --elka-delivery-soft: #f7faf8;

  position: relative;
  left: 50%;
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  margin: 0;
  padding: 0 0 44px;
  color: var(--elka-delivery-text);
  background: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.35;
  transform: translateX(-50%);
}

.elka-delivery h1,
.elka-delivery h2,
.elka-delivery h3,
.elka-delivery p {
  margin-top: 0;
}

.elka-delivery h1,
.elka-delivery h2,
.elka-delivery h3,
.elka-delivery strong,
.elka-delivery__section-title {
  color: var(--elka-delivery-ink);
}

.elka-delivery h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.elka-delivery__overview {
  padding: 24px 26px 26px;
  background: #fff;
  border: 1px solid var(--elka-delivery-line);
  border-radius: 14px;
}

.elka-delivery__lead {
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  color: var(--elka-delivery-text);
  font-size: 15px;
  line-height: 1.5;
}

.elka-delivery__summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.elka-delivery__summary-card {
  display: flex;
  min-width: 0;
  min-height: 104px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--elka-delivery-line);
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
}

.elka-delivery__summary-card h2 {
  margin: 0 0 10px;
  color: var(--elka-delivery-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.elka-delivery__summary-card strong {
  color: var(--elka-delivery-green);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.elka-delivery__section {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--elka-delivery-line);
  border-radius: 14px;
}

.elka-delivery__section--accordion {
  overflow: hidden;
}

.elka-delivery__section-summary,
.elka-delivery__section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px 20px;
  color: inherit;
  gap: 20px;
}

.elka-delivery__section-summary {
  cursor: pointer;
  list-style: none;
}

.elka-delivery__section-summary::-webkit-details-marker {
  display: none;
}

.elka-delivery__section-summary::marker {
  display: none;
  content: "";
}

.elka-delivery__section-summary:focus {
  outline: none;
}

.elka-delivery__section-summary:focus-visible {
  border-radius: 12px;
  outline: 3px solid rgb(7 140 67 / 24%);
  outline-offset: -4px;
}

.elka-delivery__heading-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.elka-delivery__section-title {
  display: block;
  margin: 0;
  font-size: clamp(21px, 1.9vw, 24px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.elka-delivery__chevron {
  display: inline-flex;
  width: 26px;
  height: 26px;
  margin-top: 3px;
  color: var(--elka-delivery-green);
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease;
}

.elka-delivery__chevron svg {
  display: block;
  width: 21px;
  height: 21px;
}

.elka-delivery__chevron path {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.elka-delivery__section[open] .elka-delivery__chevron {
  transform: rotate(180deg);
}

.elka-delivery__section-body {
  padding: 0 34px 26px;
}

.elka-delivery__intro,
.elka-delivery__region,
.elka-delivery__other-copy {
  margin-left: 0;
}

.elka-delivery__intro {
  max-width: 1010px;
}

.elka-delivery__intro > strong,
.elka-delivery__region-rate {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.elka-delivery__intro p,
.elka-delivery__region-copy p,
.elka-delivery__other-copy p {
  margin-bottom: 0;
  color: var(--elka-delivery-text);
  font-size: 15px;
  line-height: 1.55;
}

.elka-delivery__pricing {
  margin-top: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--elka-delivery-line);
  border-radius: 10px;
}

.elka-delivery__price-group {
  padding: 22px 26px 20px;
}

.elka-delivery__price-group + .elka-delivery__price-group {
  border-top: 1px solid var(--elka-delivery-line-soft);
}

.elka-delivery__price-group h3 {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}

.elka-delivery__price-rows {
  display: grid;
  gap: 9px;
}

.elka-delivery__price-row,
.elka-delivery__region-special {
  display: grid;
  min-width: 0;
  grid-template-columns: max-content minmax(24px, 1fr) max-content;
  align-items: end;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
}

.elka-delivery__price-row > span:first-child,
.elka-delivery__region-special > span:first-child {
  color: var(--elka-delivery-text);
}

.elka-delivery__price-row strong,
.elka-delivery__region-special strong {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.elka-delivery__price-line {
  min-width: 18px;
  border-bottom: 1px solid var(--elka-delivery-line-soft);
  transform: translateY(-0.31em);
}

.elka-delivery__notice {
  margin: 0 26px 20px;
  padding: 13px 16px;
  color: var(--elka-delivery-text);
  background: var(--elka-delivery-soft);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.elka-delivery__region-rate {
  margin-bottom: 10px;
}

.elka-delivery__region-special {
  margin-bottom: 11px;
}

.elka-delivery__region-copy p + p,
.elka-delivery__other-copy p + p {
  margin-top: 4px;
}

.elka-delivery__section-header--compact {
  padding-top: 21px;
  padding-bottom: 21px;
}

.elka-delivery__compact-value {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.elka-delivery__compact-note {
  margin-top: 3px;
  color: var(--elka-delivery-muted);
  font-size: 13px;
  line-height: 1.45;
}

.elka-delivery__section-body--compact {
  padding-top: 2px;
}

.elka-delivery__addresses {
  display: grid;
  margin-left: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.elka-delivery__address {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--elka-delivery-line);
  border-radius: 10px;
}

.elka-delivery__address span {
  display: block;
  margin-bottom: 5px;
  color: var(--elka-delivery-green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: uppercase;
}

.elka-delivery__address strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.elka-delivery__section--payment {
  padding: 22px 24px 26px;
}

.elka-delivery__payment-grid {
  display: grid;
  margin: 20px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.elka-delivery__payment-grid article {
  min-height: 120px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--elka-delivery-line);
  border-radius: 10px;
}

.elka-delivery__payment-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--elka-delivery-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.elka-delivery__payment-grid p {
  margin-bottom: 0;
  color: var(--elka-delivery-text);
  font-size: 14px;
  line-height: 1.55;
}

.elka-delivery__catalog-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: 20px;
  padding: 13px 22px;
  color: #fff;
  background: var(--elka-delivery-green);
  border: 1px solid var(--elka-delivery-green);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.elka-delivery__catalog-button:hover,
.elka-delivery__catalog-button:focus-visible {
  color: #fff;
  background: var(--elka-delivery-green-dark);
  border-color: var(--elka-delivery-green-dark);
  text-decoration: none;
}

.elka-delivery__catalog-button:focus-visible {
  outline: 3px solid rgb(7 140 67 / 24%);
  outline-offset: 3px;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .elka-delivery {
    width: min(960px, calc(100vw - 48px));
  }
}

@media (max-width: 980px) {
  .elka-delivery__summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .elka-delivery {
    width: calc(100vw - 24px);
    max-width: none;
    padding-bottom: 92px;
  }

  .elka-delivery__overview {
    padding: 20px 16px 18px;
    border-radius: 12px;
  }

  .elka-delivery h1 {
    margin-bottom: 7px;
    font-size: 25px;
  }

  .elka-delivery__lead {
    margin-bottom: 17px;
    font-size: 13px;
    line-height: 1.5;
  }

  .elka-delivery__summary-grid {
    gap: 8px;
  }

  .elka-delivery__summary-card {
    min-height: 92px;
    padding: 14px;
    border-radius: 9px;
  }

  .elka-delivery__summary-card h2 {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .elka-delivery__summary-card strong {
    font-size: 16px;
    white-space: normal;
  }

  .elka-delivery__section {
    margin-top: 14px;
    border-radius: 12px;
  }

  .elka-delivery__section-summary,
  .elka-delivery__section-header {
    padding: 18px 16px 16px;
    gap: 10px;
  }

  .elka-delivery__section-title {
    font-size: 20px;
  }

  .elka-delivery__chevron {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .elka-delivery__section-body {
    padding: 0 16px 20px;
  }

  .elka-delivery__intro > strong,
  .elka-delivery__region-rate {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .elka-delivery__intro p,
  .elka-delivery__region-copy p,
  .elka-delivery__other-copy p {
    font-size: 14px;
  }

  .elka-delivery__pricing {
    margin-top: 18px;
  }

  .elka-delivery__price-group {
    padding: 18px 14px 16px;
  }

  .elka-delivery__price-group h3 {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .elka-delivery__price-row,
  .elka-delivery__region-special {
    gap: 7px;
    font-size: 13px;
  }

  .elka-delivery__price-row strong,
  .elka-delivery__region-special strong {
    font-size: 13px;
  }

  .elka-delivery__notice {
    margin: 0 14px 16px;
    padding: 12px 13px;
    font-size: 12px;
  }

  .elka-delivery__section-header--compact {
    padding-top: 17px;
    padding-bottom: 17px;
  }

  .elka-delivery__compact-value {
    margin-top: 6px;
    font-size: 14px;
  }

  .elka-delivery__compact-note {
    font-size: 12px;
  }

  .elka-delivery__addresses,
  .elka-delivery__payment-grid {
    grid-template-columns: 1fr;
  }

  .elka-delivery__section--payment {
    padding: 18px 16px 20px;
  }

  .elka-delivery__payment-grid {
    margin: 16px 0 0;
    gap: 8px;
  }

  .elka-delivery__payment-grid article {
    min-height: 0;
    padding: 16px;
  }

  .elka-delivery__catalog-button {
    min-height: 50px;
    margin-top: 14px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .elka-delivery__region-special {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .elka-delivery__region-special .elka-delivery__price-line {
    display: none;
  }
}

@media (max-width: 359.98px) {
  .elka-delivery__summary-grid {
    grid-template-columns: 1fr;
  }

  .elka-delivery__summary-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elka-delivery__chevron,
  .elka-delivery__catalog-button {
    transition: none;
  }
}
