.space {
	padding-top: 50px;
}



/* انتخاب دستگاه آسیاب */

.coffee-devices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: space-evenly;
}

.coffee-device {
  cursor: pointer;
  position: relative;
  text-align: center;
  justify-items: center;
}

.coffee-device input {
  display: none;
}

.device-card {
  width: 100px;
  height: 100px;
 
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  background: transparent;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.device-card img {
	margin: auto;
    padding: 10px;
    object-fit: cover;
}

.device-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #495666;   /* متن سفید */
  margin-top: 3px;
}

.checkmark {
  display: none;
  position: absolute;
  color: #fff;
  font-size: 25px;

  bottom: 1%;
}

.coffee-device input:checked + .device-card {
  border-color: #4CAF50;
  box-shadow: 0 4px 12px rgba(76,175,80,0.5);
}

.coffee-device input:checked + .device-card .checkmark {
  display: block;
  content: "✔️";

}




/* انتخاب دانه */

.bean-card {
  width: 180px;
  border: 2px solid rgb(221,51,51);
  border-radius: 12px;
  padding: 20px 10px 20px 10px;
  /* background: #fff; */
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
  text-align: center;
}

/* برای موبایل و صفحه‌های کوچک */
@media (max-width: 767px) {
	.space {
		padding-top: 25px;
	}
    .bean-card {
	    width: 180px; 
		margin: 0 auto 8px !important;
        padding: 30px 8px 30px 8px; /* کاهش padding برای حفظ تناسب */
	}
}


.bean-card img {
  width: 65% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin-bottom: 8px !important;
}

.bean-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #495666;
  margin-bottom: 4px;
}

.bean-price {
  display: block;
  font-size: 13px;
  color: #495666;
}

.arabica-beans {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.arabica-bean {
  cursor: pointer;
  text-align: center;
  position: relative;
}

.arabica-bean input {
  display: none;
}

.arabica-bean input:checked + .bean-card {
  border-color: #2a2f3b;
  box-shadow: 0 4px 12px rgba(76,175,80,0.5);
}

.arabica-bean input:checked + .bean-card .checkmark {
  display: block;
}



.robusta-beans {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.robusta-bean {
  cursor: pointer;
  text-align: center;
  position: relative;
}

.robusta-bean input {
  display: none;
}

.robusta-bean input:checked + .bean-card {
  border-color: #2a2f3b;
  box-shadow: 0 4px 12px rgba(76,175,80,0.5);
}

.robusta-bean input:checked + .bean-card .checkmark {
  display: block;
}
.coffee-description {
    font-size: 14px;
    color: #666;
    line-height: 1.1;
    margin-top: 10px;    /* فاصله بالا */
    margin-bottom: 10px; /* فاصله پایین */
    padding: 0;
}

.highlight-box {
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  background: transparent;
  box-shadow: 
    0 4px 10px rgba(0,0,0,0.06),
    0 10px 25px rgba(0,0,0,0.08);
}
