.customise-hero {
  box-sizing: content-box;
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 88px;
  color: rgba(var(--color-text));
  background-color: transparent;
}

/* Same platform-wrapper overflow guard as the product gallery, so the sticky
   gallery pins to the viewport rather than a clipped section wrapper. review #3 */
[id^="shopline-section-"]:has(> .customise-hero) {
  overflow: visible;
}

/* ---- Gallery ---- */
.customise-hero__gallery {
  position: -webkit-sticky;
  position: sticky;
  top: 88px;
  align-self: start;
  height: -moz-fit-content;
  height: fit-content;
}

.customise-hero__main {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: rgb(245, 243, 239);
  overflow: hidden;
}

.customise-hero__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.customise-hero__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.customise-hero__thumb {
  box-sizing: border-box;
  width: 72px;
  height: 72px;
  padding: 2px;
  border: 1px solid transparent;
  background: rgb(245, 243, 239);
  cursor: pointer;
  overflow: hidden;
}

.customise-hero__thumb.is-active {
  border-color: rgb(20, 20, 20);
}

.customise-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Info column ---- */
.customise-hero__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.customise-hero__badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  background: rgb(226, 249, 161);
}

.customise-hero__title {
  margin: 0 0 18px;
  font-size: 40.8px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  color: rgba(var(--color-text));
}

.customise-hero__body {
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 26.35px;
  color: rgb(68, 65, 59);
}

.customise-hero__body p {
  margin: 0 0 20px;
}

.customise-hero__body p:last-child {
  margin-bottom: 0;
}

.customise-hero .customise-hero__cta {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.96px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: rgba(var(--color-button-text));
  background: rgba(var(--color-button-background));
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover turns the button the brand lime with dark text. review #6 */
.customise-hero .customise-hero__cta:hover {
  background: #e2f9a1;
  color: #141414;
}

/* ---- Customise enquiry form (revealed by the CTA) ---- review #5 ---- */
.customise-hero__form-host,
.customise-hero__form-host form {
  display: contents;
}

.customise-hero__form[hidden],
.customise-hero__form-done[hidden],
.customise-hero__input[hidden],
.customise-hero__cta[hidden] {
  display: none !important;
}

.customise-hero__form {
  width: 100%;
  margin-top: 4px;
  padding: 28px;
  background: rgb(245, 243, 239);
}

.customise-hero__field {
  margin-bottom: 20px;
}

.customise-hero__field--stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.customise-hero__field-label {
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(20, 20, 20);
}

.customise-hero__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customise-hero__opt {
  padding: 11px 20px;
  border: 1px solid rgb(216, 212, 205);
  background: rgb(255, 255, 255);
  color: rgb(20, 20, 20);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.customise-hero__opt.is-active {
  background: rgb(20, 20, 20);
  border-color: rgb(20, 20, 20);
  color: rgb(255, 255, 255);
}

.customise-hero__input,
.customise-hero__textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 14px;
  border: 1px solid rgb(216, 212, 205);
  background: rgb(255, 255, 255);
  font-family: inherit;
  font-size: 14px;
  color: rgb(20, 20, 20);
}

.customise-hero__input[data-cust-color-other] {
  margin-top: 10px;
}

.customise-hero__textarea {
  resize: vertical;
}

.customise-hero__form-error {
  margin: 0 0 14px;
  font-size: 13px;
  color: #b3261e;
}

.customise-hero__cta--submit {
  margin-top: 4px;
}

.customise-hero__form-done {
  width: 100%;
  margin-top: 4px;
  padding: 40px 24px;
  background: rgb(245, 243, 239);
  text-align: center;
}

.customise-hero__form-done-tick {
  font-size: 40px;
  margin-bottom: 12px;
}

.customise-hero__form-done-title {
  font-family: "Archivo Black", Archivo, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.customise-hero__form-done-body {
  font-size: 14px;
  color: rgb(85, 82, 75);
}

/* ---- Accordions ---- */
.customise-hero__accordions {
  width: 100%;
  margin-top: 28px;
}

.customise-hero__acc {
  border-top: 1px solid rgba(var(--color-entry-line));
}

.customise-hero__acc:last-child {
  border-bottom: 1px solid rgba(var(--color-entry-line));
}

.customise-hero__acc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.customise-hero__acc-summary::-webkit-details-marker {
  display: none;
}

.customise-hero__acc-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.customise-hero__acc-icon::before,
.customise-hero__acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: rgba(var(--color-text));
  transform: translateY(-50%);
}

.customise-hero__acc-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.customise-hero__acc[open] .customise-hero__acc-icon::after {
  opacity: 0;
}

.customise-hero__acc-body {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(var(--color-light-text));
}

.customise-hero__acc-body p {
  margin: 0;
}

/* ---- Mobile ---- */
@media (max-width: 959px) {
  .customise-hero {
    grid-template-columns: 1fr;
  }
  .customise-hero__gallery {
    position: static;
  }
  .customise-hero__title {
    font-size: 28px;
  }
}
