.wap-price-breakdown{font-size:.9em;color:#555;margin-top:6px}

/* Custom price block styling (toggle via settings) */
.single-product .custom-price-wrapper{display:inline-flex;align-items:center;gap:15px;margin:20px 0;min-height:38px}
.single-product .discount-badge{background:#e74c3c;color:#fff;padding:16px 12px;border-radius:4px;font-weight:700;font-size:16px;display:inline-block;animation:pulse 2s infinite}
.single-product .price-display{display:flex;flex-direction:column;gap:5px}
.single-product .old-price{color:#000000;text-decoration:line-through;font-size:18px;font-weight:400}
.single-product .current-price{color:#e74c3c;font-size:32px;font-weight:700;line-height:1}
@media (max-width:768px){.single-product .custom-price-wrapper{flex-direction:row;align-items:flex-start}.single-product .current-price{font-size:24px}.single-product .old-price{font-size:16px}}
@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.08)}100%{transform:scale(1)}}
.single-product .discount-badge:hover{background:#c0392b;transform:scale(1.1);transition:all .3s ease}

/* Product card (loop) price styling */
.woocommerce ul.products li.product .wap-card-price,
.related.products ul.products li.product .wap-card-price,
.up-sells ul.products li.product .wap-card-price,
.cross-sells ul.products li.product .wap-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  width: 100%;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.wap-card-price__old {
  color: #b3b3b3;
  text-decoration: line-through;
  font-weight: 400;
}

.wap-card-price__current {
  color: #e74c3c;
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 480px) {
  .woocommerce ul.products li.product .wap-card-price,
  .related.products ul.products li.product .wap-card-price,
  .up-sells ul.products li.product .wap-card-price,
  .cross-sells ul.products li.product .wap-card-price {
    flex-direction: column;
    gap: 2px;
  }
}

/* When a variation is selected, show Woo's variation price and hide the summary price */
/* Show only the header price; hide the variation price block under swatches */
.product.wap-has-variation .summary > .price{display:block!important}
.product.wap-has-variation .woocommerce-variation-price{display:none!important}

/* Prevent FOUC - Only hide conditional groups, not all swatches */
.wap-swatches[data-group] {
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.wap-swatches.wap-loaded {
  opacity: 1;
}

/* Ensure swatches are visible by default */
.wap-swatches {
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
}

/* VARYASYON SEÇİLEN ÜRÜN ALANI STYLING */
#selected_variations {
    background-color: #ffe6eb; /* Pastel açık pembe */
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    margin-top: 10px;
    border: 1px solid #ffd6de;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Hover efekti */
#selected_variations:hover {
    background-color: #ffdce2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}


