﻿/* Installment Plan product badge. Owned by the extension so the theme stylesheet
   never has to be replaced; enqueued by the installment modification. */
/* Start: Badge Responsive  */
/* Badge - Large Size Preserved but now Responsive */
.product-summary-panel .summary-badge {
    flex-shrink: 1; /* Allow it to shrink if needed */
    width: 35%; /* Make it fluid based on available space */
    max-width: 150px; /* Don't let it get bigger than 150px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    box-sizing: border-box; /* Prevent padding from breaking width */
}
.product-summary-panel .summary-badge img {
    max-width: 100%; /* Ensure image never breaks container */
    max-height: 100px; /* Limit height to keep it proportional */
    width: auto;
    height: auto;
    margin-bottom: 8px;
    object-fit: contain; /* Keeps image looking sharp when scaled */
}
/*  Badge Responsive  */
.product-summary-panel .summary-badge .badge-caption {
    font-size: 11px; 
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}
