.delivery {
  margin-top: 95px;
}
@media (min-width: 768px) and (max-width: 1230px) {
  .delivery {
    margin-top: 50px;
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .delivery {
    margin-top: 50px;
  }
}

.banner-page_photo-zones {
  background-image: url(../images/product/fotozons/fotozons-4.jpg);
  background-position: center;
  border-radius: 10px;
}

.delivery-title {
  font-weight: 400;
  font-size: 48px;
  color: #000;
  text-align: center;
  /*font-family: "ArialMT";*/
}
@media (min-width: 768px) and (max-width: 1230px) {
  .delivery-title {
    font-size: 36px;
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .delivery-title {
    font-size: 36px;
  }
}

.delivery__box {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-top: 112px;
}
@media (min-width: 768px) and (max-width: 1230px) {
  .delivery__box {
    margin-top: 41px;
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .delivery__box {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    gap: 30px 0;
  }
}

.delivery__box-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: solid 2px #000;
  padding-right: 202px;
}
@media (min-width: 768px) and (max-width: 1230px) {
  .delivery__box-item {
    padding-right: 34px;
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .delivery__box-item {
    padding-right: 0;
    border: 0;
  }
}

.delivery__box-item:last-child {
  border: transparent;
  padding-right: 0;
}
.delivery__box-item-icon {
  margin-bottom: 30px;
}
@media (min-width: 768px) and (max-width: 1230px) {
  .delivery__box-item-icon {
    width: 69px;
  }
}

.delivery__box-subtitle {
  /*font-family: "ArialMT";*/
  font-weight: 400;
  font-size: 32px;
  margin-bottom: 40px;
  color: #000;
}
@media (min-width: 768px) and (max-width: 1230px) {
  .delivery__box-subtitle {
    font-size: 26px;
    margin-bottom: 25px;
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .delivery__box-subtitle {
    font-size: 16px;
  }
}

.delivery__box-text {
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 29px;
  color: #000;
}

.delivery__phone-link {
  text-decoration: none;
  color: #000;
}

@media (min-width: 768px) and (max-width: 1230px) {
  .delivery__box-text {
    font-size: 15px;
    margin-bottom: 29px;
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .delivery__box-text {
    font-size: 12px;
    margin-bottom: 15px;
  }
}

/*.delivery__box-text b {
  font-family: "ArialMT";
}*/

.delivery__bottom {
  margin: auto;
  margin-top: 100px;
  /* width: 1280px; */
}
@media (min-width: 768px) and (max-width: 1230px) {
  .delivery__bottom {
    margin-top: 50px;
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .delivery__bottom {
    display: none;
  }
}

.delivery__bottom-text {
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #000;
  margin-bottom: 40px;
}
@media (min-width: 768px) and (max-width: 1230px) {
  .delivery__bottom-text {
    font-size: 20px;
    margin-bottom: 30px;
  }
}

.typewriter {
  color: red;
  max-width: 1200px;
  font-family: monospace;
  overflow: hidden;
  border-right: 2px solid #ecad29;
  font-size: 30px;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation:
    typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #ecad29;
  }
}

.gallery-container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Квадратные карточки */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Адаптивность для планшетов (до 767px) */
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .gallery-container {
    padding: 15px;
  }
}

/* Адаптивность для мобильных (до 320px) */
@media (max-width: 320px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .gallery-container {
    padding: 10px;
  }
}
