.custom-trust-badges {
    margin-top: 15px;
    padding-top: 5px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.trust-badge-list {
    display: flex;
    flex-wrap: wrap;          /* allow wrapping */
    gap: 12px;
    justify-content: center;  /* center badges in a row */
}

.trust-badge {
    display: flex;
    align-items: center;
    background: #fff0f0;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 12px;
    color: #d80000;
    flex: 1 1 130px;          /* grow/shrink, min-width 150px */
}

.trust-badge img {
    height: 20px;
    margin-right: 6px;
}
.warranty-info-btn {
    margin-left: 8px;
	border:none;
/*   background: #d80000;
   border-radius: 50%;
    width: 26px;
    transition: background 0.2s;
*/
	background: none;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;

}

.warranty-info-btn:hover {
    background: none;
	color:red;
}

.warranty-info-btn svg {
    width: 20px;
    height: 20px;
}


/* Modal stays the same */
.warranty-modal { /* ... */ }
.warranty-modal-content { /* ... */ }

/* Responsive tweaks */

@media (max-width: 600px) {
    .trust-badge-list {
        gap: 10px;
    }
    .trust-badge {
        flex: 1 1 45%;    /* 2 per row */
        max-width: none;  /* allow full width of container */
    }
}
@media (max-width: 400px) {
    .trust-badge {
        flex: 1 1 100%;   /* single per row on very small screens */
    }
}


/* Modal */
.warranty-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    overflow: auto;
}

.warranty-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 25px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    font-size: 15px;
    line-height: 1.6;
}

.warranty-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}
