/* Promo Modal Styles */
.lsktienda-promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lsktienda-promo-modal.open {
    display: flex;
    opacity: 1;
}

.promo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.promo-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #fff;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    /* Prevent overflow on small screens */
    border-radius: 8px;
    /* Optional rounded corners */
}

.promo-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    color: #333;
    padding: 0;
}

.promo-modal-content {
    display: flex;
    height: 600px;
    /* Fixed height for consistency */
}

/* Left Side (Content) */
.promo-content-side {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: #fff;
}

/* Desktop Image Side */
.promo-image-side {
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile Background (Hidden on Desktop) */
.promo-mobile-bg {
    display: none;
}

/* Typography */
.promo-logo-wrapper {
    margin-bottom: 20px;
}

.promo-logo {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
}

.promo-subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #111;
    text-transform: uppercase;
}

.promo-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
    text-transform: uppercase;
    margin: 10px;
}

.promo-desc p {
    margin-bottom: 0px;
}

.promo-desc {
    font-size: 1rem;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: bold;
}

.promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
}

.promo-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #000;
    transition: all 0.3s;
    font-size: 14px;
    letter-spacing: 1px;
}

.promo-btn:hover {
    background: #fff;
    color: #000;
}

.promo-footer-link {
    margin-top: 20px;
    background: none;
    border: none;
    color: #999;
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
}

.promo-footer-link:hover {
    color: #666;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .promo-modal-container {
        max-width: 400px;
        /* Slimmer for mobile feel */
        height: auto;
        min-height: 500px;
    }

    .promo-modal-content {
        display: block;
        height: auto;
        min-height: 550px;
        position: relative;
    }

    .promo-content-side {
        width: 100%;
        height: 100%;
        min-height: 500px;
        background: transparent;
        /* Transparent background to see image */
        padding: 40px 20px;
        z-index: 2;
        justify-content: flex-end;
        /* Push content to bottom usually, or center */
        padding-top: 100px;
        /* Space for top image part */
    }

    .promo-image-side {
        display: none;
    }

    .promo-mobile-bg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: 0;
    }

    /* Add overlay to ensure text readability if needed */
    .promo-mobile-bg::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Gradient overlay from bottom */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    }

    /* Adjust Text Colors for Dark Overlay */
    .promo-subtitle,
    .promo-title,
    .promo-desc,
    .promo-footer-link {
        color: #fff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .promo-modal-close {
        color: #fff;
        top: 15px;
        right: 15px;
    }

    .promo-desc {
        color: #eee;
    }

    .promo-logo {
        filter: brightness(0) invert(1);
        /* Make logo white if possible */
    }

    .promo-btn {
        background: #fff;
        color: #000;
        border-color: #fff;
    }

    .promo-btn:hover {
        background: rgba(255, 255, 255, 0.8);
    }
}

/* Modal Trigger Tab */
.lsktienda-promo-trigger {
    position: fixed;
    left: 15px;
    bottom: 15px;
    transform: none;
    background: #EABE12;
    color: #000;
    padding: 12px 16px;
    border: 1px solid #EABE12;
    border-radius: 8px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    writing-mode: horizontal-tb;
    text-orientation: initial;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lsktienda-promo-trigger:hover {
    background: #d2a700;
    color: #000;
    border-color: #d2a700;
}

@media (max-width: 768px) {
    .lsktienda-promo-trigger {
        font-size: 12px;
        padding: 10px 12px;
    }
}