

.sidebar {
    background-color: linear-gradient(to right,rgb(70, 116, 214), #6b9aeb);
    color: white;
}

.content {
    padding: 20px;
}


.card-header {
    background-color: #f7f4ed;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    padding: 15px;
}

.btn-primary {
    background-color: transparent;
    color: #fff;
    border-radius: 10px 5px 10px 5px;
    padding: 8px 15px;
    /* Botão menor */
    font-size: 15px;
    transition: all 0.3s ease;
    opacity: 0.9;
    border: none;
    cursor: pointer;
    background: linear-gradient(to right,rgb(70, 116, 214), #6b9aeb);
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.1);
}


.btn-secondary {
    background: linear-gradient(to right, #f47c14, #f0a453);
    color: #fff;
    border-radius: 10px 5px 10px 5px;
    padding: 8px 15px;
    /* Botão menor */
    font-size: 15px;
    transition: all 0.3s ease;
    opacity: 0.9;
    border: none;
    cursor: pointer;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.1);
}


.btn-danger {
    background-color: red;
    color: #fff;
    border-radius: 10px 5px 10px 5px;
    padding: 8px 15px;
    /* Botão menor */
    font-size: 15px;
    transition: all 0.3s ease;
    opacity: 0.9;
    border: none;
    cursor: pointer;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.1);
}


.btn-trash {
    background-color: transparent;
    color: #dc3545;
    /* Botão menor */
    font-size: 15px;
    transition: all 0.3s ease;
    opacity: 0.9;
    border: none;
    cursor: pointer;
}

/* Estilização do campo de seleção */
#agenda-professional-select {
    width: 95%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: #fff;
    appearance: none; /* Remove o estilo padrão do navegador */
    -webkit-appearance: none; /* Para navegadores baseados em WebKit */
    -moz-appearance: none; /* Para Firefox */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M128%20160l-64-64h128z%22%2F%3E%3C%2Fsvg%3E'); /* Ícone de seta personalizado */
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

/* Estilo para itens selecionados */
.selected-procedure {
    color: #f47c14; /* Texto mais escuro */
    font-weight: bold;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.btn-success {
    background-color: #28a745;
    color: white;
    border-radius: 10px 5px 10px 5px;
    padding: 5px 15px;
    /* Botão menor */
    font-size: 18px;
    transition: all 0.3s ease;
    opacity: 0.9;
    border: none;
    cursor: pointer;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.1);
}

.ons-list-item__icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.custom-title {
    font-size: 15px;
    font-weight: bold;
    margin-left: 20px;
    text-align: left;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border: none;
    box-shadow: none;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #495057;
    /* Cor do texto de orientação */
}

.btn-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 57%;
    transform: translateY(-50%);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

