/* Create Your Own Centre - page-specific styles */

.cyo-section h1 {
  font-size: 36px;
  color: #000;
  font-family: 'Jersey';
  margin-bottom: 15px;
}

/* .theme-btn.style's red background rule is scoped to <a> tags only;
   #cyoDownload is a <button> (it triggers a JS download, not navigation)
   so it needs its own background here or it renders as a plain grey button. */
button.cyo-download-btn {
  background: #cf112c;
  border-color: #cf112c;
  cursor: pointer;
}

/* Same fix as above, for the outline-style secondary button (.theme-btn.style2
   is also scoped to <a> tags only in the sitewide stylesheet). */
button.cyo-reset-btn {
  background: transparent;
  border-color: #cf112c;
  color: #000;
  cursor: pointer;
}

.cyo-canvas-wrap {
  display: inline-block;
}

#cyoCanvas {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  cursor: grab;
  background: #f2f2f2;
  touch-action: none;
}

#cyoCanvas:active {
  cursor: grabbing;
}

.cyo-controls label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #000;
  margin-top: 18px;
  margin-bottom: 6px;
}

.cyo-controls label:first-child {
  margin-top: 0;
}

.cyo-controls input[type="text"],
.cyo-controls select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.cyo-controls input[type="range"] {
  width: 100%;
}

.cyo-restored-notice {
  font-size: 13px;
  color: #178c4a;
  font-weight: 600;
}

/* Drag-and-drop upload area */
.cyo-file-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.cyo-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90px;
  padding: 16px;
  border: 2px dashed #cf112c;
  border-radius: 10px;
  background: #fff9f9;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cyo-dropzone:hover,
.cyo-dropzone.cyo-dropzone-active {
  background: #fdeceb;
}

.cyo-dropzone-text {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

.cyo-dropzone.cyo-has-image .cyo-dropzone-text {
  color: #178c4a;
}

/* Colour swatches */
.cyo-swatches {
  display: flex;
  gap: 12px;
}

.cyo-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  padding: 0;
}

.cyo-swatch.active {
  border-color: #cf112c;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #cf112c;
}

.cyo-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: #f7f7f7;
  border-left: 3px solid #cf112c;
  border-radius: 4px;
}

.cyo-note p {
  font-size: 13px !important;
  margin-bottom: 0 !important;
}

.cyo-terms {
  margin-top: 20px;
  text-align: center;
}
