#cs-navigation .cs-li-link {
  color: var(--bodyTextColorWhite);
}
#cs-navigation .cs-li-link:hover:before {
  width: 100%;
}
#cs-navigation .cs-li-link.cs-active:before {
  width: 100%;
}
#cs-navigation .cs-li-link:before {
  content: "";
  width: 0%;
  height: 2px;
  background: var(--bodyTextColorWhite);
  opacity: 1;
  position: absolute;
  display: block;
  bottom: 0rem;
  left: 0;
  transition: width 0.3s;
}
/*-- -------------------------- -->
<---         Encomendas         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #encomendas {
    padding: var(--sectionPadding);
    padding-top: 8rem;
    position: relative;
    z-index: 1;
    background-color: var(--primaryLight);
  }
  #encomendas .cs-container {
    width: 100%;
    max-width: 53.75rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  #encomendas .cs-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #encomendas .cs-title {
    color: var(--bodyTextColorWhite);
    font-size: clamp(2.2rem, 5vw, 3.375rem);
  }
  #encomendas .cs-text {
    color: var(--bodyTextColorWhite);
    opacity: 0.9;
    margin: 0;
  }
  #encomendas .cs-form {
    width: 100%;
    border-radius: 1.25rem;
    /* 24px - 48px top and bottom */
    /* 20px - 48px left and right */
    padding: clamp(1.5rem, 4.18vw, 3rem) clamp(1.25rem, 4.18vw, 3rem);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-sizing: border-box;
    /* espaço para o menu fixo ao mudar de página */
    scroll-margin-top: 6.25rem;
  }
  #encomendas .order-page {
    border: none;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  #encomendas .order-page[hidden] {
    display: none;
  }
  #encomendas .order-progress {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
  }
  #encomendas .order-progress li {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 700;
    color: #b3b3b3;
    padding-top: 0.625rem;
    border-top: 4px solid var(--secondary);
    transition: color 0.3s, border-color 0.3s;
  }
  #encomendas .order-progress li.cs-active {
    color: var(--primaryLight);
    border-color: var(--primaryLight);
  }
  #encomendas .order-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  #encomendas .order-buttons .cs-button-solid {
    min-width: 10rem;
    margin: 0;
  }
  #encomendas .cs-back {
    font-size: 1rem;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    font-weight: 700;
    color: var(--primaryLight);
    background-color: #fff;
    border: 2px solid var(--primaryLight);
    padding: 0 1.5rem;
    justify-content: center;
  }
  #encomendas .cs-back:hover {
    scale: 1.05;
  }
  #encomendas .order-step {
    border: none;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  #encomendas .order-step[hidden] {
    display: none;
  }
  #encomendas .order-step-title {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 800;
    color: var(--headerColor);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0;
  }
  #encomendas .order-step-num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--primaryLight);
    color: #fff;
    font-size: 1.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
  }
  #encomendas .order-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  #encomendas .order-type {
    position: relative;
    cursor: pointer;
  }
  #encomendas .order-type input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
  }
  #encomendas .order-type input:checked + .order-type-card {
    border-color: var(--primaryLight);
    box-shadow: 0 0.5rem 1.5rem rgba(198, 93, 89, 0.35);
  }
  #encomendas .order-type input:checked + .order-type-card .order-type-name {
    background-color: var(--primaryLight);
    color: #fff;
  }
  #encomendas .order-type input:focus-visible + .order-type-card {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
  }
  #encomendas .order-type-card {
    height: 100%;
    border: 3px solid transparent;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  }
  #encomendas .order-type-card:hover {
    transform: translateY(-4px);
  }
  #encomendas .order-type-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
  }
  #encomendas .order-type-name {
    flex: 1;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 700;
    line-height: 1.3em;
    text-align: center;
    color: var(--headerColor);
    padding: 0.75rem 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
  }
  #encomendas .order-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  #encomendas .order-question {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  #encomendas .order-question > .order-label {
    display: block;
  }
  #encomendas .order-label {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 700;
    color: var(--headerColor);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  #encomendas .order-label[hidden] {
    display: none;
  }
  #encomendas .order-label small {
    font-weight: 400;
    color: var(--bodyTextColor);
  }
  #encomendas .cs-input {
    border: 2px solid var(--primary);
    border-radius: 1rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    width: 100%;
    height: 3.5rem;
    padding: 0 1.5rem;
    color: var(--headerColor);
    background-color: #fff;
    box-sizing: border-box;
  }
  #encomendas .cs-input::placeholder {
    color: #858383;
  }
  #encomendas .cs-input:focus {
    outline: none;
    border-color: var(--primaryLight);
    box-shadow: 0 0 0 3px var(--secondary);
  }
  #encomendas .cs-textarea {
    min-height: 7.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    resize: vertical;
  }
  #encomendas .cs-file {
    height: auto;
    padding: 0.875rem 1rem;
    border-style: dashed;
    cursor: pointer;
  }
  #encomendas .cs-file::file-selector-button {
    font-family: inherit;
    font-weight: 700;
    color: #fff;
    background-color: var(--primaryLight);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin-right: 0.75rem;
    cursor: pointer;
  }
  #encomendas .order-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  #encomendas .order-chips label {
    position: relative;
    cursor: pointer;
  }
  #encomendas .order-chips input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
  }
  #encomendas .order-chips span {
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    line-height: 1.3em;
    color: var(--headerColor);
    border: 2px solid var(--secondary);
    border-radius: 6.25rem;
    padding: 0.5rem 1rem;
    display: block;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  }
  #encomendas .order-chips label:hover span {
    border-color: var(--primaryLight);
  }
  #encomendas .order-chips input:checked + span {
    background-color: var(--primaryLight);
    border-color: var(--primaryLight);
    color: #fff;
  }
  #encomendas .order-chips input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  #encomendas .order-chips input:disabled + span {
    opacity: 0.4;
    cursor: not-allowed;
  }
  #encomendas .order-count {
    font-weight: 700;
    color: var(--primaryLight);
  }
  #encomendas .order-reveal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  #encomendas .order-reveal[hidden] {
    display: none;
  }
  #encomendas .order-hint {
    font-size: 0.875rem;
    color: var(--bodyTextColor);
  }
  #encomendas .order-info {
    background-color: #fdf1ee;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  #encomendas .order-info summary {
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
  }
  #encomendas .order-info[open] summary {
    margin-bottom: 0.5rem;
  }
  #encomendas .order-info p,
  #encomendas .order-info li {
    font-size: 0.9375rem;
  }
  #encomendas .order-info ol {
    padding-left: 1.25rem;
  }
  #encomendas .order-info strong {
    color: var(--primary);
  }
  #encomendas .order-flyers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  #encomendas .order-flyers img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
  }
  #encomendas .cs-submit {
    font-size: 1rem;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    font-weight: 700;
    color: #fff;
    background-color: var(--primaryLight);
    border: none;
    min-width: 17.6875rem;
    padding: 0 1.5rem;
    justify-content: center;
    align-self: center;
  }
  #encomendas .cs-submit:hover {
    scale: 1.05;
  }
  #encomendas.order-sent {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }
  #encomendas.order-sent .cs-content {
    gap: 1rem;
    max-width: 38.75rem;
  }
  #encomendas .order-sent-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  #encomendas .order-sent-buttons .cs-button-solid {
    color: var(--primary);
    gap: 0.5rem;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #encomendas .order-types {
    grid-template-columns: repeat(4, 1fr);
  }
  #encomendas .order-grid,
  #encomendas .order-flyers {
    grid-template-columns: repeat(2, 1fr);
  }
  #encomendas .order-full {
    grid-column: 1 / -1;
  }
  #encomendas .order-half {
    width: calc(50% - (8/16rem));
  }
}
