/* =========================================================
   08. ИНДИВИДУАЛЬНЫЙ ЗАКАЗ / CUSTOM ORDER
   ========================================================= */

.custom-section {
  width: 100%;
  min-width: 0;

  padding-top: var(--space-section, 72px);
  padding-right: var(--page-right-gap, 43px) !important;
  padding-bottom: 0;
  padding-left: var(--page-left-gap, 24px) !important;

}


/* =========================================================
   BUTTON
   ========================================================= */

.custom-order-button {
  display: grid;
  place-items: center;

  width: min(100%, 280px);
  min-height: 50px;

  margin-top: var(--space-content, 28px);

  padding: 0 28px;

  border: 2px solid var(--accent, #ed6c02);
  border-radius: 999px;

  background: transparent;

  font-size: 17px;
  line-height: 1;

  justify-self: start;

  cursor: pointer;

  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}


.custom-order-button:hover,
.custom-order-button:focus-visible {
  color: #fff;
  background: var(--accent, #ed6c02);
}


/* =========================================================
   CONTENT
   ========================================================= */

.custom-intro {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(380px, .95fr);

  align-items: center;

  gap: clamp(50px, 6vw, 96px);

  width: 100%;
  min-width: 0;
}


.custom-intro__image {
  width: 100%;
  min-width: 0;

  overflow: hidden;

  aspect-ratio: 1.12;
}


.custom-intro__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.custom-intro__content {
  width: 100%;
  min-width: 0;
}


.custom-intro__content h2 {
  margin: 0;
  
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 300;
  line-height: 1.05;

  letter-spacing: -.8px;
}


.custom-benefits {
  display: grid;

  gap: var(--space-content, 28px);

  margin:
    var(--space-heading, 40px)
    0
    0;

  padding: 0;

  list-style: none;
}


.custom-benefits li {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.35;
}



/* =========================================================
   TABLET — max-width: 1024px
   ========================================================= */

@media (max-width: 1024px) {

  .custom-section {
    padding-top: var(--space-section, 52px);

    /*
     * left/right специально НЕ переопределяем.
     *
     * Глобальные токены уже дают:
     * --page-left-gap: 20px;
     * --page-right-gap: 20px;
     */
  }


  .custom-intro {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 42px;
  }

}



/* =========================================================
   MOBILE — max-width: 760px
   ========================================================= */

@media (max-width: 760px) {

  .custom-section {
    padding-top: var(--space-section, 44px);
  }


  .custom-intro {
    grid-template-columns:
      minmax(0, 1fr);

    gap: var(--space-heading, 28px);
  }


  .custom-intro__image,
  .custom-intro__content {
    min-width: 0;
  }


  .custom-intro__content h2 {
    overflow-wrap: anywhere;
  }

}



/* =========================================================
   SMALL MOBILE — max-width: 480px
   ========================================================= */

@media (max-width: 480px) {

  .custom-section {
    padding-top: var(--space-section, 36px);

    /*
     * И здесь left/right не задаём.
     *
     * Глобально:
     * --page-left-gap  = --mobile-page-gap = 12px
     * --page-right-gap = --mobile-page-gap = 12px
     */
  }


  .custom-intro__content h2 {
    font-size: 24px;
  }


  .custom-benefits li {
    font-size: 16px;
  }

}

/* =========================================================
   ACTION BUTTONS — iOS FIX
   ========================================================= */

.custom-order-button,
.custom-made__button {
  color:
    var(--text, #0d0d0d) !important;

  -webkit-text-fill-color:
    var(--text, #0d0d0d);

  font-family:
    "Nata Sans",
    Arial,
    sans-serif;

  font-weight: 300;

  text-decoration: none !important;

  appearance: none;
  -webkit-appearance: none;

  -webkit-tap-highlight-color: transparent;
}


/* Safari link states */

.custom-order-button:link,
.custom-order-button:visited,
.custom-made__button:link,
.custom-made__button:visited {
  color:
    var(--text, #0d0d0d) !important;

  -webkit-text-fill-color:
    var(--text, #0d0d0d);
}