.delivery-page {
  color: #2f3740;
  line-height: 1.6;
}

.delivery-page * {
  box-sizing: border-box;
}


/* INTRO */

.delivery-intro {
  margin-bottom: 24px;
}

.delivery-intro p {
  margin: 0;
  font-size: 17px;
  color: #5d6873;
}


/* TIMELINE */

.delivery-timeline {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.delivery-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid #d9e8ea;
  border-radius: 12px;
  background: #ffffff;
}

.delivery-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #169aa5;
  color: #ffffff;
  font-weight: 700;
}

.delivery-step-content {
  display: flex;
  flex-direction: column;
}

.delivery-step-content strong {
  font-size: 15px;
}

.delivery-step-content span {
  font-size: 13px;
  color: #66727c;
}

.delivery-arrow {
  display: flex;
  align-items: center;
  color: #169aa5;
  font-size: 22px;
}


/* AFTER 14:00 NOTICE */

.delivery-note {
  margin: 0 0 32px;
  padding: 15px 18px;
  background: #e8f5f6;
  border: 1px solid #bfdee1;
  border-left: 4px solid #169aa5;
  border-radius: 8px;
  color: #34444a;
  text-align: center;
}


/* MAIN GRID */

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


/* DELIVERY TIME CARD */

.delivery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 28px;
  border: 1px solid #c9e0e3;
  border-radius: 14px;
  background: #ffffff;
}

.delivery-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.delivery-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e5f4f5;
  color: #169aa5;
}

.delivery-card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.delivery-card-header h2 {
  margin: 0 0 3px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  color: #2f3740;
}

.delivery-card-header p {
  margin: 0;
  font-size: 14px;
  color: #748087;
}

.delivery-card-content {
  flex: 1;
  padding-top: 18px;
  border-top: 1px solid #dce7e9;
}

.delivery-card-content p {
  margin: 0 0 14px;
}

.delivery-card-content p:last-child {
  margin-bottom: 0;
}


/* DELIVERY PRICE CARD */

.delivery-price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 28px;
  background: #ffffff;
  border: 1px solid #c9e0e3;
  border-radius: 14px;
}

.delivery-price-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.delivery-price-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e5f4f5;
  color: #169aa5;
}

.delivery-price-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.delivery-price-header h2 {
  margin: 0 0 3px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  color: #2f3740;
}

.delivery-price-header p {
  margin: 0;
  font-size: 14px;
  color: #748087;
}


/* PRICE LIST */

.delivery-price-list {
  flex: 1;
  border-top: 1px solid #dce7e9;
}

.delivery-price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 17px 2px;
  border-bottom: 1px solid #dce7e9;
}

.delivery-price-item:last-child {
  border-bottom: 0;
}

.delivery-price-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.delivery-price-info strong {
  font-size: 15px;
  font-weight: 600;
  color: #2f3740;
}

.delivery-price-info span {
  font-size: 13px;
  color: #748087;
}

.delivery-price-value {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 700;
  color: #2f3740;
  white-space: nowrap;
}

.delivery-price-item-free .delivery-price-info strong {
  color: #12838d;
}

.delivery-price-item-free .delivery-price-value {
  padding: 5px 11px;
  border-radius: 20px;
  background: #e5f4f5;
  color: #12838d;
  font-size: 14px;
}


/* GENERAL SECTIONS */

.delivery-section {
  margin: 32px 0;
}

.delivery-section > h2 {
  margin: 0 0 18px;
  font-size: 23px;
  font-weight: 500;
}


/* SPECIAL ORDERS - 50 / 50 */

.delivery-section:has(> .delivery-info-box) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.delivery-section:has(> .delivery-info-box) > h2 {
  grid-column: 1 / -1;
  margin-bottom: 5px;
}

.delivery-info-box {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid #d8e3e5;
  border-left: 4px solid #169aa5;
  background: #ffffff;
  border-radius: 0 10px 10px 0;
}

.delivery-info-box h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 500;
}

.delivery-info-box p {
  margin: 0;
}


/* AQUARIUM SHIPPING NOTICE */

.checkout-shipping-notice {
  margin: 32px 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #c9e0e3;
  border-left: 5px solid #169aa5;
  border-radius: 12px;
}

