/* =====================================================
   LAMIBOOK – BUILDER KART
   ===================================================== */

.lamibook-builder {
  margin: 32px 0;
}

.lamibook-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .lamibook-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================
   KAFELKI
   ===================================================== */

.lamibook-card {
  position: relative;
  border: 3px solid #D6D6D6;
  border-radius: 15px;
  padding: 2px;
  text-align: center;
  cursor: pointer;
  background: #fff;;
  transition: all .2s ease;
}



.lamibook-card.active {
  border: 3px solid #31ADA4;
  background: #C1E6E4;
}

.lamibook-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.lamibook-card h4 {
  font-size: 15px;
  font-family: 'Gluten', 'sans-serif';
  margin: 6px 0;
  display: flex;
  align-items: center;      
  justify-content: center;  
  text-align: center;
  height: 80px;             
  padding: 0 6px;
}

.lamibook-card .price {
  font-weight: 600;
  font-family: 'Gluten', sans-serif;
  color: #ef7443 !important;
  font-size: 1.6em !important;
}

.lamibook-card .select-card {
  display: none;
}

/* CHECKMARK */
.lamibook-card::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  background: #31ada4;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: .2s ease;
}

.lamibook-card.active::after {
  opacity: 1;
}

/* =====================================================
   PODSUMOWANIE
   ===================================================== */

.lamibook-summary {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lamibook-summary button {
  padding: 12px 25px;;
  border-radius: 40px;
  font-weight: 600px;
  font-size: 16px;
  line-height: 24px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: .5;
}

.lamibook-summary button::after {
	
	
	background: #272727 !important;
	
	
}

.lamibook-summary button::before {
  content: "\f1b3"; /* la-box */
  font-family: "Line Awesome Free";
  font-weight: 900;
  margin-right: 8px;
}

.lamibook-summary button:not([disabled]) {
  opacity: 1;
}

@media (max-width: 500px) {
  .lamibook-summary {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .lamibook-summary button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}
