:root {
  --border: rgba(0, 0, 0, 0.12);
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
  --radius: 26px;
}

.door-colour-section {
  color: #000;
  min-height: 80vh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}

.door-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 30px 24px;
  gap: 20px;
  width: min(1350px, 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-color: #f27f2f;
  box-sizing: border-box;
  height: auto;
}

.door-section__title {
  text-align: center;
  font-size: clamp(36px, 4vw, 45px);
  font-weight: 800;
  margin: 0;
  padding: 0;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif !important;
}

.door-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  width: 100%;
  height: 100%;
  align-items: stretch;
}

.door-col {
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.col-heading {
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 6px;
  color: black;
}

.col-heading.center {
  text-align: center;
}

/* CENTER column — viewer */
.door-col--center {
  align-items: stretch;
}

.viewer-wrap {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.colour-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  justify-items: center;
  margin-top: 6px;
}

.colour-tile {
  width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.05);
}

.colour-tile:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08), 0 6px 14px rgba(0, 0, 0, 0.08);
}

.colour-tile.is-active {
  border-color: #000;
  outline: 2px solid #00000012;
}

.colour-tile--reset {
  background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 50%/10px 10px;
}

/* CTA centered under the 3 columns */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid yellow;
  background: yellow;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  background-color: white;
  border: none;
  color: black;
}

.cta:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .colour-tile {
    width: 68px;
  }
}

@media (max-width: 1024px) {
  .door-grid {
    grid-template-columns: 1fr;
  }
  
  .viewer-wrap {
    height: min(50vh, 460px);
  }
  
  .colour-tile {
    width: 60px;
  }
  
  .door-col--left,
  .door-col--right {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}


@media (min-width: 2400px) {
  .door-colour-section {
    color: #000;
    min-height:auto;
    display: grid;
    place-items: center;
    box-sizing: border-box;
  }

  .door-section__inner {
    width: 1650px;
  }

  .door-section__title {
    font-size: 54px;
  }

  .col-heading {
    font-size: 28px;
  }
}

