/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  padding: 20px;
}

/* Header */
h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2em;
}

p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #555;
}

/* Layout */
.shop-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Panels */
.left-panel,
.right-panel {
  flex: 1;
  min-width: 380px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.right-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Product List */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.product {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: border 0.3s ease, background-color 0.3s ease;
}

.product.selected {
  border-color: #0070f3;
  background-color: #f0f8ff;
}

.product h3 {
  text-align: center;
  margin-bottom: 5px;
}

.product p {
  color: #666;
  text-align: center;
}

/* Buttons */
button {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  background-color: #0070f3;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #005dc1;
}

/* Card Form Styling */
#card-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 400px;
}

#card-form label {
  font-weight: 500;
  color: #444;
}

#card-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

#card-form input:focus {
  outline: none;
  border-color: #0070f3;
  box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.2);
}

#card-form button {
  background-color: #28a745;
}

#card-form button:hover {
  background-color: #218838;
}

/* Toolkit container */
#toolkit-container {
  width: 100%;
  min-width: 500px;
  max-width: 600px;
  box-sizing: border-box;
}

/* Redirect message */
#redirect-msg {
  text-align: center;
  font-style: italic;
  padding-top: 20px;
  color: #555;
}

/* Utility */
.hidden {
  display: none !important;
}
