/* Mobile: até 600px */
@media (max-width: 600px) {

  .hidden-lg {
    display: block !important;
  }

  .hidden-mobile {
    display: none !important;
  }

  .icon-item {
    flex: 0 0 calc(30.30% - 10px);
  }

  .small-text {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  /* ===== Seção do formulário ===== */
  .area-product-order {
    display: flex;
  }

  .area-img-order {
    width: 100px;
    height: 80px;
    margin-right: 5px;
    overflow: hidden;
  }

  .area-img-order img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .area-product-order strong {
    text-align: justify !important;
    font-size: .9em !important;
  }

  .quantity-control {
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 5px;
    width: max-content;
    border: 1px solid #ccc;
    border: none !important;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px !important;
  }

  .quantity-control button {
    padding: 5px 12px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.3em;
    transition: background 0.2s;
  }

  .quantity-control input {
    width: 50% !important;
    text-align: center;
    border: none !important;
    outline: none;
    font-size: 16px;

  }

  .area-price-qtd-order {
    width: 100%;
    display: none !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    
  }

  .close-order {
    width: 100%;
    height: max-content;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    border-top: 5px solid #e5e5e5;
    padding: 10px;
    z-index: 1000;
  }

  .area-order-close {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .area-order-close span {
    font-weight: 600;
  }

  .remove {
    display: none !important;
  }

  .text-remove {
    display: flex;
    justify-content: center;
    font-weight: 600;
  }

  .form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
  }

  .form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
  }

  .form-select,
  .form-control {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  }

  .form-select:focus,
  .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
  }

  textarea.form-control {
    resize: vertical;
    /* deixa o usuário aumentar/diminuir altura */
    min-height: 80px;
  }

  .area-hollow-cart {
    text-align: center;
    width: 100%;
    height: max-content;
    background-color: #e5e5e5;
    border-radius: 15px;
    padding: 20px;
  }

  .icon-svg-cart-hollow {
    margin: 0 auto;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .icon-svg-cart-hollow svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
  }

}

/* Tablet: 601px até 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
  .area-product-order {
    display: flex;
  }

  .area-img-order {
    width: 100px;
    height: 80px;
    margin-right: 5px;
    overflow: hidden;
  }

  .area-img-order img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
  }

  .quantity-control button {
    padding: 5px 12px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.3em;
    transition: background 0.2s;
  }

  .quantity-control input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 16px;
  }

  .area-price-qtd-order {
    width: 100%;
    display: none !important;
    justify-content: space-between;
    align-items: center;
  }

  .close-order {
    width: 100%;
    height: max-content;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    border-top: 5px solid #e5e5e5;
    padding: 10px;
    z-index: 1000;
  }

  .area-order-close {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .area-order-close span {
    font-weight: 600;
  }

  .text-remove {
    display: flex;
    justify-content: center;
    font-weight: 600;
  }

  .form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
  }

  .form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
  }

  .form-select,
  .form-control {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  }

  .form-select:focus,
  .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
  }

  textarea.form-control {
    resize: vertical;
    /* deixa o usuário aumentar/diminuir altura */
    min-height: 80px;
  }


  .area-hollow-cart {
    margin: 0 auto;
    text-align: center;
    width: 50%;
    height: max-content;
    background-color: #e5e5e5;
    border-radius: 15px;
    padding: 20px;
  }

  .icon-svg-cart-hollow {
    margin: 0 auto;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .icon-svg-cart-hollow svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
  }
}

/* Desktop: acima de 1024px */
@media (min-width: 1025px) {
  .area-product-order {
    display: flex;
  }

  .area-img-order {
    width: 100px;
    height: 80px;
    margin-right: 5px;
    overflow: hidden;
  }

  .area-img-order img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;

    border-radius: 5px;
    overflow: hidden;
  }

  .quantity-control button {
    padding: 5px 12px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.3em;
    transition: background 0.2s;
  }

  .quantity-control input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 16px;
  }

  .area-price-qtd-order {
    width: 100%;
    display: none !important;
    justify-content: space-between;
    align-items: center;
  }

  .area-order-close {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .area-order-close span {
    font-weight: 600;
  }

  .text-remove {
    display: flex;
    justify-content: center;
    font-weight: 600;
  }

  .form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
  }

  .form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
  }

  .form-select,
  .form-control {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  }

  .form-select:focus,
  .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
  }

  textarea.form-control {
    resize: vertical;
    /* deixa o usuário aumentar/diminuir altura */
    min-height: 80px;
  }

  .area-confirm-payment {
    width: 60% !important;
  }

  .container-payment {
    position: sticky;
    top: 13%;
  }

  .close-order {
    width: 100%;
    height: max-content;
    background-color: #fff;
    position: inherit !important;
    bottom: 0;
    padding: 10px;
    z-index: 1000;
  }

  .area-conteiner-lg {
    display: flex;
  }

  .card-lg-payment {
    width: 100% !important;
  }

  .area-chosen {
    display: flex;
    gap: 10px;
  }


  .area-hollow-cart {
    margin: 0 auto;
    text-align: center;
    width: 75%;
    height: 30vh;
    background-color: #e5e5e5;
    border-radius: 15px;
    padding: 50px;
  }

  .icon-svg-cart-hollow {
    margin: 0 auto;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .icon-svg-cart-hollow svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
  }

}

.list-car {
  padding: 5px;
  background-color: #f5f5f5;
  margin-bottom: 8px;
  color: #727272;
  border-radius: 5px;
}

.installation-item-checkout {
  background-color: #efefef;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 8px;
  border: 3px solid #e5e5e5 !important;
}

.icon-row {
  overflow-x: auto;
  gap: 5px;
}

/* impede que as colunas quebrem linha */
.icon-item {
  flex: 0 0 calc(23.23% - 5px);
}

/* diminui texto no mobile */
.small-text {
  font-size: 0.85rem;
  line-height: 1.2;
}

.icon-istallation {
  background-color: #f7c800;
  width: max-content;
  height: max-content;
  padding: 20px;
  margin: 0 auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50% !important;
}

.subtotal-container{
  display:none !important;
}