.hide {
  display: none !important;
}
.section {
  padding-top: 200px;
  transition: 1s ease all;
}

.section__top {
  padding-top: 40px;
  transition: 1s ease all;
  padding-bottom: 300px;
}

.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.section__title {
  font-family: var(--ff-lato);
  text-align: center;
  font-size: var(--fs-header);
  font-weight: var(--fw-400);
  margin-bottom: 3rem;
}

.startLoader {
  width: 100%;
  height: 100vh;
  display: grid;
  place-content: center;
}

/* ========== NAVIGATION =========*/
.nav__box {
  background: var(--accent-color);
  position: relative;
  width: 100%;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px 0px 0px 0px;
}

.nav__content {
  display: flex;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  min-height: 40px;
  padding: 10px;
  flex-wrap: wrap;
  width: 100%;
  overflow: hidden;
}

.nav__logo {
  display: inline-block;
  height: 60px;
  width: 80px;
  position: relative;
  transition: 0.25s height ease;
  margin-right: auto;
}

.nav__logo--img {
  height: 60px;
  width: auto;
}

.nav__list {
  display: none;
}

.nav__item {
  margin-right: 8px;
  margin-left: 8px;
  word-break: break-word;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: inherit;
  padding: 0;
  position: relative;
}

.nav__item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav__list--icon {
  display: flex;
  align-content: center;
}

.nav__list--icon svg {
  fill: #6ee48b;
  width: 1.25em;
  font-size: 14px;
}

.nav__list--txt {
  -ms-flex-item-align: center;
  align-self: center;
  padding-left: 5px;
  color: #54595f;
}

/* ========= CONVENO & ADDRESS ========== */

.address__box,
.convenio__box {
  padding: 1rem;
  gap: 3rem;
}

.convenio__btn {
  justify-content: center;
}

.button {
  --color: var(--primary-color);
  padding: 0.8em 1.7em;
  background-color: transparent;
  border-radius: 0.3em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.5s;
  font-weight: var(--fw-400);
  font-size: var(--fs);
  border: 1px solid;
  font-family: inherit;
  text-transform: uppercase;
  color: var(--color);
  z-index: 1;
  /* width: fit-content; */
}

.button::before,
.button::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background-color: var(--color);
  transition: 1s ease;
}

.button::before {
  top: -1em;
  left: -1em;
}

.button::after {
  left: calc(100% + 1em);
  top: calc(100% + 1em);
}

.button:hover::before,
.button:hover::after {
  height: 410px;
  width: 410px;
}

.button:hover {
  /* color: rgb(10, 25, 30); */
  color: #fff;
  border: 1px solid var(--primary-color);
}

.button:active {
  filter: brightness(0.8);
}

.button:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ========= PACKAGE ========== */

.coverage__box {
  margin-bottom: 1rem;
}

.coverage__title,
.package__title {
  font-family: var(--ff-lato);
  font-size: var(--fs-large);
  font-weight: var(--fw-700);
  margin-bottom: 1rem;
}

.coverage__content {
  justify-content: space-between;
}

.coverage__radioBox {
  gap: 1rem;
}

.coverage__msg {
  padding: 1.5rem;
  border: 1px solid;
  gap: 1rem;
  align-items: center;
}

.ph-package {
  font-size: var(--icon-fs-lg);
  color: var(--accent-color);
}

.package__title {
  margin-bottom: 2rem;
}

/* ========= TABLE ========== */
.table__box {
  margin-top: 1rem;
}

.table__content {
  position: relative;
  text-align: left !important;
  line-height: 1.15;
}

.table__row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.table__row[data-row="1"] {
  margin-bottom: 3rem;
}

.table__cell--group {
  padding-right: 0.0625rem;
  padding-left: 0.0625rem;
  padding-bottom: 0.125rem;
  align-self: inherit;
}

@media (min-width: 940px) {
  .nav__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style-type: none;
    list-style: none;
    border: 0;
  }

  .table__row[data-row="1"] {
    margin-bottom: 0;
  }

  .table__cell--group.cell__grid-2 {
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }

  .table__cell--group.cell__grid-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .table__cell--group.cell__grid-5 {
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
  }

  .table__cell--group.cell__grid-7 {
    flex: 0 0 58.33333%;
    max-width: 58.33333%;
  }
}

.table__cell-select {
  position: relative;
}