/* Classe para animação de rotação */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinning-icon {
    animation: spin 1s linear infinite;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 15px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.instruction-text {
    font-size: 15px;
    color: #495057;
    /* Cor do texto de orientação */
    margin-bottom: 10px;
}


.table {
    width: 100%;
    /* Garante que a tabela ocupe toda a largura */
    margin-bottom: 0;
    /* Remove margin inferior da tabela */
    color: #212529;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;

}
/* Container dos itens do carrinho */
  #cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Estilo base do card (inicialmente escondido) */
  .cart-item {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
#campo-busca:focus {
  color: #5a3d26;
}
  /* Classe de ativação */
  .cart-item.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
.table tbody+tbody {
    border-top: 2px solid #dee2e6;
}
.card {
  opacity: 0;
  min-height: 320px;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.card.carregado {
  opacity: 1;
  transform: translateY(0);
}
.card-body {
    padding: 0;
    /* Remove padding do card-body */
}

.table tr td:first-child {
    padding-left: 15px;
    /* Adiciona padding esquerdo na primeira coluna */
}

.table tr td:last-child {
    padding-right: 15px;
    /* Adiciona padding direito na última coluna */
}

.form-text.text-muted {
    font-size: 12px;
    color: #6c757d;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    color: #f47c14; /* Cor do texto do label */
}

.form-control {
    margin-top: 5px;
    width: 92%;
    font-weight: bold;
}
/* Estiliza o placeholder */
.form-control::placeholder {
    font-size: 12.5px; /* Diminui o tamanho do texto do placeholder */
    color: #aba7a7; /* Muda a cor do placeholder para #999 */
    font-weight: normal; /* Remove o bold apenas para os placeholders */
}
textarea.auto-resize {
resize: none;
overflow: auto;
min-height: 30px;
font-size: 12px;
line-height: 1.4;
padding: 8px;
border: 1px solid #f7f7f7;
border-radius: 4px;
width: 100%;
box-sizing: border-box;
transition: border-color 0.3s ease;
}

textarea.auto-resize:focus {
    border-color: #6b9aeb;
    outline: none;
    box-shadow: 0 0 5px rgba(41, 128, 185, 0.5);
}


/* Classe personalizada para estilização */
.custom-alert-dialog {
    --alert-dialog-background: #fff !important;
    --alert-dialog-border-radius: 20px !important;
    --alert-dialog-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Estilização do título */
.alert-dialog-title {
    font-size: 18px; /* Tamanho maior para o título */
    padding: 15px 20px; /* Espaçamento interno */
    color: #6b9aeb; /* Cor amarela vibrante para o título */
    margin-bottom: 0; /* Remove o espaçamento entre o título e o conteúdo */
    display: none;
}

/* Estilização do conteúdo */
.alert-dialog-content {
    margin-top: -0px;
    font-size: 16px; /* Tamanho padrão para o texto */
    padding: 0px 20px; /* Espaçamento interno */
    color: #333; /* Cor preta para o texto */
    margin-bottom: -10px;
}

/* Estilização dos botões */
.alert-dialog-button {
    font-size: 12px; /* Tamanho do botão */
    padding: 10px 20px; /* Espaçamento interno */
    color: #6b9aeb; /* Cor do texto do botão */
    border-radius: 8px; /* Bordas arredondadas */
    margin-bottom: 15px; /* Espaçamento entre o conteúdo e o botão */
}
.molduras-container {
  max-height: 0;
  overflow: auto;
  transition: max-height 0.4s ease;
}

.molduras-container {
  display: none;
}

.molduras-container.show {
  display: block;
  animation: fadeDown 0.3s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
  /* Estilo padrão (desktop) */
  #modalMoldura {
    margin-top: 0px !important;
  }

  #modalMoldura img#modalImg {
    width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .overlay-arte {
    width: 100%;
    text-align: right;
    margin-top: -350px;
    margin-bottom: 30px;
    z-index: 0;
  }
#cart-notification {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
}

#cart-notification.hide {
  transform: translateY(-20px);
  opacity: 0;
}
  .overlay-arte img {
    width: 600px;
    border-radius: 0%;
    margin-right: -300px;
    position: relative;
  }


#paymentBricks {
  display: none;
  padding: 0px;
  background: #fff9f3;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-top: 20px; /* Espaço acima do checkout */
  overflow-y: auto; /* Permite rolagem se necessário */
  width: 100%;
}

  /* Ajustes para telas menores que 600px (mobile) */
  @media (max-width: 500px) {
    #modalMoldura {
      margin-top: 28% !important;
    }
    #img-mp {
      margin-top: -50px !important;
    }
    #campobusca {
      margin-top: 13px !important;
      margin-left: -5% !important;
    }
     #img-mp-m {
      margin-top: 49px !important;
    }
    #LogoTop {
      margin-top: 5px !important;
    }

    .overlay-arte img {
      margin-right: -257px !important;
    }
  }
    /* Ajuste para Tablet (501px até 1024px) */
  @media (min-width: 501px) and (max-width: 1024px) {
    #modalMoldura {
      margin-top: 40% !important;
    }

    .overlay-arte img {
      margin-right: -240px !important;
    }
  }
  /* Aumenta o tamanho da fonte em telas maiores (PC) */
  @media (min-width: 768px) {
    p[style*="font-size: 12px"] {
      font-size: 14px !important;
    }
  }
  body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    font-size: 15px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-y: auto;
  }

  
  #zoomImg {
  opacity: 0;
  transition: opacity 0.3s ease;
}
#zoomImg.loaded {
  opacity: 1;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#zoomModal, #zoomModal img {
  touch-action: none;
}

  /* Ajuste para celular: imagem maior */
  @media (max-width: 768px) {
    #zoomModal img {
      max-width: 95vw !important;
      max-height: 85vh !important;
    }
  }
  

