.toprow {
    position: absolute;
    bottom: 53px;
    left: 0;
    right: 0;
    margin: auto;
}

.thumbnails .productname
{height:43px;}

.specialThumb .toprow
    { bottom: 45px;
    
    }

    .specialThumb .badge {
        font-size: 1.3em; /* or try 16px if you want absolute control */
        font-weight: bold;
    }
    

     .thumbnail img {
        width: 100%;
        height: auto;
        display: block; /* removes small bottom margin from inline display */
    }

    /* Reduce button height on mobile devices using btn-wrapper */
    .btn-wrapper {
        margin-top: 0.5em !important;
        margin-bottom: 0.5em !important;
    }

    .btn-wrapper .btn-lg {
        padding: 8px 12px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        min-height: auto !important;
    }

    .btn-wrapper .btn-front {
        padding: 8px 12px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
    }