/* Доставка: использует существующие HeadMini, TextMini, arrow и redbutton */
.delivery-section{background:#f9f5f3;padding:34px 3.5% 62px;}
.delivery-inner{max-width:1460px;margin:auto;}
.ozon-heading{width:max-content;margin:0 auto 56px;padding-bottom:15px;border-bottom:2px solid var(--red);color:var(--red);font-size:clamp(21px,2vw,28px);font-weight:600;text-align:center;}
.delivery-layout{display:grid;grid-template-columns:minmax(180px,0.9fr) minmax(330px,1.65fr) minmax(275px,1.2fr);align-items:start;gap:clamp(20px,2.5vw,40px);}
.delivery-photo{display:block;width:100%;height:330px;object-fit:cover;border-radius:12px;}
.delivery-title-line{display:flex;align-items:center;gap:10px;white-space:nowrap;margin:4px 0 22px;}
.delivery-title-line .HeadMini{font-size:clamp(26px,2.8vw,42px)!important;line-height:1!important;}
.delivery-title-line .arrow{width:clamp(45px,6vw,95px);height:auto;}
.delivery-description{line-height:1.3;margin:0 0 25px;}
.delivery-benefits{display:flex;justify-content:space-between;gap:14px;max-width:430px;}
.delivery-benefit{flex:1;text-align:center;font-family:Montserrat,Arial,sans-serif;font-size:clamp(13px,1.2vw,17px);line-height:1.2;}
.delivery-benefit img{display:block;width:100px;height:100px;object-fit:contain;margin:0 auto;}
.delivery-form-title{font-size:clamp(20px,1.8vw,29px)!important;line-height:1.2!important;text-align:center;margin:24px 0 20px;}
.delivery-form{display:flex;flex-direction:column;gap:12px;}
.delivery-form input{width:100%;min-height:38px;border:1px solid #df858b;background:transparent;padding:8px 10px;color:var(--ink);font:400 16px Montserrat,Arial,sans-serif;border-radius:0;}
.delivery-form input::placeholder{color:var(--red);opacity:1;}
.delivery-submit.redbutton{align-self:center;width:70%;margin-top:12px;padding:9px 15px;}
.delivery-integration-placeholder{text-align:center;margin-top:15px;color:#8e7373;font:400 11px Montserrat,Arial,sans-serif;}
@media(max-width:1100px){.delivery-layout{grid-template-columns:minmax(160px,.8fr) minmax(290px,1.4fr)}.delivery-request{grid-column:1/-1;max-width:520px;width:100%;margin:0 auto}.delivery-form-title{margin-top:10px}.delivery-photo{height:300px}}
@media(max-width:650px){.delivery-section{padding:34px 5% 48px}.ozon-heading{margin-bottom:30px}.delivery-layout{grid-template-columns:1fr;gap:25px}.delivery-photo{max-width:390px;height:auto;aspect-ratio:1/1;justify-self:center}.delivery-title-line{white-space:normal}.delivery-title-line .HeadMini{font-size:32px!important}.delivery-title-line .arrow{width:55px}.delivery-benefits{margin:0 auto}.delivery-request{grid-column:auto}.delivery-form-title{margin-top:5px}}

@media(max-width:650px){.delivery-benefit img{width:clamp(70px,23vw,100px);height:clamp(70px,23vw,100px);}}

/* Выравнивание блока доставки: иконки по нижнему краю фотографии */
@media (min-width:1101px){
  .delivery-layout{grid-template-columns:minmax(190px,.9fr) minmax(330px,1.65fr) minmax(275px,1.2fr);column-gap:clamp(16px,1.8vw,28px);align-items:stretch;}
  .delivery-photo{height:360px;}
  .delivery-info{display:flex;flex-direction:column;min-height:360px;}
  .delivery-benefits{margin-top:auto;width:100%;}
  .delivery-description{font-size:clamp(19px,1.45vw,23px);line-height:1.35;margin:0 0 16px;}
  .delivery-request{align-self:start;}
}
@media (min-width:651px) and (max-width:1100px){
  .delivery-info{display:flex;flex-direction:column;min-height:300px;}
  .delivery-benefits{margin-top:auto;}
  .delivery-description{font-size:clamp(18px,2vw,22px);line-height:1.35;}
}
@media (max-width:650px){
  .delivery-description{font-size:19px;line-height:1.35;}
}

/* Крупные иллюстрации: занимают всё пространство под текстом
   и выравниваются по нижнему краю фотографии коробки. */
@media (min-width: 651px) {
  .delivery-info { display:flex; flex-direction:column; }
  .delivery-benefits {
    flex:1 1 auto;
    min-height:0;
    max-width:none;
    width:100%;
    margin-top:0;
    align-items:stretch;
    gap:clamp(8px,1.2vw,18px);
  }
  .delivery-benefit {
    display:flex;
    flex:1 1 0;
    min-width:0;
    align-items:flex-end;
    justify-content:center;
  }
  .delivery-benefit img {
    width:100%;
    height:100%;
    min-height:0;
    object-fit:contain;
    object-position:center bottom;
    margin:0;
  }
}

/* Три иконки доставки: уменьшены примерно на 20% от 192px до 154px. */
.delivery-benefit img {
  width: 154px;
  height: 154px;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 651px) {
  .delivery-benefits { align-items: flex-end; flex: 1 1 auto; }
  .delivery-benefit { align-items: flex-end; }
}
@media (max-width: 650px) {
  .delivery-benefit img { width: 154px; height: 154px; }
}
