/* Product page styles */
.category-discount-notice {
    margin: 8px 0 0 12px;
    padding: 2px;
    background: #ddffdd;
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.category-discount-notice h5 {
    margin-top: 0;
    color: #2d7a4c;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 6px;
}
.discount-category {
    margin: 5px 0;
}
.discount-category ul {
    margin: 6px 0 0 6px;
}
.discount-category li {
    line-height: 1.6;
}



/* Tier messages styles */
.tier-messages {
	
    background: #ddffdd;
    border: 2px solid #e1e8ed;
    border-radius: 5px;
    padding: 2px 4px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
	    font-size: 13px;
}
.tier-messages h5 {
    margin-top: 0;
    color: #52b250;
    font-size: 1.2em;
}
.tier-messages ul {
     margin: 4px 4px 4px 4px;
     font-size: 13px;
	    background: #d6ffd6;
}
.tier-messages li {
    margin-bottom: 3px;
    line-height: 1.8;
    font-size: 13px;
}

.tier-label {
    display: block;
    font-size: 13px;
}
.items-needed {
    color: #666;
    font-size: 1.0em;
}

.items-needed-footer
{
    color: #666;
    font-size: 12px;
}

/* Highlight effect when updating */
.tier-messages-updating {
    background-color: #ddffdd;
    border-color: #1e90ff;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

.tier-list {
    margin: 5px 0 0 10px;
    padding: 0;
    list-style: none;
}
.tier-item {
    margin-bottom: 2px;
    line-height: 1.2;
}
.tier-reached {
	 font-family: 'Poppins', sans-serif;
    color: #52b250;
    font-weight: bold;
	    font-size: 13px;
}
.tier-not-reached {
   	 font-family: 'Poppins', sans-serif;
	color: #2c3996;
	    font-weight: bold;
		    font-size: 13px;
}

.tier-achieved {
    color: #52b250;
    font-weight: 500;
}
.tier-next {
    color: #2196F3;
}

/* Tier messages */
.tier-messages ul {
    list-style: none;
    padding-left: 0;
}

.tier-messages li {
    padding: 8px 0;
    border-bottom: 2px solid #ccc;
}



/* Table for displaying savings breakdown */

.savings-breakdown-table {
    width: 100%;
    margin: 1em 0;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.savings-breakdown-table th {
    background-color: #d6ffd6;
    padding: 12px 15px;
    text-align: left;
}

.savings-breakdown-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.savings-breakdown-table tr:last-child td {
    border-bottom: none;
    background-color: #f8f8f8;
    font-weight: bold;
}

.savings-breakdown-table .savings-amount {
    color: #4CAF50;
    font-weight: bold;
    text-align: right;
}

/* end of savings breakdown table */

#checkout-savings-table, #tier-messages-container {
    margin: 1em 0 !important;
    width: 100% !important;
}
#checkout-savings-table thead th, #checkout-savings-table tbody td {
    padding: 8px 12px !important;
    line-height: 1.2 !important;
}

