/* Wirtualny Krystian - layout strony */

#main > .entry-header,
.kiwi-button-container,
#kiwi-content {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

#main > .entry-header {
    margin-bottom: 28px;
}

#kiwi-content {
    margin-top: 24px;
    margin-bottom: 32px;
}

#kiwi-content .responsive-iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

.kiwi-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

#main > .entry-header .woocommerce-breadcrumb {
    display: none;
}

/* Panel dostępu dla niezalogowanych */

.wk-access-panel {
    width: calc(100% - 40px);
    max-width: 560px;
    margin: 10px auto 40px;
    padding: 32px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.wk-access-panel h2,
.wk-access-panel h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.wk-access-panel h3 {
    font-size: 20px;
}

.wk-access-panel p {
    margin: 0 auto 22px;
    max-width: 440px;
    line-height: 1.6;
}

.wk-access-button {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wk-access-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
}

.wk-access-button-login {
    background: #222578;
    color: #fff;
}

.wk-access-button-login:hover {
    color: #fff;
}

.wk-access-button-buy {
    background: #fff;
    color: #222578;
    border: 2px solid #222578;
}

.wk-access-button-buy:hover {
    color: #222578;
}

.wk-access-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
    color: #777;
    font-size: 14px;
}

.wk-access-divider::before,
.wk-access-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

@media (max-width: 600px) {
    .wk-access-panel {
        padding: 24px 20px;
    }
}
