h1,
		h2 {
			color: #000000;
		}

		header#topo .cover {
			background-color: #000000;
		}

		#cart-modal {
		display: none;
		/* … */
		}

    	#cart-content { background:#fff; width:90%; max-width:400px;
      		margin:5% auto; padding:20px; position:relative; }

		header#topo .info h1 {
			color: #000000;
		}

		header#topo .info .icones a {
			color: #000000;
			border-color: #000000;
		}

		header#topo .cover .logo {
			background: #000000;
		}

		header#topo #menuCategorias {
			background: #000000;
		}

		header#topo .categorias a {
			border-top-color: #000000;
		}

		footer {
			background: #000000;
		}

		footer#carrinho .container .icone span {
			color: #000000;
		}

		.btn,
		a.voltar,
		.btnSair,
		.btnFidelidade,
		.btnGoogle,
		.btnEmail,
		.btnSemCadastro {
			background: #000000;
		}

		.qtdeProduto i:hover {
			color: #000000;
		}

		.lista .item .col .nomeProduto {
			color: #000000;
		}

		main#lista .produtos .item a:hover {
			border: 2px solid #000000;
		}

		main#lista h1,h2 {
			color: #000000
		}

		#pedido .entrega .radio label input[type="radio"]:checked,
		#pedido .entrega .radio label:hover {
			background: #000000;
		}

		#pedido .pagamentos input[type="radio"]:checked+label::before,
		#detalhesProduto .info2 .opcoes input[type="checkbox"]:checked+label::before,
		#pedido .trocarPontos input[type="checkbox"]:checked+label::before {
			background-color: #000000;
			border: 2px solid #000000;
		}

		.selecionado {
			border: 2px solid #000000;
		}

		#meuCarrinho button.fechar,
		#rastreamento .registro span.passou {
			background: #000000;
		}

		span.estoque i {
			color: #000000;
		}
	/* ======== GLOBAIS ======== */
	* { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: Arial, sans-serif; }

    /* === PRODUTOS === */
    #product-list {
      list-style: none;
      padding: 20px;
    }
    #product-list li {
      margin-bottom: 10px;
    }
    .add-to-cart-btn {
      margin-left: 10px;
      padding: 4px 8px;
      cursor: pointer;
    }

    /* === CARRINHO FLUTUANTE === */
    .cart-icon {
      position: fixed;
      bottom: 20px;
      right: 20px;
      font-size: 1.8rem;
      cursor: pointer;
      z-index: 2000;
    }
    .cart-icon .cart-count {
      position: absolute;
      top: -6px;
      right: -10px;
      background: red;
      color: #fff;
      border-radius: 50%;
      padding: 2px 6px;
      font-size: 0.75rem;
    }

	/* 1) Overlay que ofusca o fundo */
	.overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .3s ease, visibility .3s ease;
	z-index: 1499;
	}
	.overlay.active {
	opacity: 1; visibility: visible;
	}

    /* === DRAWER / CHECKOUT === */
    .checkout-drawer {
	position: fixed;
	top: 50%; left: 50%;
	border-radius: 15px;
	transform: translate(-50%, -50%) scale(0.9);
	width: 90%; max-width: 400px; max-height: 80%;
	background: #ffff !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	opacity: 0;
	visibility: hidden;
	transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
	z-index: 1500;
	display: flex;
	flex-direction: column;
	}
    .checkout-drawer.open {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
		visibility: visible;
	}
    .close-btn {
      background: none;
      border: none;
      font-size: 1.5rem;
      padding: 12px;
      cursor: pointer;
      align-self: flex-end;
    }
    /* 3) Scroll apenas no conteúdo interno */
	.checkout-card input[type="text"],
	.checkout-card input[type="email"],
	.checkout-card input[type="tel"],
	.checkout-card input[type="number"] {
	width: 100%;
	padding: 12px 16px;
	margin: 8px 0 16px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background-color: #fafafa;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s, box-shadow 0.3s;
	box-sizing: border-box;
	}

	/* Remover setinhas do number input (WebKit) */
	.checkout-card input[type="number"]::-webkit-inner-spin-button,
	.checkout-card input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
	}

	/* Efeito de foco mais elegante */
	.checkout-card input:focus {
	outline: none;
	border-color: #7b3dbd;
	background-color: #fff;
	}

	/* Placeholder com cor mais suave */
	.checkout-card input::placeholder {
	color: #aaa;
	}

	/* 4) Bloquear scroll da página ao abrir */
	body.modal-open {
	overflow: hidden;
	}

    /* === WIZARD STEPS === */
    .progressbar {
      display: flex;
      justify-content: space-between;
      margin: 20px 0;
    }
    .progress-step {
      width: 20px;
      height: 20px;
      background: #ccc;
      border-radius: 50%;
      position: relative;
    }
    .progress-step::after {
      content: '';
      position: absolute;
      top: 50%;
      left: calc(100% + 5px);
      width: calc(100% - 5px);
      height: 4px;
      background: #ccc;
      transform: translateY(-50%);
    }
    .progress-step:last-child::after { display: none; }
    .progress-step.active,
    .progress-step.completed {
      background: #4caf50;
    }
    .progress-step.completed::after {
      background: #4caf50;
    }

    .form-step { display: none; }
    .form-step.active { display: block; }

    .button-group {
      margin-top: 20px;
      text-align: right;
    }
    .button-group button {
      padding: 6px 12px;
      margin-left: 8px;
      cursor: pointer;
    }
	/* 1) Garantir que o drawer seja flex-column */
	.checkout-drawer {
	display: flex;
	flex-direction: column;
	}

	/* 2) Tornar o corpo do checkout rolável */
	.checkout-drawer .checkout-card {
	flex: 1;            /* ocupa todo o espaço disponível */
	overflow-y: auto;   /* ativa o scroll vertical */
	padding: 20px;      /* seu padding usual */
	}

	/* 3) Estilizar a barra de scroll (opcional) */
	.checkout-drawer .checkout-card::-webkit-scrollbar {
	width: 6px;
	}
	.checkout-drawer .checkout-card::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,0.2);
	border-radius: 3px;
	}

	/* E garanta que o drawer fique acima dele */
	#checkout-drawer {
	z-index: 9999 !important;
	}

	/* ============================= */
	/*  ENFATIZAR SÓ O DRAWER        */
	/* ============================= */
	.checkout-drawer {
	/* 1) Cantos bem arredondados */
	border-radius: 24px !important;

	/* 2) Fundo semi-translúcido + blur interno */
	background: #fff !important;

	/* 3) Sombra mais forte e difusa */
	box-shadow:
		0 16px 32px rgba(0,0,0,0.2);

	/* 4) Garante que a transição pegue a sombra também */
	transition: transform .3s ease,
				box-shadow .3s ease,
				backdrop-filter .3s ease;
	}

	/* Na abertura, sobreelevar ainda mais */
	.checkout-drawer.open {
	transform: translate(-50%, -50%) scale(1);

	/* sombra um pouco mais intensa */
	box-shadow:
		0 24px 48px rgba(0,0,0,0.25),
		0 12px 24px rgba(0,0,0,0.2);
	}

	/* === Inputs de quantidade === */
	.cart-item .qty-input {
	width: 16px;
	padding: 4px 6px;
	font-size: 13px;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-align: center;
	background: #fff;
	transition: border-color .2s;
	}
	.cart-item .qty-input:focus {
	outline: none;
	border-color: #7b3dbd;
	box-shadow: 0 0 0 3px rgba(123, 61, 189, .2);
	}

	/* === Botão “Remover Produto” === */
	.cart-item .remove-btn {
	background-color: #000000;
	color: #fff;
	border: none;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color .2s, transform .1s;
	}
	.cart-item .remove-btn:hover {
	background-color: #4a0a45;
	transform: translateY(-1px);
	}
	.cart-item .remove-btn:active {
	transform: translateY(0);
	}

	/* 3) “Remove” colado à direita do input */
	.remove-btn {
	margin-left: 4px;
	}

	/* 4) Total fixo no canto inferior-direito da primeira etapa */
	.checkout-card form > .form-step:first-child {
	position: relative;
	padding-bottom: 60px; /* espaço para o total */
	}
	.checkout-card form > .form-step:first-child p {
	position: absolute;
	bottom: 20px;
	right: 20px;
	margin: 0;
	font-weight: bold;
	}

	/* 5) “Anterior” vira seta no topo-esquerdo */
	#prev-btn {
	position: absolute;
	top: 16px;
	left: 16px;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #000000;
	padding: 4px;
	cursor: pointer;
	/* o JS já esconde quando currentStep == 0 */
	}
	#prev-btn:hover {
	color: #4a0a45;
	}

	/* (Opcional) garante que o .button-group fique só com o Next */
	.button-group { text-align: right; }
	.button-group #prev-btn { display: none; }

	/* === Layout do item do carrinho === */
	.cart-item {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
	}
	.qty-input:focus {
	border-color: #7b3dbd;
	}

	/* === Botão de remover específico === */
	.remove-cart-btn {
	background-color: #000000;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 12px;
	cursor: pointer;
	transition: background-color .2s, transform .1s;
	}
	.remove-cart-btn:hover {
	background-color: #4a0a45;
	transform: translateY(-1px);
	}
	.remove-cart-btn:active {
	transform: translateY(0);
	}

	.checkout-card input.qty-input {
	width: 28px !important;
	max-width: 28px !important;
	padding: 4px 6px !important;
	}

	/* Container do item: nome à esquerda, controles à direita */
	.cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	}

	/* Título do produto */
	.cart-item .item-info {
	flex: 1;
	margin-right: 8px;
	font-size: 14px;
	}

	/* Wrapper dos controles (×, qty, remover) */
	.cart-item .item-controls {
	display: flex;
	align-items: center;
	gap: 4px;
	}

	/* Ícone X (remover rápido) */
	.item-controls .remove-x {
	background: none;
	border: none;
	font-size: 16px;
	color: #000000;
	cursor: pointer;
	padding: 2px;
	}
	.item-controls .remove-x:hover {
	color: #000000;
	}

	/* Input de quantidade bem pequeno */
	.item-controls .qty-input {
	width: 32px;
	padding: 4px 6px;
	font-size: 13px;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-align: center;
	}

	/* Botão remover discrto */
	.item-controls .remove-cart-btn {
	background-color: #000000;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 12px;
	cursor: pointer;
	transition: background-color .2s, transform .1s;
	}
	.item-controls .remove-cart-btn:hover {
	background-color: #000000;
	transform: translateY(-1px);
	}

	/* container do PIX */
#pix-area {
	padding: 20px;
	text-align: center;
  }
  
  /* centraliza o QR e dá um tamanho máximo */
  .pix-qr-container {
	margin: 0 auto 20px;
  }
  .pix-qr-container img {
	display: inline-block;
	max-width: 200px;
	width: 100%;
	height: auto;
  }
  
  /* box para o código com quebra de linha */
  .pix-code-box {
	background: #f4f4f4;
	padding: 12px;
	border-radius: 6px;
	word-wrap: break-word;
	white-space: pre-wrap;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 12px;
	text-align: left;
  }
  
  /* botão copiar */
  .copy-btn {
	background: #000000;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 8px 16px;
	cursor: pointer;
	font-size: 0.9rem;
  }
  .copy-btn:hover {
	background: #4a0a45;
  }

  /* === Passo de Confirmação === */
.confirmation-step {
	text-align: center;
	padding: 40px 20px;
  }
  .confirmation-step .checkmark {
	width: 80px;
	height: 80px;
	margin-bottom: 16px;
  }
  .confirmation-step h2 {
	font-size: 1.5rem;
	color: #4caf50;
	margin-bottom: 8px;
  }
  .confirmation-step p {
	font-size: 1rem;
	color: #555;
	line-height: 1.4;
  }
  