/* --------------------------
   RADIO PILL STYLES (Weights)
--------------------------- */
.ccake-weight-options {
  display: ruby;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;                     /* ✅ Add this */
  max-width: 100%;                 /* ✅ Already present — keep it */
  box-sizing: border-box;         /* ✅ Ensures padding doesn't overflow */
  gap: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}


/* ✅ Override only on mobile screens */
@media (max-width: 768px) {
  .ccake-weight-options {
    display: contents;
    overflow-x: visible; /* Optional: remove horizontal scroll */
  }
}

.ccake-weight-options input[type="radio"] {
  display: none;
}

.ccake-weight-options label {
  flex: 0 0 auto;
  text-align: center;
}

.ccake-weight-options label span {
  display: inline-block;
  min-width: 80px;                  /* ✅ define pill size */
  padding: 5px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ccake-weight-options input[type="radio"]:checked + span {
  background-color: #ff5f6d;
  color: #fff;
  border-color: #ff5f6d;
}
.ccake-weight-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* --------------------------
   FLAVOUR PILL STYLES
--------------------------- */
.ccake-flavour-options {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}

.ccake-flavour-options input[type="radio"] {
  display: none;
}

.ccake-flavour-options label {
  flex: 0 0 auto;
  min-width: 80px;
  text-align: center;
}

.ccake-flavour-options label span {
  display: inline-block;
  width: 100%;
  padding: 5px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ccake-flavour-options input[type="radio"]:checked + span {
  background-color: #ff5f6d;
  color: #fff;
  border-color: #ff5f6d;
}

.ccake-flavour-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* --------------------------
   EGGLESS / MESSAGE LABELS
--------------------------- */
.ccake-eggless-option label,
.ccake-message label {
  display: inline-block;
  font-size: 0.9em;
  font-weight: 500;
  margin-bottom: 0.4em;
}

/* --------------------------
   EGGLESS + HEART SHAPE ROW
--------------------------- */
.ccake-options-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.ccake-options-row label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  margin: 0;
}

.ccake-options-row label span {
  font-weight: 500 !important;
}

/* --------------------------
   CUSTOM CHECKBOX (Eggless)
--------------------------- */
.ccake-custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 3px;
  position: relative;
  vertical-align: middle;
}

.ccake-custom-checkbox:hover {
  border-color: #ff5f6d;
}

.ccake-custom-checkbox:checked {
  border-color: transparent;
}

.ccake-custom-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  width: 6px;
  height: 12px;
  border: solid #ff5f6d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* --------------------------
   HEART ICON CHECKBOX (Revised)
--------------------------- */
.ccake-heart-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 3px;
  position: relative;
  vertical-align: middle;
}

.ccake-heart-checkbox::before {
  content: "\2661";
  font-size: 20px;
  color: #aaa;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccake-heart-checkbox:checked::before {
  content: "\2665";
  color: #ff5f6d;
}



