/* ========================================= */
/* STYL POPUPU PROMOCYJNEGO                  */
/* ========================================= */

.promo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    font-family: 'Raleway', sans-serif;
}

.promo-popup-overlay.show { opacity: 1; }

.promo-popup-container {
    position: relative;
    border-radius: 4px;
    width: 90%;
    max-width: 960px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s ease-in-out;
}

.promo-popup-overlay.show .promo-popup-container {
    transform: scale(1);
}

.promo-popup-content {
    display: flex;
    flex-direction: row; 
    width: 100%;
}

.promo-popup-text {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-popup-text h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
    line-height: 1.1;
}

.promo-popup-text p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.promo-popup-text p strong {
    /* Tu możesz zostawić stały kolor lub dopisać go w panelu przy tekście "<strong>" */
    color: #79936E; 
}

.promo-popup-btn {
    display: inline-block;
    color: #fff;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    width: max-content;
    transition: all 0.3s ease;
}

.promo-popup-btn:hover {
    filter: brightness(0.9); /* Dynamiczne ściemnianie na hover bez względu na kolor */
    box-shadow: 0 5px 15px rgba(255, 197, 197, 0.4); 
    color: #fff;
}

.promo-popup-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 4 / 5; 
    position: relative;
}

.promo-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(244, 244, 222, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.promo-popup-close:hover {
    background: #FFC5C5;
    color: #111;
}

@media (max-width: 768px) {
    .promo-popup-container { max-width: 400px; }
    .promo-popup-content { flex-direction: column-reverse; }
    .promo-popup-image { aspect-ratio: 4 / 5; min-height: auto; }
    .promo-popup-text { padding: 30px 25px; text-align: center; align-items: center; }
    .promo-popup-text h2 { font-size: 28px; }
}