.cell__item {
  background: 0 0;
  display: -ms-grid;
  display: grid;
  grid-template-areas:
    "label label "
    "input suffix";
  -ms-grid-columns: 1fr auto;
  grid-template-columns: 1fr auto;
  -ms-grid-rows: auto auto;
  grid-template-rows: auto auto;
  position: relative;
}

.cell__item--quantity {
  padding: 0;
  padding-left: 0.625rem;
  display: grid;
  place-content: center;
  -ms-grid-row: 2;
  grid-row: 2;
  -ms-grid-column: 1;
  grid-column-start: 1;
  -ms-grid-column-span: 2;
  grid-column-end: 3;
  border: none;
  border-left: 3px solid transparent;
  margin: 0;
  background: #f2f2f2;
  border-radius: 0;
  outline: 0;
  height: 3.75rem;
  width: 100%;
}

.cell__txt {
  font-weight: 300;
  line-height: inherit;
  font-size: 1.25rem;
}

.cell__label {
  background-color: #e3e3e3;
  margin-bottom: 2px;
  border-left: 3px solid transparent;
  font-size: 0.625rem;
  min-height: 3.75rem;
  font-weight: 700;
  text-transform: uppercase;
  grid-area: label;
  padding: 4px !important;
  pointer-events: none;
  display: inline-flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  color: #333;
  max-width: 100%;
}

.cell__label--sm {
  padding-top: 0.3125rem;
  text-transform: none;
  font-size: 0.75rem;
  font-weight: 300;
  pointer-events: none;
  color: #333;
}

.cell__item--group {
  background: #f2f2f2;
  -ms-grid-row: 2;
  grid-row: 2;
  grid-column: 1/-1;
  border: 0;
  border-left: 3px solid transparent;
  padding: 0;
  padding-right: 1.15rem;
  padding-left: 1.15rem;
  border-radius: 0;
  min-width: 0;
  outline: 0;
  height: 3.75rem;
  width: 100%;
  color: #333;
}

:is(.cell__grid-2, .cell__grid-3) :is(.cell__item--group):focus {
  border-color: var(--accent-color);
}

:is(.cell__grid-2, .cell__grid-3) :is(.cell__item--group).error {
  border-color: #de002e;
}

.cell__suffix {
  padding: 0 0.9375rem 0 0;
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  grid-area: suffix;
  display: flex;
  align-items: center;
  background: #f2f2f2;

  text-align: right;
  height: 3.75rem;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
}

.cell__group--message {
  padding: 0.625rem 0.9375rem;
  font-size: 0.625rem !important;
  width: 100%;
  color: #de002e;
  font-style: normal;
  font-weight: 400;
}

.cell__item--3x {
  display: -ms-grid;
  display: grid;
  grid-template-areas:
    "label   label      label   label      label   label "
    "input-1 multiply-1 input-2 multiply-2 input-3 suffix";
  -ms-grid-columns: 1fr auto 1fr auto 1fr auto;
  grid-template-columns: 1fr auto 1fr auto 1fr auto;
  -ms-grid-rows: auto auto;
  grid-template-rows: auto auto;
  background: 0 0;
  position: relative;
}

.cell__item--3x .cell__item--group:nth-of-type(1) {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: input-1;
}

.cell__item--3x .cell__item--group:nth-of-type(2) {
  -ms-grid-row: 2;
  -ms-grid-column: 3;
  grid-area: input-2;
}

.cell__item--3x .cell__item--group:nth-of-type(3) {
  -ms-grid-row: 2;
  -ms-grid-column: 5;
  grid-area: input-3;
}

.cell__group--x {
  background-color: #f2f2f2;
  font-size: 0.625rem !important;
  height: 3.75rem;
  align-self: auto;
  display: inline-flex;
  align-items: center;
  position: relative;
  content: "×";
  justify-content: center;
}

.cell__group--x:nth-of-type(1) {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  grid-area: multiply-1;
}

.cell__group--x:nth-of-type(2) {
  -ms-grid-row: 2;
  -ms-grid-column: 4;
  grid-area: multiply-2;
}

.cell__group--x:nth-of-type(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 6;
  grid-area: label;
}

.cell__group--x::after {
  text-align: center;
  display: block;
  width: 1rem;
  content: "×";
  font-size: 2rem;
  color: #8e8e8e;
  z-index: unset;
}

