/* ─── Boutique WooCommerce Complète — Design Global ─────────────────────── */

/* Trust Badges */
.wbc-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    margin: 16px 0;
    border-top: 1px solid var(--wbc-border,#e2e8f0);
    border-bottom: 1px solid var(--wbc-border,#e2e8f0);
}
.wbc-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--wbc-muted,#64748b);
    flex: 1;
    min-width: 110px;
}
.wbc-trust-icon { font-size: 1.1rem; }

/* Product Badges */
.wbc-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 10;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.wbc-badge-sale { background: var(--wbc-accent,#e94560); color: #fff; }
.wbc-badge-featured { background: #f59e0b; color: #fff; top: 40px; }
.wbc-badge-stock { background: #ef4444; color: #fff; top: 70px; }

/* Wishlist Button */
.wbc-wishlist-btn {
    background: none;
    border: 2px solid var(--wbc-border,#e2e8f0);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    color: var(--wbc-muted,#64748b);
    margin-top: 8px;
    transition: all .2s;
    width: 100%;
}
.wbc-wishlist-btn:hover, .wbc-wishlist-btn.wbc-wishlisted {
    border-color: #f43f5e;
    color: #f43f5e;
    background: #fff1f2;
}

/* Urgency / Low Stock */
.wbc-urgency {
    background: #fff7ed;
    border: 2px solid #fed7aa;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .9rem;
    color: #ea580c;
    margin: 8px 0;
}
.wbc-low-stock-alert {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .9rem;
    color: #dc2626;
    font-weight: 700;
    margin: 8px 0;
}

/* Recently Viewed */
.wbc-recently-viewed { padding: 32px 0; }
.wbc-recently-viewed h3 { font-size: 1.2rem; margin-bottom: 16px; }
.wbc-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.wbc-mini-product {
    background: #fff;
    border: 1px solid var(--wbc-border,#e2e8f0);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.wbc-mini-product:hover { box-shadow: var(--wbc-shadow,0 4px 24px rgba(0,0,0,.08)); transform: translateY(-3px); }
.wbc-mini-product a { text-decoration: none; color: inherit; display: block; padding: 12px; }
.wbc-mini-product img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.wbc-mini-product h4 { font-size: .85rem; margin: 0 0 4px; }
.wbc-mini-price { font-weight: 700; color: var(--wbc-accent,#e94560); font-size: .9rem; }

/* Floating Cart */
.wbc-floating-cart {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 9999;
}
.wbc-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: var(--wbc-accent,#e94560);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(233,69,96,.4);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.wbc-cart-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(233,69,96,.55); }
.wbc-cart-icon { font-size: 1.4rem; }
.wbc-cart-count {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--wbc-primary,#1a1a2e);
    color: #fff;
    width: 20px; height: 20px;
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Newsletter Popup */
.wbc-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wbc-fadein .3s ease;
}
@keyframes wbc-fadein { from { opacity:0; } to { opacity:1; } }
.wbc-popup-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 440px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
}
.wbc-popup-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; font-size: 1.5rem;
    cursor: pointer; color: #94a3b8;
}
.wbc-popup-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.wbc-popup-content h3 { font-size: 1.3rem; margin: 0 0 8px; color: var(--wbc-text,#1e293b); }
.wbc-popup-content p { color: var(--wbc-muted,#64748b); margin: 0 0 20px; }
#wbc-newsletter-form { display: flex; flex-direction: column; gap: 12px; }
#wbc-newsletter-form input {
    padding: 12px 16px;
    border: 2px solid var(--wbc-border,#e2e8f0);
    border-radius: 8px;
    font-size: .95rem;
}
.wbc-popup-btn {
    background: var(--wbc-accent,#e94560);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.wbc-popup-btn:hover { background: #c0392b; }
.wbc-popup-note { font-size: .8rem !important; margin-top: 8px !important; }

/* Thank you COD */
.wbc-thankyou-cod {
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}
.wbc-thankyou-cod h3 { color: #15803d; margin-top: 0; }

/* Breadcrumb */
.wbc-bc-sep { color: #94a3b8; }

@media (max-width: 768px) {
    .wbc-products-grid { grid-template-columns: repeat(2,1fr); }
    .wbc-trust-badges { gap: 8px; }
    .wbc-trust-item { font-size: .75rem; }
}