#zoomImg {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.2s ease;
  cursor: zoom-in;
}

#zoomModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

    /* Remove barras de rolagem indesejadas */
  ::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
  }
  /* Esconde barras de rolagem */
  body::-webkit-scrollbar {
    display: none;
  }


  /* Para o conteúdo da página */
  .page-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  ons-splitter-side {
    overflow: auto;
  }


ons-page {
  overflow-y: auto;
}

    .logo {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 20px auto;
      border: 3px solid #6c4b2f;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
   /* Efeito de pulso na logo */
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

    .logo {
      animation: pulse 10s infinite;
    }


  .loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .btn-loading {
    opacity: 0.8;
    pointer-events: none;
  }

  #container-molduras {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}
#container-molduras img {
  width: 100%;
  max-width: 100px;
  height: auto;
}


  /* Estilo para o Checkout Bricks */
#paymentBricks .mp-iframe-container {
  border: 1px solid #e5dccf !important;
  border-radius: 12px !important;
  overflow: auto !important;
}

.mp-iframe-container iframe {
  border: none !important;
  width: 100% !important;
  height: 400px !important;
}

/* Botão de pagamento personalizado */
.mp-button--primary {
  background-color: #6c4b2f !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: 'Meduza', serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  padding: 12px 20px !important;
  transition: background 0.3s ease !important;
}

.mp-button--primary:hover {
  background-color: #5a3d27 !important;
}

/* Textos personalizados */
.mp-text--title {
  color: #6c4b2f !important;
  font-size: 18px !important;
  font-family: 'Meduza', serif !important;
  font-weight: 500 !important;
}

.mp-text--subtitle {
  color: #6b5b45 !important;
  font-size: 14px !important;
  font-family: 'Meduza', serif !important;
}

/* Campo de entrada personalizado */
.mp-input {
  border: 1px solid #e5dccf !important;
  border-radius: 6px !important;
  font-family: 'Meduza', serif !important;
  color: #6c4b2f !important;
  padding: 10px !important;
}

.mp-input:focus {
  outline: none !important;
  border-color: #6c4b2f !important;
  box-shadow: 0 0 0 2px rgba(108, 75, 47, 0.2) !important;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Limita a altura do container de pagamento */
#payment-container {
  max-height: 400px; /* Define uma altura máxima */
  overflow-y: auto; /* Permite rolagem vertical se necessário */
}


  /* Masonry com CSS columns */
  #listar_telas{
    display:block !important;
    column-width: 380px;   /* ajusta a largura “alvo” da coluna */
    column-gap: 20px;
    max-width:1280px;
    margin:0 auto;
    padding:0;
  }
  .product-card{
    display:inline-block !important;
    width:100% !important;
    max-width:none !important;   /* ignora max-width:400px inline */
    margin:0 0 20px !important;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
            opacity: 0;
        animation: fadeIn 0.1s ease-in-out forwards;
  }
.product-card:nth-child(1) { animation-delay: 0ms; }
.product-card:nth-child(2) { animation-delay: 50ms; }
.product-card:nth-child(3) { animation-delay: 100ms; }
.product-card:nth-child(4) { animation-delay: 150ms; }
.product-card:nth-child(5) { animation-delay: 200ms; }
.product-card:nth-child(6) { animation-delay: 250ms; }
.product-card:nth-child(7) { animation-delay: 300ms; }
.product-card:nth-child(8) { animation-delay: 350ms; }
.product-card:nth-child(9) { animation-delay: 400ms; }

  @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
  }
  .product-card img{ width:100%; height:auto; display:block; }
  /* Preço/inf. sem float */
  .price-row{
    display:flex; justify-content:space-between; align-items:flex-end;
    gap:12px; margin:10px 0 0;
  }
  .price-row .shipping{ font-size:12px; color:#6c4b2f; }
  .price-row .amount{ font-size:12px; color:#6c4b2f; text-align:right; }
  .price-row .amount b{ font-size:22px; }

#paymentBricks .form-title {
  display: none !important;
}