/* Wrapper for all cards */
.sf_variations_cards_wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Group regular and subscription variations */
.sf_regular_variations,
.sf_subscription_variations {
  display: grid;
  grid-gap: 16px;
}

/* Regular cards: 3 columns on desktop */
.sf_regular_variations {
  grid-template-columns: repeat(3, 1fr);
}

/* Subscription cards: 1 column stacked */
.sf_subscription_variations {
  grid-template-columns: 1fr;
}

/* Card style */
.sf_variation_card {
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  transition: all 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  cursor: pointer;
  transform: scale(1);
}

/* Hover effect with soft glow */
.sf_variation_card:hover {
  border-color: #FFA500;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.2);
  transform: scale(1.02);
}

/* Selected card effect */
.sf_variation_card.selected {
  border-color: #FF7300;
  background-color: #FFF3E0;
  box-shadow: 0 6px 16px rgba(255, 115, 0, 0.3);
  transform: scale(1.03);
}

/* Slight movement transition for smoothness */
.sf_variation_card:active {
  transform: scale(0.98);
}

/* Card inner content */
.sf_card_content {
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
}

/* Card title */
.sf_card_title {
  font-size: 14px;
  font-weight: 600;
}

/* Price per piece */
.sf_card_price_per_piece {
  font-size: 14px;
  color: #666;
}

/* Total price */
.sf_card_total_price {
  font-size: 16px;
  font-weight: bold;
  margin-top: 8px;
}

/* Subscription extra text */
.sf_card_extra_info {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

/* Speciale aanbieding badge */
.sf_special_banner {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #ff9900;
  background-color: #f7f1e8;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

table.variations {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.wcsatt-options-product-prompt {
  display: none;
}

/* --- Mobile Responsiveness --- */

/* On tablets: 2 cards per row */
@media (max-width: 768px) {
  .sf_regular_variations {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* On small mobiles: 1 card per row */
@media (max-width: 480px) {
  .sf_regular_variations {
    grid-template-columns: repeat(3, 1fr);
  }

  .sf_subscription_variations {
    grid-template-columns: 1fr;
  }
}

.nu-bestellen-button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  background-color: var(--theme-button-background-initial-color);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}
.nu-bestellen-button:hover {
  background-color: var(--theme-button-background-hover-color);
  color: #fff;
}
.nu-bestellen-wrapper {
  display: inline-table;
  max-width: 100%;
  width: -webkit-fill-available;
}

.woocommerce .products .product .button:not(.nu-bestellen-button) {
  display: none !important;
}

.custom-tab-columns-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.left-tab-column {
  flex: 1;
  min-width: 50%;
  padding-right: 20px;
  border-right: 1px solid #ddd;
}

.right-acf-column {
  flex: 1;
  min-width: 40%;
  padding-left: 20px;
}