/* Produkty jsou na chráněné stránce standardně skryté */
body.in-igor-hosnedl-limitovane-edice #products,
body.in-igor-hosnedl-limited-editions #products {
    display: none !important;
}

/* Po odemčení se obnoví produktový flex layout */
body.in-igor-hosnedl-limitovane-edice.products-password-unlocked #products,
body.in-igor-hosnedl-limited-editions.products-password-unlocked #products {
    display: flex !important;
    flex-wrap: wrap;
}

/* Obal uzamčené sekce */
.products-password-lock {
    max-width: 620px;
    margin: 50px auto;
    padding: 48px 38px;
    text-align: center;
    background: #f7f7f7;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
}

.products-password-lock__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    border: 1px solid #222;
    border-radius: 50%;
}

.products-password-lock__icon svg {
    width: 28px;
    height: 28px;
}

.products-password-lock__title {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.3;
}

.products-password-lock__text {
    max-width: 480px;
    margin: 0 auto 25px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.products-password-lock__form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.products-password-lock__input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 16px;
}

.products-password-lock__input:focus {
    border-color: #222;
    outline: none;
}

.products-password-lock__input.has-error {
    border-color: #b00020;
}

.products-password-lock__input:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.products-password-lock__button {
    min-height: 48px;
    padding: 0 25px;
    border: 1px solid #222;
    border-radius: 2px;
    background: #222;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        background 0.2s ease;
}

.products-password-lock__button:hover:not(:disabled) {
    opacity: 0.8;
}

.products-password-lock__button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.products-password-lock__message {
    display: none;
    margin: 15px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.products-password-lock__message.is-visible {
    display: block;
}

.products-password-lock__message.is-error {
    color: #b00020;
}

.products-password-lock__message.is-locked {
    color: #8a5a00;
}

@media (max-width: 600px) {
    .products-password-lock {
        margin: 30px 15px;
        padding: 35px 20px;
    }

    .products-password-lock__title {
        font-size: 22px;
    }

    .products-password-lock__form {
        flex-direction: column;
    }

    .products-password-lock__button {
        width: 100%;
    }
}