:root {
  --primary-default: rgb(4 136 72);
  --primary-dark: rgb(3 112 60);
  /* --primary-lighter: rgb(7, 232, 131); nada usa isso */
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  
  /* --gray-600: #4b5563; */
  --gray-600: #555;
  
  --font-primary: "Outfit", sans-serif;
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-regular);
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--gray-100);
  min-height: 100vh;
}

.container {
  /*max-width: 1080px;*/
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 1.75rem;
}

/*
@media (min-width: 768px) {
  .container {
    grid-template-columns: 2fr 1fr;
    padding: 3rem 1rem;
  }
}
*/

.w-full {
  width: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

/* Form Styles */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-section {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
}

.form-section h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: #313c52;
  margin-bottom: 1.5rem;
}

.form-grid {
  /* display: grid; */
	display:flex;
	flex-direction:column;
  gap: 1rem;
}

/* @media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
} */

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: #313c52;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  min-height: 50px;
  padding: 0.5rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  transition: all 0.2s;
}

.form-group input:hover {
  border-color: var(--gray-600);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gray-600);
  box-shadow: 0 0 0 1px var(--gray-600);
}

/* Payment Section */
.payment-options {
  display: flex;
  gap: 0.75rem;
}

.submit-section {
  margin-top: 1.5rem;
}

.submit-button {
  width: 100%;
  background: var(--primary-default);
  color: white;
  border: none;
  border-radius: 0.375rem;
  padding: 1rem;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
	gap: .25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-button:hover {
  background: var(--primary-dark);
}

@media (min-width: 768px) {
  .submit-button {
    grid-column: 2;
  }
}

/* Cart Summary */
.cart-summary {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-header h2 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: #313c52;
}

.cart-count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: #0762d1;
  color: white;
  border-radius: 50%;
  font-weight: 700;
}

/* .cart-item {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
} */

.item-details {
  display: flex;
  gap: 0.5rem;
}

.item-image {
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  flex: 1;
}

.item-name {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
}

.item-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: var(--font-regular);
  color: var(--gray-400);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
}

.cart-total strong {
  font-weight: var(--font-bold);
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.security-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  background: white;
  border: none;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.4s;
}

.security-button:hover {
  box-shadow: 0 0 7px rgba(46, 133, 236, 0.3);
}

.security-icon {
  width: 1.375rem;
  height: 1.375rem;
  margin-right: 0.25rem;
  fill: #41c286;
}

/* estilos da página do pix */
.payment-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
}
.pix-container {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 6px -1px,
    rgba(0, 0, 0, 0.1) 0 2px 4px -2px;
}
#pixScreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem;
}
#pixScreen h2 {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: #333;
  margin-bottom: 2rem;
}
.qr-code-container {
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
}
.pix-copy-text {
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  color: #666;
}
.pix-code-container {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pix-code-container input {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  background: #f5f5f5;
}
.copy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  /* background: #06f; */
  background: #41c286;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: background 0.2s;
}
.copy-button:hover {
  /* background: #0052cc; */
  background: #31ae74;
}
.copy-button svg {
  fill: currentColor;
}
.payment-instructions {
  text-align: left;
  margin-top: 2rem;
}
.payment-instructions h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: 1.5rem;
}
.instruction-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}
.step-icon {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  background: #00b341;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: #fff;
}
.instruction-step p {
  font-size: var(--text-base);
  font-weight: var(--font-regular);
}
.instruction-step .step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  background: #00a868;
  border-radius: 50%;
  flex-shrink: 0;
}
.instruction-step .step-icon i {
  color: #fff;
  font-size: 20px;
}
.instruction-step {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

/* esses n sao utilizados mas tavam aq.. */
.payment-details {
  margin: 2rem 0;
  padding: 1rem;
  background: #f8f8f8;
  border-radius: 0.5rem;
}

.payment-details h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: 1rem;
}

.total-value {
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  color: #333;
}

.total-value strong {
  font-weight: var(--font-bold);
  color: var(--primary-default);
}

/* Reset tipográfico */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-semibold);
  line-height: 1.2;
}

/* Estilos simplificados e centralizados */
.payment-section {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.payment-method {
  margin-bottom: 1.5rem;
}

.payment-option {
  display: flex;
  align-items: center;
  justify-content: center; /* Centraliza os itens */
  gap: 0.5rem; /* Reduzido o espaço entre ícone e texto */
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #f9fafb;
}

.payment-icon {
  width: 24px;
  height: 24px;
}

.payment-label {
  font-size: var(--text-base);
  color: var(--gray-600);
}

/* Botão mantém o mesmo estilo */
.submit-button {
  width: 100%;
  background: var(--primary-default);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.875rem;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background: var(--primary-dark);
}

/* Ajustes no carrinho */
.cart-summary {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
}

/* Rodapé com formas de pagamento */
.payment-footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid #eee;
  margin-top: 2rem;
}

.payment-footer h4 {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.payment-methods-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 2rem;
  font-size: var(--text-xs);
  color: var(--gray-600);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.secure-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-default);
}



/* Adicione estes estilos ao seu CSS */
.email-input-wrapper {
	position: relative;
	width: 100%;
}

.email-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	max-height: 200px;
	overflow-y: auto;
}

.email-suggestion {
	padding: 10px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.email-suggestion:hover {
	background-color: #f5f5f5;
}

.loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.95);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.loading-content {
	text-align: center;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #f3f3f3;
	border-top: 5px solid #00a868;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

.loading-content h2 {
	color: #333;
	margin-bottom: 10px;
}

.loading-content p {
	color: #666;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.instruction-step .step-icon {
	width: 40px;
	height: 40px;
	background: #00a868;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.instruction-step .step-icon i {
	color: white;
	font-size: 20px;
}

.instruction-step {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}

.prova-social-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top:1.75rem;
}

.prova-social {
  display:flex;
  flex-direction:row;
  gap:0.75rem;
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
}

.prova-social .avatar {
  display:flex;
  align-items:center;
  flex-shrink:0;
}
.prova-social .avatar img {
  height:60px;
  width:60px;
  object-fit: cover;
  color: transparent;
  border-radius:9999px;
}

.prova-social .estrelas {
  color:#fcc800;
}

.prova-social .nome {
  font-weight:500;
}

.prova-social .mensagem {
  font-size: .875rem;
  line-height: 1.25rem;
  color:#6a7282;
}