.mug-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 49;
}

.mug-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    max-height: 90vh;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 50;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.mug-modal-header {
    height: 7vh;
    background-color: #f1f1f1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    width: 100%;
}

.mug-modal-content {
    display: flex;
    flex-grow: 1;
    width: 100%;
    overflow-y: auto;
}

.mug-modal-left {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.mug-modal-left img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
}

.mug-modal-right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mug-modal-footer {
    padding: 0 20px;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mug-modal-footer a {
    text-decoration: none;
}

.mug-modal-header .mug-close {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.mug-modal-header .mug-close img {
    width: 35px;
    height: 35px;
    margin: 7px;
    opacity: 0.5;
}

.mug-modal-header .mug-close img:hover,
.mug-modal-header .mug-close img:focus {
    opacity: 1;
}

.mug-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.mug-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.mug-price-note {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    font-style: italic;
}

.mug-price-quality {
    font-size: 18px;
    color: #333;
}

.mug-price-quality div {
    margin-bottom: 10px;
}

.mug-quality-link {
    margin-bottom: 15px;
    font-size: 16px;
}

.mug-quality-link a {
    color: #0fbbf8;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.mug-quality-link a:hover {
    color: #00a9F3;
}

.mug-description-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.mug-description {
    font-size: 16px;
    line-height: 1.6;
}

/*стили кнопки сделать макет*/
.mug-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    padding: 9px 20px 7px 20px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 0 6px -2px rgba(0,0,0,0.5);
    line-height: 1.25;
    background: #0fbbf8;
    user-select: none;
    letter-spacing: .08em;
    text-transform: uppercase;
    position: relative;
    transition: background-color .6s ease;
}

.mug-button:hover {
    background: #00a9F3;
}

.mug-button::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform-style: flat;
    transform: translate3d(-50%, -50%, 0);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    transition: width .3s ease, height .3s ease;
}

.mug-button:active::after {
    width: 300px;
    height: 300px;
}

.order-comment-note {
    font-size: 1.4em;
    margin: 10px 0;
    text-align: center;
    color: #333;
    line-height: 1.6;
}


@media only screen and (max-width: 768px) {

    .mug-modal {
        width: 95vw;
    }

    .mug-modal-content {
        flex-direction: column;
        align-items: center;
    }

    .mug-modal-left, .mug-modal-right {
        width: 100%;
    }

    .mug-modal-left {
        margin-bottom: 20px;
    }

    .mug-modal-right {
        padding: 10px;
    }

    .mug-modal-body {
        max-height: 50vh;
    }

    .mug-description {
        padding-bottom: 30px;
    }

    .order-comment-note {
        font-size: 1.2em;
    }
}



