/* Webboll Product Designer - Frontend */
.wbpd-layout { width:100%; }
.wbpd-row { display:flex; flex-wrap:wrap; align-items:flex-start; }
.wbpd-col { box-sizing:border-box; min-width:0; padding:0 4px; }
.wbpd-col:first-child { padding-left:0; }
.wbpd-col:last-child { padding-right:0; }
.wbpd-block { position:relative; box-sizing:border-box; }

.wbpd-image-link { display:block; }
.wbpd-product-img { width:100%; height:auto; display:block; }

.wbpd-product-title { margin:6px 0; }
.wbpd-product-title a { text-decoration:none; color:inherit; }

.wbpd-price { display:inline-block; font-weight:600; }

.wbpd-btn {
    display:inline-flex; align-items:center; justify-content:center; gap:6px;
    padding:10px 14px; border:none; border-radius:6px; cursor:pointer;
    background:#1f2933; color:#fff; font-size:14px; line-height:1; text-decoration:none;
    transition:background .2s ease;
}
.wbpd-btn:hover { background:#111820; color:#fff; }
.wbpd-wishlist, .wbpd-compare { background:#f1f3f5; color:#333; }
.wbpd-wishlist:hover, .wbpd-compare:hover { background:#e2e6ea; color:#333; }
.wbpd-wishlist.is-active { background:#ffe3e3; color:#c92a2a; }
.wbpd-ico { font-size:16px; line-height:1; }

.wbpd-badge {
    display:inline-block; padding:4px 10px; border-radius:4px;
    font-size:12px; font-weight:700; letter-spacing:.5px; color:#fff;
}
.wbpd-sale-badge { background:#e03131; }
.wbpd-campaign-badge { background:#1971c2; }

.wbpd-stock { font-size:13px; }
.wbpd-stock-instock { color:#2b8a3e; }
.wbpd-stock-outofstock { color:#c92a2a; }

.wbpd-license-type {
    display:inline-flex; align-items:center; gap:5px; padding:4px 10px;
    border-radius:4px; font-size:13px; font-weight:600;
}
.wbpd-license-lifetime { background:#e6f4ea; color:#1e7e34; }
.wbpd-license-annual { background:#e7f1fb; color:#1565c0; }

.wbpd-min-qty, .wbpd-min-amount {
    display:inline-flex; align-items:center; gap:5px; padding:4px 10px;
    border-radius:4px; font-size:13px; font-weight:500;
    background:#fff4e5; color:#b25e00; border:1px solid #ffd9a0;
}

.wbpd-meta { font-size:13px; color:#555; line-height:1.8; }
.wbpd-attributes { width:100%; border-collapse:collapse; }
.wbpd-attributes th, .wbpd-attributes td { padding:8px 10px; border:1px solid #eee; text-align:left; }

.wbpd-custom-text { word-break:break-word; }
.wbpd-spacer { width:100%; }

.wbpd-clickable { cursor:pointer; }
.wbpd-clickable a, .wbpd-clickable button, .wbpd-clickable .wbpd-btn { cursor:pointer; }

/* Single layout taşıma */
.wbpd-hidden-by-designer { display:none !important; }
.wbpd-single-moved {
    width:100% !important;
    max-width:100% !important;
    display:block !important;
    flex:1 1 100% !important;
    grid-column:1 / -1 !important;
    clear:both !important;
    float:none !important;
}
.wbpd-single-moved .wbpd-layout { width:100% !important; display:block !important; }

/* Bağlantılı ürünler (upsell) bloğu */
.wbpd-upsells { width:100%; }
.wbpd-upsells-title { margin:0 0 14px; font-size:20px; }
.wbpd-upsell-fallback { display:block; text-decoration:none; color:inherit; text-align:center; }
.wbpd-upsell-fallback img { max-width:100%; height:auto; }
.wbpd-upsell-name { display:block; margin-top:6px; font-weight:600; }
.wbpd-upsell-price { display:block; margin-top:4px; }
