/* ========================================
   WWW CBT 00 - Info o warsztacie
   ======================================== */

.info-warsztatu-widget {
    width: 100%;
}

.info-warsztatu-box {
    background: var(--color-white);
    border: 1px solid #EFEFEF;
    border-radius: 1.6rem;
    padding: 3.2rem 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    box-shadow: 0 0.4rem 4rem rgba(25, 154, 204, 0.1);
}

/* Header */
.info-warsztatu-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-warsztatu-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 2.2rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.033rem !important;
    color: #072B3D !important;
    margin: 0 !important;
}

/* Section */
.info-warsztatu-section {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.info-warsztatu-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.3;
    letter-spacing: -0.024rem;
    color: #1F1F1F;
    margin: 0;
}

/* Info List */
.info-warsztatu-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-warsztatu-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.info-warsztatu-icon {
    flex-shrink: 0;
    color: #1F1F1F;
}

.info-warsztatu-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #1F1F1F;
    margin: 0;
}

.info-warsztatu-text strong {
    font-weight: 600;
}

.info-warsztatu-info-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #1F1F1F;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.info-warsztatu-info-button:hover {
    opacity: 0.7;
}

.info-warsztatu-divider {
    height: 1px;
    background: #EFEFEF;
    width: 100%;
}

/* Groups */
.info-warsztatu-groups {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-warsztatu-group {
    background: #F7F8FB;
    border-radius: 0.8rem;
    padding: 0.8rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.info-warsztatu-group-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #1F1F1F;
    margin: 0;
    width: 10.8rem;
}

.info-warsztatu-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 99.9rem;
    background: rgba(136, 125, 253, 0.2);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1;
    color: #434343;
    text-align: center;
}

/* Footer Button */
.info-warsztatu-footer {
    display: flex;
    flex-direction: column;
}

.info-warsztatu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.5;
    text-align: center;
    padding: 1.6rem;
    border-radius: 0.8rem;
    text-decoration: none;
    transition: background 0.3s ease;
    width: 100%;
}

.info-warsztatu-button:hover {
    background: var(--color-primary-hover);
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .info-warsztatu-box {
        padding: 2.4rem 2rem;
        gap: 2rem;
        border: none;
        border-radius: 0 0 1.6rem 1.6rem;
    }

    .info-warsztatu-header {
        display: none;
    }

    .info-warsztatu-title {
        font-size: 2rem;
    }

    .info-warsztatu-section-title {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .info-warsztatu-box {
        padding: 2rem 1.6rem;
    }

    .info-warsztatu-title {
        font-size: 1.8rem;
    }

    .info-warsztatu-text {
        font-size: 1.3rem;
    }

    .info-warsztatu-group-name {
        font-size: 1.3rem;
        width: auto;
    }
}

/* Popup */
.info-warsztatu-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.info-warsztatu-popup.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.info-warsztatu-popup .info-warsztatu-popup-content {
    transform: translateY(1.6rem);
    transition: transform 0.25s ease;
}

.info-warsztatu-popup.is-active .info-warsztatu-popup-content {
    transform: translateY(0);
}

.info-warsztatu-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.info-warsztatu-popup-content {
    position: relative;
    background: var(--color-white);
    border-radius: 1.6rem;
    padding: 5.6rem 2.4rem 4.8rem;
    max-width: 60rem;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.info-warsztatu-popup-close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #1F1F1F;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.info-warsztatu-popup-close:hover {
    opacity: 0.7;
}

.info-warsztatu-popup-body {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
}

.info-warsztatu-popup-section {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.info-warsztatu-popup-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 1.2;
    letter-spacing: -0.033rem;
    color: #1F1F1F;
    margin: 0;
}

.info-warsztatu-popup-content-inner {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

/* Price List */
.info-warsztatu-popup-price-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-warsztatu-popup-price-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.info-warsztatu-popup-price-amount {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #1F1F1F;
    text-align: right;
    width: 4.8rem;
    flex-shrink: 0;
    margin: 0;
}

.info-warsztatu-popup-price-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #1F1F1F;
    flex: 1;
    margin: 0;
}

.info-warsztatu-popup-divider {
    height: 1px;
    background: #EFEFEF;
    width: 100%;
}

.info-warsztatu-popup-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #1F1F1F;
    margin: 0;
}

/* Financing */
.info-warsztatu-popup-financing {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #1F1F1F;
}

.info-warsztatu-popup-financing p {
    margin: 0;
}

.info-warsztatu-popup-financing a {
    color: #1F1F1F;
    text-decoration: underline;
}

/* Images */
.info-warsztatu-popup-images {
    display: flex;
    gap: 3.2rem;
    align-items: center;
    justify-content: center;
    padding: 0 1.6rem;
}

.info-warsztatu-popup-image {
    flex: 1;
    max-width: 30rem;
}

.info-warsztatu-popup-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.2rem;
}

/* Bottom button */
.info-warsztatu-popup-button {
    display: block;
    width: 100%;
    max-width: 30.5rem;
    margin: 3.4rem auto 0;
    padding: 0.8rem 2.4rem;
    background: #D6F3FC;
    border: none;
    border-radius: 0.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #383838;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.info-warsztatu-popup-button:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .info-warsztatu-popup-content {
        padding: 4.8rem 2rem 3.2rem;
        max-width: 100%;
    }

    .info-warsztatu-popup-body {
        gap: 3.2rem;
    }

    .info-warsztatu-popup-images {
        flex-direction: column;
        gap: 2.4rem;
    }

    .info-warsztatu-popup-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .info-warsztatu-popup {
        padding: 1.6rem;
    }

    .info-warsztatu-popup-content {
        padding: 4rem 1.6rem 2.4rem;
    }

    .info-warsztatu-popup-close {
        top: 1.2rem;
        right: 1.2rem;
    }

    .info-warsztatu-popup-body {
        gap: 2.4rem;
    }

    .info-warsztatu-popup-section {
        gap: 1.6rem;
    }

    .info-warsztatu-popup-images {
        padding: 0;
    }
}
