.show-big-button {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  font-size: 13px;
  background-color: #0078D4;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.show-big-button:hover {
  background-color: #005A9E;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f2f5;
  padding: 20px;
  margin: 0;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 40px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  margin: 15px 0 10px;
  font-size: 1.2em;
  color: #222;
}

.card p {
  font-size: 1em;
  color: #555;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.card a:hover {
  background-color: #0056b3;
}

.card img{
  min-width: 150px;
  min-height: 150px;
  max-width: 250px;
  max-height: 250px;
  object-fit: contain;
  border-radius: 8px; /* Optional: rounded corners */
}

.searchBar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 40px auto;
  padding: 10px 15px;
  max-width: 400px;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Bigger input field */
.searchBar input[type="text"] {
  flex: 1;
  padding: 14px 18px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease;
}

.searchBar input[type="text"]:focus {
  border-color: #0078d7;
}

.item-details-layout {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}

.image-card {
  flex: 1;
  max-width: 500px;
}

.text-card {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px; /* Fixed vertical space */
  overflow: hidden;
}

.card .product-image-big {
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}


.card p {
  font-size: 1em;
  color: #555;
  word-wrap: break-word;     /* Break long words */
  overflow-wrap: break-word; /* Modern alternative */
  white-space: normal;       /* Allow wrapping */
  max-width: 100%;           /* Prevent overflow */
}

.card h2 {
  margin: 15px 0 10px;
  font-size: 1.2em;
  color: #222;
  word-wrap: break-word;     /* Break long words */
  overflow-wrap: break-word; /* Modern alternative */
  white-space: normal;       /* Allow wrapping */
  max-width: 100%;           /* Prevent overflow */
}