/* ---------- GRID ---------- */
.antminer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ---------- CARD ---------- */
.antminer-card {
  background: rgba(255 255 255 / 7%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform .2s, box-shadow .2s;
  margin:20px;
}
.antminer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.antminer-card .thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.badgebar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
}
.badge {
  background: #44A08D;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
}
.content {
  padding: 12px 16px;
}
.title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color:#fff;
}
.sub {
  font-size: 13px;
  color: #fff;
}
.price {
  font-weight: 500;
  color: #fff;
  margin: 6px 0;
}
.btn {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: #005b85; }

/* ---------- SLIDER WRAPPER ---------- */
.antminer-slider-wrapper {
  position: relative;
  padding: 0 50px;
}
.antminer-slider {
  margin: 0 auto;
}
.slick-prev-custom,
.slick-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.slick-prev-custom:hover,
.slick-next-custom:hover {
  background: rgba(0,0,0,0.7);
}
.slick-prev-custom { left: 10px; }
.slick-next-custom { right: 10px; }

/* Remove slick dots */
.slick-dots { display: none !important; }

/* Ensure both grid and slider cards share the same structure */
.antminer-card {
  width: 300px; /* ✅ same fixed width as slider cards */
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.antminer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Grid layout matching card width */
.antminer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Thumbnail image sizing consistency */
.antminer-card .thumb {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

/* Content section styling */
.antminer-card .content {
  padding: 15px;
  text-align: center;
}

/* Title, sub-info, and badges */
.antminer-card .title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.antminer-card .sub {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.antminer-card .badgebar {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.antminer-card .badge {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.8rem;
}

/* Button style */
.antminer-card .btn {
  display: inline-block;
  margin-top: 10px;
  background: #0071e3;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.antminer-card .btn:hover {
  background: #005bb5;
}

.antminer-card{
    background-color:#010314 !important;
}