.checkout-shipping-notice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.checkout-shipping-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #169aa5;
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
}

.checkout-shipping-notice-title {
  font-size: 21px;
  line-height: 1.3;
  color: #263a3e;
}

.checkout-shipping-notice-intro {
  margin: 0 0 24px;
  color: #4c5e62;
}


/* THREE COLUMNS */

.checkout-shipping-notice-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.checkout-shipping-notice-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 20px;
  background: #f8fbfb;
  border: 1px solid #d8e7e9;
  border-radius: 10px;
}

.checkout-shipping-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #169aa5;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.checkout-shipping-notice-step strong {
  display: block;
  margin-bottom: 8px;
  color: #293b3f;
  font-size: 16px;
  line-height: 1.4;
}

.checkout-shipping-notice-step p {
  margin: 0;
  color: #58686c;
  line-height: 1.6;
}


/* THANK-YOU ACCENT */

.checkout-shipping-notice-thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #dce7e9;
  text-align: center;
  color: #24565b;
  font-size: 18px;
  font-weight: 600;
}

.checkout-shipping-notice-thanks svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: #169aa5;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* EXCEPTIONS */

.delivery-exceptions {
  padding: 25px;
  background: #ffffff;
  border: 1px solid #dce3e5;
  border-radius: 14px;
}

.delivery-exceptions h2 {
  margin-top: 0;
}

.delivery-exceptions ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.delivery-exceptions li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
}

.delivery-exceptions li:last-child {
  margin-bottom: 0;
}

.delivery-exceptions li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: #169aa5;
  border-radius: 50%;
  transform: translateY(-50%);
}

.delivery-exceptions p {
  margin: 18px 0 0;
  padding-top: 17px;
  border-top: 1px solid #e3e7e8;
  font-weight: 500;
}


/* BOTTOM NOTE */

.delivery-bottom-note {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid #cddfe2;
  border-left: 4px solid #169aa5;
  border-radius: 10px;
  background: #ffffff;
}


/* PAGE TITLE */

h1.title.page-title {
  position: relative;
  margin: 0 0 28px;
  padding: 18px 0 16px 22px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  color: #2f3740;
  letter-spacing: -0.4px;
}

h1.title.page-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background: #169aa5;
  border-radius: 4px;
}

h1.title.page-title::after {
  content: "ДОСТАВКА";
  position: absolute;
  left: 22px;
  top: -7px;
  padding: 2px 8px;
  background: #e5f4f5;
  border-radius: 10px;
  color: #12838d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.7px;
}


/* MOBILE */

@media (max-width: 768px) {

  .delivery-intro {
    margin-bottom: 20px;
  }

  .delivery-timeline {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }

  .delivery-arrow {
    display: none;
  }

  .delivery-step {
    width: 100%;
  }

  .delivery-note {
    margin-bottom: 28px;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }

  .delivery-card,
  .delivery-price-card {
    padding: 22px 20px;
  }

  .delivery-card-header,
  .delivery-price-header {
    align-items: flex-start;
  }

  .delivery-section {
    margin: 28px 0;
  }

  .delivery-section:has(> .delivery-info-box) {
    grid-template-columns: 1fr;
  }

  .delivery-price-item {
    gap: 15px;
  }

  .delivery-price-info strong {
    font-size: 14px;
  }

  .delivery-price-value {
    font-size: 15px;
  }

  .checkout-shipping-notice {
    margin: 28px 0;
    padding: 20px;
  }

  .checkout-shipping-notice-title {
    font-size: 18px;
  }

  .checkout-shipping-notice-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .checkout-shipping-notice-step {
    align-items: flex-start;
    text-align: left;
  }

  .checkout-shipping-step-number {
    margin-bottom: 10px;
  }

  .checkout-shipping-notice-thanks {
    margin-top: 22px;
    padding-top: 18px;
    font-size: 16px;
  }

  .delivery-bottom-note {
    margin-top: 28px;
  }

  h1.title.page-title {
    margin-bottom: 24px;
    padding: 16px 0 14px 18px;
    font-size: 28px;
  }

  h1.title.page-title::before {
    top: 12px;
    bottom: 12px;
  }

  h1.title.page-title::after {
    left: 18px;
    top: -6px;
    font-size: 10px;
  }
}