.sms-category-discount-banner {
    display: flex;
    align-items: center;

    padding: 10px;
    margin-bottom: 15px;
	padding-left: 30px!important;
    background: #f3f8ff;           /* very light blue */
    border: 1px solid #d6e6ff;
    border-radius: 6px;

    color: #0b3c78;                /* deep blue text */
    font-size: 14px;
	font-weight: bold;
    line-height: 1.4;
}

.sms-category-discount-banner .dct{
	color: orange;
	margin-left: 0.25em;  /* one space-ish */
	margin-right: 0.25em; /* one space-ish */	
	display: contents;	
}

.sms-category-discount-banner .sms-badge {
    background: #1e6bff;           /* primary blue */
    color: #fff;

    font-size: 12px;
    font-weight: 600;

    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.sms-category-discount-banner .sms-text {
    font-weight: 500;
}

/* wrapper */

.sms-info-wrapper{
    position:relative;
    display:inline-block;
    margin-left:6px;
}


/* circular info icon */

.sms-info-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#1e73be;
    color:#fff;
    font-size:12px;
    font-weight:bold;
    cursor:pointer;
    transition:.2s;
}

.sms-info-icon:hover{
    background:#155a96;
}


/* popup card */

.sms-info-popup{
    position:absolute;
    left:50%;
    top:28px;
    transform:translateX(-50%) translateY(6px);
    
    min-width:320px;
    max-width:520px;

    background:#fff;
    color:#333;

    padding:14px 16px;

    border-radius:10px;

    box-shadow: 0 10px 30px rgb(0 0 0 / 47%); 

    font-size:13px;
    line-height:1.45;

    opacity:0;
    visibility:hidden;

    transition:all .25s ease;

    z-index:9999;
	padding-top: 40px;
}


/* little arrow */

.sms-info-popup::before{
    content:"";
    position:absolute;
    top:-8px;
    left:50%;
    transform:translateX(-50%);
    border-left:8px solid transparent;
    border-right:8px solid transparent;
    border-bottom:8px solid white;
}


/* only enable hover popup on real mouse devices */

.sms-info-wrapper.active .sms-info-popup{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}


.sms-popup-close{
    position:absolute;
    right:12px;
    top:8px;
    font-size:18px;
    cursor:pointer;
    opacity:.6;
    padding:6px;          /* 👈 makes tap area bigger */
}

@media (max-width:576px){
	

	.sms-info-wrapper.active .sms-info-popup{
		transform:translateX(-100%) translateY(0);
	}	

    .sms-info-popup{
        left:0;
        transform:none;
        margin-top:8px;
        max-width:calc(100vw - 20px);
    }

    .sms-info-popup::before{
        left:20px;   /* move arrow slightly */
        transform:none;
    }
}