body {
  font-family: sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

header {
  background: #333;
  color: white;
  padding: 1em;
  text-align: center;
}

#products {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  padding: 1em;
  justify-content: center;
}

.product {
  background: white;
  border-radius: 10px;
  padding: 1em;
  width: 200px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 5px;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Cryptocurrency Payment Styles */
.crypto-payment-options {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.crypto-payment-options h4 {
  margin: 0 0 10px 0;
  color: #28a745;
  text-align: center;
}

.crypto-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crypto-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.crypto-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.payment-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.close:hover {
  color: #000;
}

.payment-info h4 {
  color: #333;
  margin-bottom: 15px;
}

.address-box {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-box code {
  flex: 1;
  word-break: break-all;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.copy-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
}

.copy-btn:hover {
  background: #0056b3;
}

.payment-info ol {
  text-align: left;
  margin: 15px 0;
}

.qr-placeholder {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  padding: 20px;
  text-align: center;
  margin: 15px 0;
  border-radius: 5px;
}

.confirm-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
  margin-top: 15px;
}

.confirm-btn:hover {
  background: #218838;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .crypto-buttons {
    gap: 6px;
  }
  
  .crypto-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .address-box {
    flex-direction: column;
    align-items: stretch;
  }
  
  .copy-btn {
    align-self: center;
  }
}
