/* =========== Google Fonts ============ */
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  color: #222;

  font-family: "Roboto", sans-serif;

  font-family: "Montserrat", sans-serif;
  font-family: "Prometo W02 Regular", sans-serif;
  overflow-y: scroll;
}
.container {
  margin: 5rem auto;
  position: relative;
  min-width: 0;
  width: 75%;
  display: flex;
  min-height: 100vh;
  flex-direction: row;
  gap: 20px;
}
.titles {
  font-family: "Ubuntu", sans-serif;
  font-family: "Roboto", sans-serif;
  font-family: "Montserrat", sans-serif;
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem; /* Espaço entre os itens */
  width: 50%;
  margin-bottom: 0.5rem;
}
.address-grid h5 {
  margin: 0;
  color: #222222cc;
}
/*============================rigth-container =====================*/
.left-container {
  border-radius: 10px;

  flex-direction: column;
  width: 100%;
  padding: 0.5rem;
  min-height: 100vh;
  background-color: #ffffff;
  /* border: #3c3c3c20 solid 1px;*/
  background-color: #f4f4f480;
  margin-top: 4rem;
  padding: 1rem;
}
.wrapper {
  display: flex;
  flex-direction: row;
  /* align-items: flex-start;*/
  padding: 1rem 0;
  height: 140px;
  border-top: 1px rgb(206, 206, 206) solid;
}

.adress-info {
  display: flex;
  padding: 0 1rem;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #ffffff;
  margin-bottom: 1rem;
}

/*--------------------------img-wrapper----------------------*/
.img-wrapper {
  padding: 0 1rem;
}

img {
  border-radius: 16px;
  height: 100%;
}

input[type="checkbox"] {
  width: 18px; /* Largura da checkbox */
  height: 18px; /* Altura da checkbox */
}

.input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

.trash-icon {
  font-size: 20px;
  color: #f00;
  color: #222222be;
  cursor: pointer;
  transition: 200ms ease-in-out;
}
.trash-icon:hover {
  color: #f00;
}
/*-------------------------.details-wrapper---------------------*/
.details-wrapper {
  flex: 3;
}

.clamp-text {
  color: #222222b5;
  font-size: 1rem;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Define o número máximo de linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3em; /* Ajuste a altura de acordo com o tamanho da linha */
  line-height: 1.5em; /* Ajuste a altura da linha de acordo com o estilo do texto */
}
.product-size {
  margin: 5px 0 5px 0;
}
/*-------------------------.price-wrapper ---------------------*/

.price-wrappert {
  font-family: "Montserrat", sans-serif;
}

.final-pricet {
  color: rgb(39, 39, 39);
  font-size: 1.2rem;
  font-weight: bolder;
}

.small-textt {
  font-size: 0.8rem;
  vertical-align: baseline;
}

.separeter {
  display: flex;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  height: 0;
  border: 0.5px solid #e8e8e8;
}
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: start;
  height: 25px;
  margin-top: 5px;
}

.quantity-btn {
  background-color: #fd384f;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.6em;
  width: 20px;
  height: 20px;
  text-align: center;
  margin: 0 8px;
}

.quantity-btn:hover {
  background-color: #fd7a89;
}
.quantity-btn i {
  font-size: 8px; /* Adjust the size of the icons */
  color: #ffffff; /* Adjust the color of the icons */
  pointer-events: none; /* Prevent the icon from interfering with button clicks */
}

.top-info {
  display: flex;
  padding: 0 1rem 0 0;
  flex-direction: column;
  flex: 1;
  background-color: #f4f4f459;
  /* border-radius: 15px;
  border-top: #d30e0e8b solid 2px;*/
}
/* ---------------tabela------------ */
.table {
  display: table;
  width: 100%;
  border-collapse: separate; /* Altere para 'separate' para aplicar border-radius */
  border-spacing: 0; /* Evita o espaçamento entre as células */
  border: none;
  border-radius: 16px;
  background-color: #ededed;
}
ul.table {
  padding: 5px;
}

.table-row {
  display: table-row;
}

.table-cell {
  display: table-cell;
  padding: 8px 0;
  border: none;
}

.label {
  font-weight: bold;
}

.person-name,
.person-age {
  text-align: left; /* Alinha o conteúdo à direita */
  color: red;
  font-weight: 600;
  letter-spacing: 1px;
}

.total {
  font-weight: 700;
}

.table-row {
  font-family: "Montserrat", sans-serif;
}

