/* CSV Digital Menu - Public Styles v6.7 (Full-Width Separator) */

.cdm-menu-category-wrap {
    width: 100%;
    box-sizing: border-box;
}

.cdm-menu-list {
    list-style: none !important; 
    padding: 0 !important;
    margin: 0 !important;
    width: 100%; 
}

.cdm-menu-item {
    padding: 15px 0 !important; /* Adjust vertical spacing between items */
    /* THIS IS THE NEW SEPARATOR LINE */
    border-bottom: 1px solid rgba(128, 128, 128, 0.4); 
}
.cdm-menu-item:last-child {
    border-bottom: none !important; /* No line after the very last item */
}

.cdm-item-title-line { 
    display: flex;       
    justify-content: space-between; /* Pushes name and price to opposite ends */
    align-items: baseline;
    width: 100%;
    line-height: 1.4;
    margin-bottom: 5px; 
}

.cdm-item-name {
    font-weight: 600; 
    padding-right: 15px; /* Space so it doesn't touch the price if names are long */
}

/* THIS SPAN IS NOW HIDDEN AND NOT USED FOR STYLING */
.cdm-item-dots {
    display: none; 
}

.cdm-item-price {
    white-space: nowrap;
    padding-left: 15px; /* Space so it doesn't touch the name if names are long */
    font-weight: 600; 
}

.cdm-item-description {
    opacity: 0.8;
    line-height: 1.5;
    padding-top: 3px;
    width: 100%;
}

/* Read More Button Styles (No changes) */
.cdm-read-more { /* ... same as before ... */ }

/* Popup Styles (No changes) */
#cdm-popup-overlay { /* ... same as before ... */ }
#cdm-popup-content { /* ... same as before ... */ }
/* ... etc. ... */

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .cdm-item-title-line {
        flex-direction: column; 
        align-items: flex-start;
    }
    .cdm-item-name {
        margin-bottom: 3px;
        padding-right: 0;
    }
    .cdm-item-price {
        margin-left: 0;
        padding-left: 0;
    }
}