.simple-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 999999;
    text-align: left;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .simple-popup {
        padding: 20px;
        width: calc(100% - 40px);
        max-width: 400px;
    }
}

.popup-title {
    font-size: 24px;
    font-weight: bold;
    color: #ec268f;
    margin-bottom: 15px;
}

.popup-info {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.popup-info h2 {
    color: #0082e6;
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.popup-complects-title {
    font-size: 22px;
    font-weight: bold;
    color: #ec268f;
    margin-bottom: 15px;
}

.popup-complects-list {
    line-height: 1.6;
}

.popup-complects-list a {
    text-decoration: none;
}

.popup-complects-list a:hover {
    text-decoration: underline;
}

.discount {
    background: white;
    color: #ff1b97;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}
.discount-5 { font-size: 18px; }
.discount-8 { font-size: 20px; }
.discount-11 { font-size: 22px; }

.popup-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.popup-close-btn,
.popup-cart-btn {
    flex: 1;
    padding: 5px;
    border: none;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.popup-close-btn {
    background: #e9e9ed;
    color: black;
}

.popup-cart-btn {
    background: #0082e6;
    color: white;
    padding: 15px 5px;
}

.popup-close-btn:hover,
.popup-cart-btn:hover {
    opacity: 0.8;
}

.popup-close-x {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #333;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    background: rgba(0,0,0,0.05);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.popup-close-x:hover {
    background: rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
    .popup-title {
        font-size: 20px;
    }
    .popup-info {
        font-size: 14px;
    }
    .popup-info h2 {
        font-size: 1.2em;
    }
    .popup-complects-title {
        font-size: 18px;
    }
    .popup-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .popup-close-btn,
    .popup-cart-btn {
        width: 100%;
    }
}