/* =========================
   iPhone catalog page
========================= */

.service-iphone-page .inner-page-content {
  padding-top: 0;
  padding-bottom: 56px;
  background: #ffffff;
}

.iphone-catalog-page {
  display: block;
}

.iphone-breadcrumbs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 18px;
  color: #444444;
  font-size: 14px;
  line-height: 1.4;
}

.iphone-breadcrumbs::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: #eeeeee;
  transform: translateX(-50%);
}

.iphone-breadcrumbs a {
  color: #555555;
}

.iphone-breadcrumbs a:hover {
  color: #111111;
}

.iphone-breadcrumbs span:last-child {
  color: #111111;
  font-weight: 600;
}

.iphone-catalog-header {
  padding-top: 36px;
  padding-bottom: 44px;
  text-align: center;
}

.iphone-catalog-header h1 {
  max-width: none;
  margin: 0 0 12px;
  color: #333333;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.iphone-catalog-header p {
  max-width: 620px;
  margin: 0 auto;
  color: #555555;
  font-size: 15px;
  line-height: 1.55;
}

.iphone-models-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(4, 220px);
  justify-content: center;
  gap: 66px 40px;
  margin: 0 auto;
}

.iphone-model-card {
  width: 220px;
  min-height: 305px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0 0;
  text-align: center;
  transition: transform 0.25s ease;
}

.iphone-model-card:hover {
  transform: translateY(-4px);
}

.iphone-model-card img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto 24px;
}

.iphone-model-card span {
  display: block;
  color: #333333;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.iphone-model-card:hover span {
  color: #111111;
}

@media (max-width: 1180px) {
  .iphone-models-grid {
    max-width: 860px;
    grid-template-columns: repeat(3, 220px);
  }
}

@media (max-width: 820px) {
  .iphone-catalog-header {
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .iphone-catalog-header h1 {
    font-size: 32px;
  }

  .iphone-models-grid {
    max-width: 520px;
    grid-template-columns: repeat(2, 220px);
    gap: 42px 28px;
  }
}

@media (max-width: 560px) {
  .iphone-breadcrumbs {
    padding-top: 18px;
    padding-bottom: 14px;
    font-size: 13px;
  }

  .iphone-catalog-header h1 {
    font-size: 30px;
  }

  .iphone-catalog-header p {
    font-size: 14px;
  }

  .iphone-models-grid {
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 14px;
  }

  .iphone-model-card {
    width: 100%;
    min-height: 230px;
  }

  .iphone-model-card img {
    width: 145px;
    height: 145px;
    margin-bottom: 16px;
  }

  .iphone-model-card span {
    font-size: 15px;
  }
}

/* iPhone catalog fine tuning */

.iphone-breadcrumbs {
  position: relative;
  display: block;
  padding-top: 18px;
  padding-bottom: 18px;
  color: #444444;
}

.iphone-breadcrumbs::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: #eeeeee;
  transform: translateX(-50%);
}

.iphone-breadcrumbs .is-breadcrumbs-item {
  display: inline-block;
  line-height: 20px;
  vertical-align: top;
  font-weight: 500;
  font-size: 0.9em;
}

.iphone-breadcrumbs a.is-breadcrumbs-item {
  color: #555555;
}

.iphone-breadcrumbs a.is-breadcrumbs-item:hover {
  color: #111111;
}

.iphone-breadcrumbs-separator {
  display: inline-block;
  margin: 0 8px;
  line-height: 20px;
  vertical-align: top;
  color: #777777;
  font-weight: 500;
  font-size: 0.9em;
}

.iphone-catalog-header {
  padding-top: 36px;
  padding-bottom: 36px;
  text-align: center;
}

.iphone-catalog-header h1 {
  max-width: none;
  margin-top: 1px;
  margin-bottom: 10px;
  color: #333333;
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: 0;
}

.iphone-catalog-header p {
  display: block;
  max-width: none;
  margin: 0 0 20px;
  color: #555555;
  font-size: 15px;
  line-height: 1.5;
  unicode-bidi: isolate;
}

.iphone-model-card span {
  display: block;
  margin-top: 20px;
  padding-bottom: 10px;
  color: #333333;
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1.3;
}

.iphone-model-card img {
  margin-bottom: 0;
}

/* iPhone catalog compact spacing */

.service-iphone-page .inner-page-content {
  padding-bottom: 40px;
}

.iphone-breadcrumbs {
  padding-top: 12px;
  padding-bottom: 10px;
}

.iphone-catalog-header {
  padding-top: 24px;
  padding-bottom: 26px;
}

.iphone-catalog-header h1 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

.iphone-catalog-header p {
  margin: 0;
  line-height: 1.4;
}

.iphone-models-grid {
  gap: 22px 40px;
}

.iphone-model-card {
  min-height: 270px;
  padding-top: 0;
}

.iphone-model-card img {
  width: 210px;
  height: 210px;
  margin-bottom: 0;
}

.iphone-model-card span {
  margin-top: 12px;
  padding-bottom: 0;
  font-size: 1.15em;
  line-height: 1.25;
}

@media (max-width: 820px) {
  .iphone-catalog-header {
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .iphone-models-grid {
    gap: 34px 28px;
  }
}

@media (max-width: 560px) {
  .iphone-breadcrumbs {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .iphone-catalog-header {
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .iphone-catalog-header h1 {
    font-size: 30px;
    line-height: 34px;
  }

  .iphone-model-card {
    min-height: 200px;
  }

  .iphone-model-card img {
    width: 140px;
    height: 140px;
  }

  .iphone-model-card span {
    margin-top: 10px;
    font-size: 15px;
  }

  .iphone-models-grid {
    gap: 28px 14px;
  }
}

/* iPhone model hover style */

.iphone-model-card {
  border-radius: 22px;
}

.iphone-model-card:hover {
  transform: translateY(-4px);
}

.iphone-model-card:hover span {
  color: #111111;
}

.iphone-model-card:hover img {
  transform: scale(1.04);
}

.iphone-model-card img {
  transition: transform 0.2s ease;
}

.iphone-model-card span {
  transition: color 0.2s ease;
}
