/* Sev Product Bundles — Frontend */

/* === Bundle contents on product page === */
.sevbundle-contents {
    margin: 20px 0;
    padding: 20px;
    background: #faf9f7;
    border-radius: 12px;
    border: 1px solid #e8e4de;
}

.sevbundle-contents-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #333;
}

.sevbundle-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sevbundle-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}

.sevbundle-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sevbundle-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.sevbundle-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sevbundle-item-info {
    flex: 1;
}

.sevbundle-item-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.sevbundle-item-name:hover {
    color: #7c6e58;
}

.sevbundle-item-price {
    font-size: 13px;
    color: #888;
}

.sevbundle-savings {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #ddd;
    font-size: 15px;
    font-weight: 600;
    color: #2e7d32;
    text-align: right;
}

.sevbundle-savings-percent {
    font-weight: 400;
    font-size: 13px;
}

/* === LOT badge on shop/archive === */
.sevbundle-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #7c6e58;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    line-height: 1.4;
}

.woocommerce ul.products li.product {
    position: relative;
}

/* === Savings on archive === */
.sevbundle-archive-savings {
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    margin-top: 4px;
}

/* === Responsive === */
@media (max-width: 480px) {
    .sevbundle-item-image {
        width: 48px;
        height: 48px;
    }

    .sevbundle-contents {
        padding: 14px;
    }

    .sevbundle-item {
        gap: 10px;
        padding: 8px;
    }
}