.frete {
  color: #fd384f;
  font-size: 1rem;
  font-weight: bold;
}
.subtotal {
  color: #fd384f;
  font-size: 1rem;
  font-weight: bold;
}
.total {
  color: red;
  font-size: 1.5rem;
  font-weight: bolder;
}

.description-list {
  /*list-style-type: disc;  Adds bullets */
  /* padding-left: 20px; Adds padding to align bullets properly */
  list-style-type: none !important; /* Remove bullets */
} /*
.top-info h3 {
  border-bottom: 3px solid red;
  box-sizing: border-box;
  width: 200px;
  font-weight: 400;
}*/
.top-info p {
  width: 62%;
  text-align: justify;
  color: #191919a2;
}
.top-info .mpesa {
  color: #f00;
  font-weight: 700;
}
/* Botões básicos */
.button {
  margin-bottom: 1.5rem;
  gap: 0.5rem;
  width: 50%;
  padding: 0.8rem 0.4rem;
  background-color: #444;
  /* border-radius: 30px;*/
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: 450ms ease-in-out;
}

/* Estilo adicional para o botão Carinha */
.carinha-button {
  background-color: #191919;
  background-color: #fd384f;
  border: none;
  color: #fff;
  margin-right: 1em;
}

.preview-button:hover,
.carinha-button:hover {
  border: #3c3c3c20 1px solid;
  background-color: white;
  color: #fd384f;
}

.payment-method {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-logo {
  width: 70px; /* Ajuste conforme necessário */
  height: auto;
}

.payment-input {
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 200px; /* Ajuste conforme necessário */
}
.method-item input[type="text"]:focus {
  border-color: rgb(255, 140, 140); /* Define a cor da borda */
  outline: none; /* Remove o contorno padrão */
}

/* Estilos do pop-up */
.add-address {
  cursor: pointer;
  color: #007bff;
  text-decoration: underline;
}

/* Estilos do pop-up */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  max-width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.popup-content h3 {
  margin-top: 0;
}

.popup-content form label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

.popup-content form input {
  width: 95%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup-content form button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  background-color: #fd7a89;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}
/* Estilo para o rótulo (label) */
label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Estilo para o dropdown (select) */
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  font-size: 16px;
  color: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Estilo para o dropdown quando focado */
select:focus {
  border-color: #fd7a89;
}

/* Container para o dropdown e a seta */
.select-container {
  position: relative;
}

/* Estilo para a seta do dropdown */
.select-container::after {
  content: "▼"; /* Conteúdo da seta */
  font-size: 12px; /* Tamanho da seta */
  color: #333; /* Cor da seta */
  position: absolute; /* Posicionamento absoluto */
  right: 10px; /* Distância da seta à direita */
  top: 50%; /* Centralizar verticalmente */
  transform: translateY(-50%); /* Ajustar para centralização */
  pointer-events: none; /* Ignorar cliques na seta */
}

@media (max-width: 1324px) {
}
@media (max-width: 968px) {
  .container {
    position: relative;
    min-width: 0;
    width: 90%;
    display: flex;
    min-height: 100vh;
    flex-direction: row;
    gap: 20px;
  }
  .titles {
    font-family: "Ubuntu", sans-serif;
  }

  .address-grid {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .address-grid h5 {
    margin: 0;
    color: #222222cc;
  }

  .clamp-text {
    color: #222222b5;
    font-size: 0.95rem;
    margin: 8px 0;
    height: 2em;
    line-height: 1em;
  }
  .qtd {
    margin: 12px 5px 12px 5px;
    color: #191919df;
  }

  .frete {
    color: #fd384f;
    font-size: 0.8rem;
    font-weight: bold;
  }
  .subtotal {
    color: #fd384f;
    font-size: 0.8rem;
    font-weight: bold;
  }
  .total {
    color: red;
    font-size: 1.2rem;
    font-weight: bolder;
  }
  .top-info p {
    width: 100%;
    text-align: justify;
    color: #191919a2;
    margin-top: 0;
    font-size: 13px;
  }
}
@media (max-width: 798px) {
  body {
    background-color: #f4f4f480;
  }
  .container {
    margin: 5rem auto;
    margin-bottom: 1rem;
    width: 98%;
  }
  .total {
    color: red;
    font-size: 1rem;
    font-weight: bolder;
  }
  .img-wrapper {
    padding: 0 0.2rem;
  }
}
h3 i {
  margin-right: 8px;
}