.cell__item--indicator {
  bottom: 0;
  left: 0;
  display: block;
  height: 3.75rem;
  width: 3px;
  content: " ";
  z-index: 2;
  position: absolute;
}

.cell__item--group:focus ~ .cell__item--indicator {
  background-color: var(--accent-color);
}

.table__button {
  border-style: none;
  padding: 0;
  border: 0;
  padding: 0.3125rem 0;
  padding-bottom: 1.875rem !important;
  background-color: transparent;
  text-align: center;
  border-width: 0;
  color: var(--accent-color);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: visible;
}

@media (min-width: 940px) {
  .cell__group--responsive .cell__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    min-height: 0;
  }
}

/* .button__delete {
  position: absolute;
  right: -40px;
  top: 0;
  margin: 0;
  padding: 0;
  border: 0;
  width: auto;
} */

@media (min-width: 940px) {
  .button__delete {
    position: absolute;
    right: -40px;
    top: 0;
    margin: 0;
    padding: 0;
    border: 0;
    width: auto;
    /* top: 4rem; */
  }
}

.button__delete-content {
  border-style: none;
  padding: 0;
  margin: 0 auto;
  display: block;
  background: 0 0;
  text-align: center;
  border-width: 0;
  height: 3.75rem;
  font-size: 1.5625rem;
  line-height: 1;
  min-height: 60px;
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: visible;
  border: 0;
  color: var(--accent-color);
}

.summary__content {
  background-color: #e3e3e3;
}

.summary__txt {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 7px !important;
  pointer-events: none;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  color: #333;
  max-width: 100%;
  /* gap: 0.25rem; */
}

.summary__txt--sm {
  padding-top: 0.3125rem;
  text-transform: none;
  font-size: 0.75rem;
  font-weight: 300;
  pointer-events: none;
  color: #333;
}

.quote__box {
  text-align: center !important;
}

.quote__btn {
  border: 0;
  text-align: center;
  padding: 0 1.875rem;
  border-width: 0;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  height: 0;
  min-height: 60px;
  letter-spacing: 0.05em;
  background-color: var(--accent-color);
  font-size: 1.1875rem;
  color: #fff;
  cursor: pointer;
}

.quote__btn[disabled] {
  background-color: #e3e3e3;
  border-color: #e3e3e3;
  color: #8e8e8e;
  cursor: default;
}

.table__button[disabled] {
  color: #8e8e8e;
  cursor: default;
}

/* ========== Shiping ========== */
.shipping__container {
  margin: 0 auto;
}

.shipping__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.grid-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 940px) {
  .grid-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
}

@media (min-width: 768px) {
  .grid-11 {
    flex: 0 0 91.66667%;
    max-width: 91.66667%;
  }
}

.shipping__box--title {
  font-size: 25px !important;
  line-height: inherit !important;
  margin: 0;
  padding: 0;
  font-weight: 300;
  margin-bottom: 1.25rem !important;
  margin-top: 1.25rem !important;
  text-align: center !important;
}

.shipping__response {
  padding-top: 1.25rem !important;
  display: block;
  width: 100%;
}

.response__txt--sm {
  margin-bottom: 0.9375rem !important;
  font-size: 0.875rem !important;
}

.response__txt--sm p {
  text-align: right !important;
}

.response__list {
  margin-bottom: 1.25rem !important;
  border-bottom: 1px solid #e3e3e3;
  padding: 0;
  list-style: none;
  margin-top: 0;
  width: 100%;
}

.response__item {
  padding-top: 1.25rem !important;
  border-top: 1px solid #e3e3e3;
  list-style: none;
}

.response__list > .response__item {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.list__grid {
  display: block;
  padding: 1rem;
}

.list__row {
  display: flex;
  flex-wrap: wrap;
}

.item__grid-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .item__grid-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .item__grid-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
}

.list__row header {
  display: block;
}

.list__logo-fedex {
  display: inline-block;
  height: 75px;
  width: 143px;
  position: relative;
  transition: 0.25s height ease;
}

.fxg-header__logo {
  left: 0;
  margin: 0;
  transform: translateY(-50%);
  -webkit-transition: 0.25s ease;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  width: auto;
  height: auto;
  max-width: 88px;
  max-height: 60px;
  transition: 0.25s ease;
}

.list__deliver {
  padding: 0;
}

