/* Wrapper — safe reset */
.wfa-wrapper {
    display: block;
    font-family: inherit;
}

/* Addon list */
.wfa-addons {
    margin: 20px 0;
}

/* Card */
.wfa-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Left section */
.wfa-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wfa-left input[type="checkbox"] {
    transform: scale(1.1);
}

/* Image */
.wfa-img {
    position: relative;
    cursor: zoom-in;
}

.wfa-img img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

/* Hover preview */
.wfa-preview {
    position: fixed;
    display: none;
    z-index: 9999;
    pointer-events: none;
}

.wfa-preview img {
    width: 260px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Center content */
.wfa-center {
    flex: 1;
}

.wfa-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.wfa-price del {
    color: #999;
    margin-right: 6px;
}

.wfa-price .free {
    color: #28a745;
    font-weight: 700;
}

.wfa-price .save {
    color: #28a745;
    font-size: 12px;
}

/* Right / qty container */
.wfa-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Qty input — small & aligned */
.wfa-right input[type="number"],
.wfa-qty {
    width: 40px !important;
    min-width: 38px;
    max-width: 55px;
    padding: 3px 4px;
    font-size: 12px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* View more button wrapper */
.wfa-load-wrap {
    text-align: center;
    margin-top: 12px;
}

/* View more button */
.wfa-load-more {
    padding: 10px 22px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg,#ff5f6d,#ffc371);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.wfa-load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.wfa-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-right: 6px;
    white-space: nowrap;
}

.wfa-free {
    background: linear-gradient(135deg,#ff416c,#ff4b2b);
    color: #fff;
}

.wfa-addon {
    background: #333;
    color: #fff;
}


/* Base label style */
.wfa-label {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* Add-On Product label */
.wfa-label:contains("Add-On") {
    background: #fff3cd;
    color: #047857;
    border: 1px solid #fcd34d;
}

/* Free Gift label */
.wfa-label:contains("Free Gift") {
    background: #ecfeff;
    color: #047857;
    border: 1px solid #34d399;
}

.wfa-admin-preview img {
    width: 240px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.wfa-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 6px;
    white-space: nowrap;
}

.wfa-free {
    background: #22c55e;
    color: #fff;
}

.wfa-popular {
    background: #f97316;
    color: #fff;
}

.wfa-recommended {
    background: #3b82f6;
    color: #fff;
}


