/* 1. Main Section Container */
.shop-section {
  padding: 40px 20px;
  max-width: 1400px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}

/* 2. Top Layout: Wide Image + Info Box Side by Side */
.shop-top {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.shop-hero {
  flex: 8;
  min-width: 300px;
}

.shop-hero img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2.8 / 1;
  
  object-fit: cover;
  border-radius: 0px;
  display: block;
}

/* 3. Info Box Styling */
.shop-info {
  flex: 2;
  min-width: 300px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 0px;
  border: 1px solid #ddd;
  font-size: 16px;
  display: flex !important;
  flex-direction: column;
  gap: 20px;
  text-align: left !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.shop-info h3 {
  font-size: 1.6em;
  font-weight: bold;
  margin: 0 0 0px 0;
  text-align: center !important;
}

/* Nested layout for Address / Hours / Button */
/* Upravené Info Content */
.info-content {
  display: flex;
  flex-direction: column; /* pod sebou */
  gap: 10px;
  width: 100%;
  text-align: center;
}

.contact-button {
  padding: 8px 20px;
  background: #fff;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 0px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: auto;
  align-self: center;
  width: auto;
}

.contact-button:hover {
  background: #bdbbbb;
  color: #fff;
}

/* 4. Bottom Grid of Images */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.shop-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0px;
  transition: transform 0.3s ease;
}

.shop-image:hover img {
  transform: scale(1.02);
}

/* 5. Responsive Behavior for Small Screens */
@media (max-width: 900px) {
  .shop-top {
    flex-wrap: nowrap !important;
    flex-direction: column !important;
  }

  .shop-hero{
    width: 100% !important;
  }
  .shop-info {
    min-width: auto !important;
    flex: none !important;
  }

  .info-content {
    flex-direction: column;
    align-items: center;
    text-align: center !important;
  }

  .shop-hero {
      
      min-width: auto;
  }

  .contact-button {
    margin-top: auto;
    align-self: center;
  }
  .shop-grid {
    display: none;
  }    
}