/**
Theme Name: hoz
Version: 1.0.0
Text Domain: hoz
Template: astra
*/

#hero-of-zero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px;
}

.hoz-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.hoz-controls input,
.hoz-controls select {
  padding: 8px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.hoz-controls input:focus,
.hoz-controls select:focus {
  border-color: #0073e6;
  outline: none;
}

#hoz-beers-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding-bottom: 20px;
}

.hoz-beer-card {
  background-color: #fff; /* białe tło całego kafla */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
  cursor: default;
}

.hoz-beer-card:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.30);
}

/* Obrazek */
.hoz-beer-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hoz-beer-img:hover {
  transform: scale(5,5);
}

/* Informacje o piwie */
.hoz-beer-info {
  padding: 12px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Nagłówek nazwy */
.hoz-beer-info h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  color: #3d3d72;
}

.hoz-beer-info p {
  margin: 4px 0;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #110638;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Link */
.hoz-beer-info a {
  margin-top: auto;
  color: #3d3d72;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hoz-beer-info a:hover {
  color: #110638;
  text-decoration: underline;
}

/* Kolory punktów */
.hoz-beer-info p.punkty {
  font-weight: bold;
}

.punkty.red {
  color: #C21807;
}

.punkty.blue {
  color: #0047AB;
}

.punkty.green {
  color: #008000;
}

.hoz-nutrition span {
  margin-right: 0px;  /* odstęp między elementami w jednej linii */
}

.hoz-buy-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #0073e6;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hoz-buy-button:hover {
  background-color: #005bb5;
}
