.zpp-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.zpp-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    max-height: 80vh; /* 80% of viewport height */
    overflow-y: auto; /* scrollbar if the content is longer */
    word-break: break-word;
}

@media (max-width: 767px) { /* Example: For small screens */
    .zpp-modal-content {
        font-size: 14px; /* Decrease font size */
    }
}

.zpp-modal-content img {
    max-width: 100%;
    height: auto;
}

.zpp-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.zpp-close:hover, .zpp-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.zpp-size-chart {
	padding-bottom: 10px;
}