.item__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto 0 auto 0 auto;
  grid-template-areas:
    "content           content           toggle           "
    "contentadditional contentadditional contentadditional"
    "button            button            button           ";
  -ms-grid-columns: 2fr 2rem 1fr 2rem auto;
  grid-template-columns: 2fr 1fr auto;
  grid-gap: 0 2rem;
}

@media (min-width: 768px) {
  .item__grid {
    /* ahora 3 columnas: contenido | toggle | create */
    grid-template-areas:
      "content           toggle            create"
      "contentadditional contentadditional .     "
      "button            button            button  ";
    grid-template-columns: 2fr auto auto;
  }

  .item__sender {
    margin-bottom: 0;
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-area: content;
    -ms-grid-row-align: start;
    align-self: start;
    padding-bottom: 2rem;
  }

  @media (min-width: 768px) {
    .magr-c-item__sender {
      -ms-grid-row: 1;
      -ms-grid-column: 1;
      -ms-grid-column-span: 1;
    }
  }

  .item__sender--title {
    font-family: var(--ff-lato);
    font-weight: 700 !important;
    line-height: 1.42857143;
    font-size: 0.9375rem;
  }

  .item__sender--description {
    font-weight: 300 !important;
    font-size: 1.25rem !important;
  }

  .item__sender--description-sm {
    font-weight: 400;
  }

  .item__sender--btn {
    border-style: none;
    padding: 0;
    border: 0;
    margin-bottom: 1.25rem !important;
    background-color: var(--accent-color);
    text-align: center;
    padding: 0 1.875rem;
    border-width: 0;
    width: 200px;
    -ms-grid-row: 5;
    -ms-grid-column: 1;
    -ms-grid-column-span: 5;
    grid-area: button;
    -ms-grid-row-align: start;
    align-self: start;
    flex-direction: column !important;
    font-size: 1.1875rem;
    color: #fff;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    height: 0;
    min-height: 60px;
    letter-spacing: 0.05em;
    cursor: unset;
  }

  @media (min-width: 768px) {
    .item__sender--btn {
      -ms-grid-row: 1;
      -ms-grid-column: 3;
      -ms-grid-column-span: 1;
    }
  }

  .item__sender--toggle {
    border: 0;
    padding: 0;
    text-align: center;
    border-width: 0;
    background: 0 0;
    -ms-grid-row: 1;
    -ms-grid-column: 5;
    grid-area: toggle;
    -ms-grid-row-align: start;
    align-self: start;
    height: 3.75rem;
    font-size: 2.563rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    min-height: 60px;
    letter-spacing: 0.05em;
    cursor: pointer;
    color: var(--accent-color);
  }
}

@media (min-width: 768px) {
  .item__sender--toggle {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
  }
  .item__sender--toggle.toggle {
    transform: rotate(180deg);
  }

  .item__sender--toggle {
    grid-area: toggle;
  }
  .item__sender--create-quote {
    grid-area: create;
    align-self: start; /* para alinear arriba */
    margin: 0; /* quitamos márgenes inesperados */
  }
}

/* ——— Color verde de la app ——— */
.item__sender--create-quote {
  background-color: var(--accent-color); /* verde de tu tema */
  color: #fff; /* texto blanco */
  border: none;
  border-radius: 4px;
  padding: 0.6em 1em;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.2s;
}
.item__sender--create-quote:hover {
  filter: brightness(0.9);
}

.item__sender--details {
  background-color: transparent !important;
  margin-bottom: 0;
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: contentadditional;
  -ms-grid-row-align: start;
  align-self: start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .item__sender--details {
    padding-bottom: 1.25rem !important;
  }

  .item__sender--details {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
  }
}

.details__definition--title {
  margin: 0;
  font-weight: 300;
  flex: 0 1 75%;
  max-width: 75%;
  font-size: 0.9375rem;
  padding: 0.15625rem 0;
  padding-right: 0.3125rem;
  text-transform: lowercase;
}

.details__definition--title:first-letter {
  text-transform: uppercase;
}

.details__definition--description {
  flex: 0 1 25%;
  max-width: 25%;
  font-size: 0.9375rem;
  margin: 0;
  padding: 0.15625rem 0;
  padding-left: 0.3125rem;
  text-align: right;
  font-weight: 300;
}

:is(.details__definition--description, .details__definition--title).bold {
  font-weight: 700 !important;
}
