/* ==========================================================
   PATHREST TICKETS — EXTRA LUGGAGE

   HTML remains inside the Tilda Zero Blocks:
   .js-extra-luggage-mount

   This file preserves the existing CSS cascade from the
   three original Zero Block implementations.
   ========================================================== */

/* ==========================================================
   ORIGINAL RESPONSIVE CSS
   Used by the first two extra-luggage mounts.
   The two original copies were identical, therefore one copy
   is sufficient and produces the same CSS result.
   ========================================================== */

.extra-luggage {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
  font-size: 13px;
  color: #FF8B21;
}

.extra-luggage__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.extra-luggage__box {
  position: relative;
  border: 1.5px solid #FF8B21;
  border-radius: 4px;
  background: transparent;
  margin-right: 6px;
  transition: border-color .12s ease;
}

.extra-luggage__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  border: 2px solid #FF8B21;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) scale(0.5);
  opacity: 0;
  transition: transform .12s ease, opacity .12s ease;
}

.extra-luggage__input:checked + .extra-luggage__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.extra-luggage__label {
  display: inline-block;
  text-align: left;
  color: #FF8B21;
}


@media (max-width: 382px) {
  .extra-luggage__label {
    font-size: 10px;
  }

  .extra-luggage__box {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .extra-luggage__box::after {
    height: 8px;
  }
}


@media (min-width: 383px) and (max-width: 410px) {
  .extra-luggage__label {
    font-size: 12px;
  }

  .extra-luggage__box {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .extra-luggage__box::after {
    height: 11px;
  }
}


@media (min-width: 411px) and (max-width: 766px) {
  .extra-luggage__label {
    font-size: 12px;
  }

  .extra-luggage__box {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .extra-luggage__box::after {
    height: 10px;
  }
}


@media (min-width: 767px) and (max-width: 980px) {
  .extra-luggage__label {
    font-size: 9px;
  }

  .extra-luggage__box {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .extra-luggage__box::after {
    height: 6px;
  }
}


@media (min-width: 981px) and (max-width: 1278px) {
  .extra-luggage__label {
    font-size: 9px;
  }

  .extra-luggage__box {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .extra-luggage__box::after {
    height: 6px;
  }
}


@media (min-width: 1279px) and (max-width: 1332px) {
  .extra-luggage__label {
    font-size: 9px;
  }

  .extra-luggage__box {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .extra-luggage__box::after {
    height: 6px;
  }
}


@media (min-width: 1333px) and (max-width: 1438px) {
  .extra-luggage__label {
    font-size: 10px;
  }

  .extra-luggage__box {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .extra-luggage__box::after {
    height: 7px;
  }
}


@media (min-width: 1439px) and (max-width: 1678px) {
  .extra-luggage__label {
    font-size: 11px;
  }

  .extra-luggage__box {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .extra-luggage__box::after {
    height: 8px;
  }
}


@media (min-width: 1679px) and (max-width: 1918px) {
  .extra-luggage__label {
    font-size: 12px;
  }

  .extra-luggage__box {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
  }

  .extra-luggage__box::after {
    height: 9px;
  }
}


@media (min-width: 1919px) {
  .extra-luggage__label {
    font-size: 13px;
  }

  .extra-luggage__box {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .extra-luggage__box::after {
    height: 10px;
  }
}


/* ==========================================================
   ORIGINAL THIRD-BLOCK OVERRIDES

   These rules originally appeared later on the page in the
   third extra-luggage Zero Block. They remain later here too,
   preserving the existing cascade instead of changing visuals.
   ========================================================== */

.extra-luggage {
  font-size: 12px;
}

.extra-luggage__box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.extra-luggage__box::after {
  height: 10px;
}
