/* Front-end css goes here */
.rnb-cart * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.rnb-custom-field-option label.error{
  display: none;
}

.rnb-custom-field-option input.error{
  border: 1px solid var(--error);
}

/* ------------------------------------------------ */
/* rnb custom field options styles */
/* ------------------------------------------------ */
.rnb-custom-field-option {
  --error: #b91c1c;
  --label-color: #777777;
  --input-border: #ebebeb;
  --border: #e6e6e6;
  --helper-text: 13px;
  --label-text: 15px;

  display: -ms-grid;

  display: grid;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.rnb-custom-field-option.last-of-type {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.rnb-custom-field-option .field-label {
  margin: 0;
  padding-top: 0;
  padding-bottom: 7px;
  color: var(--label-color);
  font-size: var(--label-text);
  font-weight: 400;
}

.rnb-custom-field-option .input-wrapper {
  display: -ms-grid;
  display: grid;
}

.rnb-custom-field-option input, 
.rnb-custom-field-option textarea {
  border: 1px solid var(--input-border);
  height: 38px;
  padding-left: 12px;
  padding-right: 12px;
}

.rnb-custom-field-option textarea {
  padding-top: 12px;
  padding-bottom: 12px;
}

.rnb-custom-field-option input::-webkit-input-placeholder, .rnb-custom-field-option textarea::-webkit-input-placeholder {
  opacity: 0.7;
}

.rnb-custom-field-option input::-moz-placeholder, .rnb-custom-field-option textarea::-moz-placeholder {
  opacity: 0.7;
}

.rnb-custom-field-option input:-ms-input-placeholder, .rnb-custom-field-option textarea:-ms-input-placeholder {
  opacity: 0.7;
}

.rnb-custom-field-option input::-ms-input-placeholder, .rnb-custom-field-option textarea::-ms-input-placeholder {
  opacity: 0.7;
}

.rnb-custom-field-option input::placeholder,
.rnb-custom-field-option textarea::placeholder {
  opacity: 0.7;
}

.rnb-custom-field-option input:focus, 
.rnb-custom-field-option textarea:focus {
  outline: none;
}

.rnb-custom-field-option .error {
  color: var(--error);
  font-size: var(--helper-text);
  margin: 0;
}

/* ------------------------------------------------ */
/* style::rnb custom field quantity */
/* ------------------------------------------------ */
.rnb-custom-field-option-quantity-changer {
  margin-top: 24px;
}

.rnb-custom-field-option-quantity-changer label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.rnb-custom-field-option-quantity-changer span {
  margin: 0;
  font-size: 14px;
}

.rnb-custom-field-option-quantity-changer label input[type='number'] {
  width: 50% !important;
}

/* ------------------------------------------------ */
/* style::rnb custom field price */
/* ------------------------------------------------ */
.rnb-custom-field-option-price {
  font-size: 14px;
  font-weight: 600;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  margin-top: 24px;
}

.rnb-custom-field-option-price span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.woocommerce div.product .entry-summary .rnb-custom-field-option-price .price {
  font-size: 14px;
}

/* ------------------------------------------------ */
/* style::rnb custom color field */
/* ------------------------------------------------ */
.rnb-custom-field-color-wrapper {
  display: -ms-grid;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat( auto-fit, minmax(56px, 72px) );
}

.rnb-custom-field-color {
  cursor: pointer;
}

.rnb-custom-field-color-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--color);
  height: 56px;
  position: relative;
}

.rnb-custom-field-color-label input[type='radio'] {
  opacity: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  visibility: hidden;
  position: absolute;
}

.rnb-custom-filed-color-checkmark {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 28px;
  height: 24px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(0, 0, 0, 0.12);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
}

.rnb-custom-filed-color-checkmark svg {
  width: 18px;
  height: auto;
}

.rnb-custom-field-color-label input[type='radio']:checked ~ .rnb-custom-filed-color-checkmark {
  opacity: 1;
  visibility: visible;
}

.rnb-custom-field-color-label-text {
  display: block;
  font-size: var(--helper-text);
  word-break: break-word;
  text-transform: capitalize;
  margin-top: 2px;
} 

/* ------------------------------------------------ */
/* style::rnb custom checkbox field */
/* ------------------------------------------------ */
.rnb-custom-field-checkbox-wrapper {
  display: -ms-grid;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat( auto-fit, minmax(124px, 1fr) );
}

.rnb-epo-checkbox {
  position: relative;
}

.rnb-epo-checkbox input[type='checkbox'] {
  opacity: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  visibility: hidden;
  position: absolute;
}

.rnb-epo-checkbox input[type='checkbox'] ~ label {
  border: 1px solid var(--border);
  display: -ms-grid;
  display: grid;
  gap: 2px;
  padding: 12px;
  margin: 0;
  cursor: pointer;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.rnb-epo-checkbox input[type="checkbox"] + label:before,
.rnb-epo-checkbox input[type="checkbox"]:checked + label:after {
  content: none;
} 

.rnb-epo-checkbox input[type='checkbox']:checked ~ label {
  border-color: #000000;
  -webkit-box-shadow: inset 0 0 0 0.4px #000000;
          box-shadow: inset 0 0 0 0.4px #000000;
}

.rnb-epo-checkbox-label-text {
  font-size: var(--helper-text);
  word-break: break-word;
  text-transform: capitalize;
}

.rnb-epo-checkbox-price {
  font-size: 14px;
  font-weight: 600;
}

/* ------------------------------------------------ */
/* style::rnb custom date picker field */
/* ------------------------------------------------ */
.rnb-custom-field-option .rnb-custom-field-date-picker {
  width: 100%;
  padding-right: 0;
}

.rnb-custom-field-date-picker i {
  display: inline-block !important;
}

/* ------------------------------------------------ */
/* style::rnb custom textarea field */
/* ------------------------------------------------ */
.rnb-custom-field-option textarea {
  min-height: 132px;
}

.booking-pricing-info ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

/* ----------------------------------------------- */
/* This style should goes to the Cartsy theme */
/* ----------------------------------------------- */
.cartsy-woocommerce .rnb-custom-field-option textarea {
  border-color: #f1f1f1;
  background-color: #f9f9f9;
}

.cartsy-woocommerce .rnb-custom-field-color-label,
.cartsy-woocommerce .rnb-epo-checkbox input[type='checkbox'] ~ label {
  border-radius: 6px;
}

.cartsy-woocommerce .rnb-custom-field-option .field-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--colorTextMain, #212121);
  padding-bottom: 10px;
}

.cartsy-woocommerce .rnb-custom-field-option textarea:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.hide-field{
  display: none;
}