.product-card {
  width: 90%;
  margin: 0 auto; 
  padding: 20px;
  background-color: #f1efef;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
}

.product-card.highlight-event {
   /* Golden border */
  border: 2px solid #ffd700;
  
   /* Golden glow effect */
  box-shadow: 
     0 0 5px rgba(255, 215, 0, 0.3),
     0 0 15px rgba(255, 215, 0, 0.2),
     0 0 25px rgba(255, 215, 0, 0.1);

  background: linear-gradient(45deg, #ffd9008a, #ffcc0092, #ffdb5893, #e6be8a81, #ffd9008a);
}

.product-card-picture {
  width: 280px;
}

.payment-link {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.product-card-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.main-info-container {
  flex: 1;
}


/* media querries */
@media (max-width: 991px) {
  .product-card {
    flex-direction: column;
    align-items: center;
  }

  .main-info-container {
    flex: 0;
    width: 100%;
  }

  .product-card-picture {
    width: 100%;
    max-width: 300px;
  }

  .product-card-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* breakpoint test */

/* Golden Breakpoint Styles */
.golden-breakpoint {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, 
      rgba(255,215,0,0) 0%, 
      rgba(255,215,0,0.4) 20%, 
      rgba(255,215,0,0.8) 50%, 
      rgba(255,215,0,0.4) 80%, 
      rgba(255,215,0,0) 100%);
  margin: 40px 0;
}

.golden-breakpoint::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, 
      rgba(255,215,0,1) 0%, 
      rgba(255,215,0,0.8) 50%, 
      rgba(255,215,0,0) 100%);
  border-radius: 50%;
  filter: blur(2px);
}
/* Elegant variation with diamond shape */
.golden-breakpoint.elegant {
  height: 1px;
  background: linear-gradient(90deg, 
      rgba(255,215,0,0) 0%, 
      rgba(255,215,0,0.5) 40%, 
      rgba(255,215,0,0.9) 50%, 
      rgba(255,215,0,0.5) 60%, 
      rgba(255,215,0,0) 100%);
}

.golden-breakpoint.elegant::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, 
      #ffd700 0%, 
      #f0c030 50%, 
      #d4af37 100%);
  border: 1px solid rgba(255,215,0,0.7);
  box-shadow: 0 0 10px rgba(255,215,0,0.5);
}

 /* Claude code */

.card-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.card {
  width: 100%;
  background: linear-gradient(145deg, #f0f0f0, #e6e6e6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  display: flex;
  color: #333;
  flex-direction: row !important;
}

/* Highlight event styling */
.card.highlight-event {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  color: #fff;
}

.image-container {
  width: 30%;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(0,0,0,0.05);
  background-color: #f0f0f0;
}

.card.highlight-event .image-container {
  border-right: 1px solid rgba(255,255,255,0.1);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.2), transparent);
}

.card.highlight-event .gradient-overlay {
  background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
}

.placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background-color: #e6e6e6;
  color: #999;
  padding: 20px;
  box-sizing: border-box;
}

.card.highlight-event .placeholder {
  background-color: #222;
  color: #777;
}

.placeholder svg {
  margin-bottom: 10px;
  opacity: 0.5;
  width: 48px;
  height: 48px;
  z-index: 2;
}

.placeholder-text {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #555;
}

.content {
  width: 70%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.edit-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
}

.date-time {
  display: inline-block;
  background-color: #999;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 15px;
}

.card.highlight-event .date-time {
  background-color: #e7b047;
  color: #1a1a1a;
}

.content h1 {
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.2;
  color: #333;
  text-decoration: none;
}

.card.highlight-event h1 {
  color: #fff;
  font-size: 26px;
}

.description {
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 14px;
}

.card.highlight-event .description {
  color: #cccccc;
  line-height: 1.6;
  font-size: 15px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.price {
  font-size: 20px;
  font-weight: 700;
}

.card.highlight-event .price {
  font-size: 22px;
}

.price span {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}

.card.highlight-event .price span {
  color: #aaa;
  font-size: 14px;
}

.details {
  color: #888;
  font-size: 13px;
  margin-bottom: 5px;
}

.card.highlight-event .details {
  color: #aaa;
  font-size: 14px;
}

.link-container {
  display: flex;
  width: 100%;
}

.link-display {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: rgba(0,0,0,0.02);
  color: #666;
  border-radius: 6px 0 0 6px;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  outline: none;
}

.card.highlight-event .link-display {
  border: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.05);
  color: #aaa;
}

.copy-button {
  background-color: #999;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.card.highlight-event .copy-button {
  background-color: #e7b047;
  color: #1a1a1a;
  font-size: 14px;
}

.copy-button:hover {
  background-color: #777;
}

.card.highlight-event .copy-button:hover {
  background-color: #f0c265;
}

/* Responsive styles */
@media (max-width: 768px) {
  .card-container .card {
    flex-direction: column !important;
  }
  
  .image-container {
    width: 100%;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .card.highlight-event .image-container {
    height: 200px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .content {
    width: 100%;
    padding: 20px;
  }
  
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .price {
    margin-bottom: 15px;
  }
  
  .link-container {
    width: 100%;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .content {
    padding: 15px;
  }
  
  h1 {
    font-size: 20px;
  }
  
  .card.highlight-event h1 {
    font-size: 22px;
  }
  
  .description {
    font-size: 13px;
  }
  
  .card.highlight-event .description {
    font-size: 14px;
  }
  
  .date-time {
    font-size: 12px;
  }
}

/* Progress bar styles for product cards */
.card .progress-bar-container {
  width: 100%;
  height: 10px;
  background: rgba(0,0,0,0.1);
  border-radius: 5px;
  overflow: hidden;
}

.card.highlight-event .progress-bar-container {
  background: rgba(255,255,255,0.1);
}

.card .progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #64748b, #475569);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.card .progress-bar-fill.low {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.card.highlight-event .progress-bar-fill {
  background: linear-gradient(90deg, #e7b047, #f0c265);
}

.card.highlight-event .progress-bar-fill.low {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.card .progress-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

.card.highlight-event .progress-label {
  color: #aaa;
}

.card .event-card-progress {
  margin-bottom: 0.5rem;
}
