.iphone18-preorder,
.iphone18-preorder * { box-sizing: border-box; }

.iphone18-preorder {
  clear: both;
  overflow: hidden;
  padding: 15px 0 40px;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.iphone18-preorder__container {
  width: min(1264px, calc(100% - 48px));
  margin: 0 auto;
}

.iphone18-preorder__hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
}

.iphone18-preorder__hero-reference {
  display: block;
  width: 100%;
  height: auto;
}

.iphone18-preorder__hero-mobile { display: none; }

.iphone18-preorder__models {
  display: grid;
  grid-template-columns: 415fr 412fr 414fr;
  gap: 12px;
  margin: 14px 0 17px;
}

.iphone18-preorder__model {
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.iphone18-preorder__model:hover,
.iphone18-preorder__model:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(38, 24, 30, .13);
}

.iphone18-preorder__model img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.iphone18-preorder__form-section {
  display: grid;
  grid-template-columns: 379px minmax(0, 1fr);
  gap: 48px;
  min-height: 465px;
  border: 1px solid #e4dedc;
  border-radius: 21px;
  padding: 18px 34px 18px 40px;
  background: #fff;
}

.iphone18-preorder__form-copy { padding-top: 5px; }

.iphone18-preorder__eyebrow {
  margin: 0 0 10px;
  color: #d7183c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.iphone18-preorder__form-copy h2 {
  max-width: 330px;
  margin: 0;
  color: #050505;
  font-size: 43px;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}

.iphone18-preorder__form-copy > p:not(.iphone18-preorder__eyebrow) {
  max-width: 345px;
  margin: 22px 0 0;
  color: #63636c;
  font-size: 16px;
  line-height: 1.43;
}

.iphone18-preorder__form-copy ul {
  display: grid;
  gap: 16px;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.iphone18-preorder__form-copy li {
  position: relative;
  padding-left: 34px;
  color: #45434a;
  font-size: 14px;
  line-height: 1.35;
}

.iphone18-preorder__form-copy li::before {
  position: absolute;
  top: -5px;
  left: 0;
  color: #b00028;
  content: '✓';
  font-size: 27px;
  font-weight: 800;
  transform: rotate(-8deg);
}

.iphone18-preorder__form {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
}

.iphone18-preorder__form > label,
.iphone18-preorder__grid > label {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.iphone18-preorder__form input:not([type=radio]):not([type=checkbox]),
.iphone18-preorder__form select,
.iphone18-preorder__form textarea {
  width: 100%;
  min-height: 35px;
  border: 1px solid #ddd7d6;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #171719;
  padding: 7px 13px;
  font: 400 13px/1.25 Arial, Helvetica, sans-serif;
}

.iphone18-preorder__form select {
  appearance: auto;
  padding-right: 30px;
}

.iphone18-preorder__form textarea {
  min-height: 42px;
  resize: vertical;
}

.iphone18-preorder__form input:focus,
.iphone18-preorder__form select:focus,
.iphone18-preorder__form textarea:focus {
  border-color: #d51b42;
  box-shadow: 0 0 0 1px #d51b42;
}

.iphone18-preorder__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.iphone18-preorder__priority {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.iphone18-preorder__priority legend {
  grid-column: 1 / -1;
  margin: 0;
  border: 0;
  padding: 0;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.iphone18-preorder__priority-option {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  min-height: 85px;
  align-items: start;
  margin: 0;
  border: 1px solid #ddd7d6;
  border-radius: 8px;
  padding: 11px 12px;
  cursor: pointer;
}

.iphone18-preorder__priority-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.iphone18-preorder__priority-option i {
  width: 18px;
  height: 18px;
  border: 1px solid #7e8794;
  border-radius: 50%;
  background: #fff;
}

.iphone18-preorder__priority-option input:checked + i { border: 5px solid #8a1028; }

.iphone18-preorder__priority-option > span {
  display: grid;
  gap: 2px;
}

.iphone18-preorder__priority-option strong {
  color: #19191c;
  font-size: 13px;
  line-height: 1.15;
}

.iphone18-preorder__priority-option small {
  color: #65656c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.27;
}

.iphone18-preorder__consent {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  gap: 9px !important;
  align-items: center;
  color: #34343a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.iphone18-preorder__consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #8c102a;
}

.iphone18-preorder__submit {
  display: grid;
  min-height: 44px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 0;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  background: linear-gradient(90deg, #a0002b, #771128);
  color: #fff;
  cursor: pointer;
  font: 700 14px/1 Arial, Helvetica, sans-serif;
}

.iphone18-preorder__submit span { grid-column: 2; }
.iphone18-preorder__submit b { grid-column: 3; justify-self: start; margin-left: 18px; font-size: 26px; font-weight: 300; }
.iphone18-preorder__submit:disabled { cursor: wait; opacity: .7; }

.iphone18-preorder__result {
  display: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.iphone18-preorder__result--success,
.iphone18-preorder__result--error { display: block; }
.iphone18-preorder__result--success { background: #e9f7ed; color: #216438; }
.iphone18-preorder__result--error { background: #fff0f0; color: #9d2733; }

.iphone18-preorder__trap {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 990px) {
  .iphone18-preorder__container { width: min(760px, calc(100% - 32px)); }
  .iphone18-preorder__models { grid-template-columns: 1fr; gap: 12px; }
  .iphone18-preorder__model { max-width: 520px; margin: 0 auto; }
  .iphone18-preorder__form-section { grid-template-columns: 1fr; gap: 30px; padding: 28px; }
  .iphone18-preorder__form-copy h2,
  .iphone18-preorder__form-copy > p:not(.iphone18-preorder__eyebrow) { max-width: none; }
}

@media (max-width: 640px) {
  .iphone18-preorder { margin-top: 24px; padding: 0 0 34px; }
  .iphone18-preorder__container { width: calc(100% - 24px); }
  .iphone18-preorder__hero { height: 285px; background: linear-gradient(125deg, #490713 0%, #8a1730 57%, #4b0815 100%); }
  .iphone18-preorder__hero-reference { display: none; }
  .iphone18-preorder__hero-mobile { position: relative; display: block; width: 100%; height: 100%; }
  .iphone18-preorder__hero-mobile::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(75, 6, 20, .98) 0%, rgba(86, 9, 25, .86) 45%, rgba(86, 9, 25, 0) 75%);
    content: '';
  }
  .iphone18-preorder__hero-mobile h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 28px 24px;
    color: #fff;
    font-size: clamp(34px, 11.5vw, 48px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .93;
  }
  .iphone18-preorder__hero-mobile img {
    position: absolute;
    z-index: 1;
    right: -24px;
    bottom: -115px;
    width: 300px;
    height: auto;
  }
  .iphone18-preorder__models { margin: 12px 0 16px; }
  .iphone18-preorder__model { border-radius: 16px; }
  .iphone18-preorder__form-section { gap: 26px; border-radius: 18px; padding: 25px 19px; }
  .iphone18-preorder__form-copy h2 { font-size: 37px; }
  .iphone18-preorder__form-copy ul { margin-top: 25px; }
  .iphone18-preorder__grid,
  .iphone18-preorder__priority { grid-template-columns: 1fr; }
  .iphone18-preorder__priority-option { min-height: 0; }
  .iphone18-preorder__form { gap: 11px; }
  .iphone18-preorder__submit { min-height: 48px; }
}
