/* Eritellimused */
.custom-orders-page {
  padding-top: 0;
}

.custom-orders-sections {
  width: 85%;
  max-width: 1800px;
  padding-bottom: 120px;
}

.custom-orders-gallery {
  margin-top: 56px;
  animation: heroSlideFadeUp 0.8s ease 0.16s both;
}

.custom-orders-gallery > h2 {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.custom-orders-carousel {
  position: relative;
  margin-top: 24px;
}

.custom-orders-carousel .owl-stage {
  display: flex;
}

.custom-orders-carousel-slide {
  min-width: 0;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #11162f;
}

.custom-orders-carousel-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-orders-carousel .owl-nav {
  margin: 0;
}

.custom-orders-carousel .owl-nav button.owl-prev,
.custom-orders-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s ease, transform 0.2s ease;
}

.custom-orders-carousel .owl-nav button.owl-prev > span[aria-hidden="true"],
.custom-orders-carousel .owl-nav button.owl-next > span[aria-hidden="true"] {
  display: block;
  font-size: 82px;
  line-height: 0.7;
}

.custom-orders-carousel .owl-nav button.owl-prev:hover,
.custom-orders-carousel .owl-nav button.owl-next:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-50%) scale(1.06);
}

.custom-orders-carousel .owl-nav button.owl-prev:focus-visible,
.custom-orders-carousel .owl-nav button.owl-next:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.custom-orders-carousel .owl-nav button.owl-prev {
  left: -58px;
}

.custom-orders-carousel .owl-nav button.owl-next {
  right: -58px;
}

.custom-orders-info-row,
.custom-orders-contact-row {
  display: grid;
  gap: 64px;
  align-items: start;
}

.custom-orders-info-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.85fr);
  margin-top: 80px;
  animation: heroSlideFadeUp 0.8s ease 0.24s both;
}

.custom-orders-contact-row {
  grid-template-columns: minmax(380px, 0.85fr) minmax(0, 1.35fr);
  margin-top: 120px;
  animation: heroSlideFadeUp 0.8s ease 0.32s both;
}

.custom-orders-feature {
  min-width: 0;
  margin: 0;
}

.custom-orders-feature-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  border-radius: 8px;
  object-fit: cover;
}

.custom-orders-feature figcaption {
  margin-top: 8px;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.custom-orders-feature figcaption a,
.custom-orders-accordion a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.custom-orders-feature figcaption a:hover,
.custom-orders-feature figcaption a:focus-visible,
.custom-orders-accordion a:hover,
.custom-orders-accordion a:focus-visible {
  color: #ffffff;
}

.custom-orders-faq h2,
.custom-orders-form-column h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.custom-orders-accordion {
  margin-top: 24px;
}

.custom-orders-accordion details {
  padding: 0 0 15px;
}

.custom-orders-accordion summary {
  position: relative;
  padding-left: 22px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.custom-orders-accordion summary::-webkit-details-marker {
  display: none;
}

.custom-orders-accordion summary::before {
  content: "▾";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.custom-orders-accordion details[open] summary {
  color: #7f8bd6;
}

.custom-orders-accordion details[open] summary::before {
  transform: rotate(0);
}

.custom-orders-accordion p,
.custom-orders-accordion ul {
  margin: 9px 0 0 22px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.custom-orders-accordion p + p {
  margin-top: 10px;
}

.custom-orders-accordion ul {
  padding-left: 20px;
}

.custom-orders-form-intro {
  margin: 0 0 22px;
  color: var(--text-light);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.custom-orders-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
}

.custom-orders-field {
  min-width: 0;
}

.custom-orders-field input,
.custom-orders-field select,
.custom-orders-field textarea {
  width: 100%;
  border: 1px solid #9fb3ff;
  border-radius: 6px;
  background: #ffffff;
  color: #060711;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-orders-field input,
.custom-orders-field select {
  height: 44px;
  padding: 0 12px;
}

.custom-orders-field select {
  appearance: auto;
}

.custom-orders-field textarea {
  min-height: 200px;
  margin-top: 18px;
  padding: 12px;
  resize: vertical;
}

.custom-orders-field input::placeholder,
.custom-orders-field textarea::placeholder {
  color: #060711;
  opacity: 1;
}

.custom-orders-field input:focus,
.custom-orders-field select:focus,
.custom-orders-field textarea:focus {
  border-color: #5a6bff;
  box-shadow: 0 0 0 3px rgba(168, 190, 255, 0.5);
}

.custom-orders-submit {
  width: 100%;
  min-height: 42px;
  margin-top: 28px;
  border: 0;
  border-radius: 6px;
  background: #5a6bff;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.custom-orders-submit:hover,
.custom-orders-submit:focus-visible {
  background: #6d7cff;
  box-shadow: 0 5px 14px rgba(90, 107, 255, 0.28);
  transform: translateY(-1px);
}

.custom-orders-form-protection {
  margin: 28px 0 0;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
}

.custom-orders-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.custom-orders-notice {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #0c1128;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.custom-orders-notice--success {
  border: 1px solid #5a6bff;
}

.custom-orders-notice--error {
  border: 1px solid #9fb3ff;
}

.custom-orders-notice ul {
  margin: 0;
  padding-left: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .custom-orders-gallery,
  .custom-orders-info-row,
  .custom-orders-contact-row {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .custom-orders-info-row,
  .custom-orders-contact-row {
    gap: 42px;
  }

  .custom-orders-info-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }

  .custom-orders-contact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .custom-orders-info-row,
  .custom-orders-contact-row {
    grid-template-columns: 1fr;
  }

  .custom-orders-feature--heisi {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .custom-orders-page .site-container {
    width: calc(100% - 32px);
  }

  .custom-orders-sections {
    padding-bottom: 80px;
  }

  .custom-orders-gallery {
    margin-top: 42px;
  }

  .custom-orders-gallery > h2 {
    font-size: 22px;
  }

  .custom-orders-carousel {
    margin-inline: 22px;
  }

  .custom-orders-carousel .owl-nav button.owl-prev,
  .custom-orders-carousel .owl-nav button.owl-next {
    width: 44px;
    font-size: 54px;
  }

  .custom-orders-carousel .owl-nav button.owl-prev > span[aria-hidden="true"],
  .custom-orders-carousel .owl-nav button.owl-next > span[aria-hidden="true"] {
    font-size: 66px;
  }

  .custom-orders-carousel .owl-nav button.owl-prev {
    left: -38px;
  }

  .custom-orders-carousel .owl-nav button.owl-next {
    right: -38px;
  }

  .custom-orders-info-row {
    margin-top: 64px;
  }

  .custom-orders-contact-row {
    margin-top: 88px;
  }

  .custom-orders-faq h2,
  .custom-orders-form-column h2 {
    font-size: 24px;
  }

  .custom-orders-form-grid {
    grid-template-columns: 1fr;
  }
}

