/* Minified customily-custom.css - FIXED (09 APR 2026) - FORCE OVERRIDE INLINE STYLES */

/* ===== INPUT / TEXTAREA / SELECT ===== */
#cl_optionsapp .customily_option input[type="text"],
#cl_optionsapp .customily_option textarea,
#cl_optionsapp .customily_option select {
  border-radius: 3px !important;
  border: 1px solid #ccc !important;
  padding: 8px 10px !important;
  background: #fff !important;
  font-size: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ===== OPTION LABEL ===== */
#cl_optionsapp .option_name {
  font-weight: 600 !important;
  letter-spacing: .3px;
  line-height: 1.25;
  display: block !important;
  color: #020567 !important;
  margin-bottom: 10px !important;
}

/* ===== SWATCH GRID ===== */
#cl_optionsapp .swatch-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 70px);
  grid-auto-rows: 70px;
  gap: 8px !important;
  align-items: center;
}

/* ===== MOBILE ===== */
@media (max-width: 540px) {
  #cl_optionsapp .swatch-container {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  #cl_optionsapp .swatch-container .swatch,
  #cl_optionsapp .swatch-container .swatch label,
  #cl_optionsapp .swatch-container .swatch img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    min-width: unset !important;
    max-width: unset !important;
    min-height: unset !important;
    max-height: unset !important;
    box-sizing: border-box !important;
  }

  #cl_optionsapp .swatch-container .swatch label[style],
  #cl_optionsapp .swatch-container .swatch label[style*="width"],
  #cl_optionsapp .swatch-container > .swatch label[style] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
  }

  #cl_optionsapp .swatch-container .swatch label[style] img,
  #cl_optionsapp .swatch-container .swatch img[style] {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1/1 !important;
  }
}

/* ===== SWATCH SIZE ===== */
#cl_optionsapp .swatch-container .swatch,
#cl_optionsapp .swatch-container .swatch label,
#cl_optionsapp .swatch-container .swatch img {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  box-sizing: border-box !important;
}

/* ===== SWATCH STYLE ===== */
#cl_optionsapp .swatch-container .swatch label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  background-color: #fff;
  transition: .2s ease;
}

#cl_optionsapp .swatch-container .swatch img {
  object-fit: contain;
  border-radius: 3px;
  padding: 3px;
}

/* Hover & Active */
#cl_optionsapp .swatch-container .swatch label:hover {
  border-color: #f65e00;
}

#cl_optionsapp .swatch-container .swatch input:checked + label {
  border-color: #f65e00;
  box-shadow: 0 2px 8px rgba(246,94,0,.2) !important;
}

/* ===== BUTTON ===== */
.customily-preview-button {
  margin-bottom: 15px !important;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: #f65e00;
}

.customily-preview-button:hover {
  transform: translateY(-2px);
}

/* ===== STICKY BUTTON ===== */
.sticky-btn-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  padding: 12px;
  background: #fff;
  z-index: 999;
  border-top: 1px solid #e8e0d8;
}

.sticky-btn-container button {
  min-height: 48px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f65e00, #e84c00);
  border-radius: 8px;
  border: none;
}

/* ===== PREVIEW HOLDER ===== */
#customily-preview-holder {
  width: 100%;
  border-radius: 8px;
  min-height: 500px;
  background: #faf8f6;
  border: 1px solid #e8e0d8;
  margin-bottom: 20px;
}

/* ===== FORM GROUP ===== */
#cl_optionsapp .customily-option-group {
  margin-bottom: 24px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e8e0d8 !important;
}

/* ===== FOCUS INPUT ===== */
#cl_optionsapp .customily_option input:focus,
#cl_optionsapp .customily_option textarea:focus,
#cl_optionsapp .customily_option select:focus {
  border-color: #f65e00 !important;
  box-shadow: 0 0 0 3px rgba(246,94,0,.1) !important;
}