/* Kampanya başlığı için el yazısı font */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

.campaign-title {
  font-family: 'Pacifico', cursive;
  font-weight: 700;
  font-size: 2.2rem;
  color: #b22222;
  margin-bottom: 1rem;
  text-align: center;
}

/* Side panel stil */
.campaign-panel {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}

.campaign-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.campaign-item:last-child {
  border-bottom: none;
}

.campaign-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.campaign-item h4 {
  margin: 0 0 0.3rem 0;
  font-weight: 700;
  color: #800000;
  font-size: 1.25rem;
}

.campaign-item p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.3rem;
  white-space: pre-wrap;
}

.campaign-item .price {
  font-weight: 700;
  font-size: 1rem;
  color: #b22222;
}

/* Responsive: mobilde kampanyalar en üstte */
@media (max-width: 767.98px) {
  .content-wrapper {
    display: block !important;
  }
  .campaign-panel {
    margin-bottom: 2rem;
  }
}

/* Masaüstü: ürün listesi ve kampanya yan yana, kampanya sağda */
@media (min-width: 768px) {
  .content-wrapper {
    display: flex;
    gap: 30px;
    flex-direction: row-reverse; /* Panel sağda olur */
  }
  .product-list {
    flex: 1;
  }
  .campaign-panel {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
  }
}
