/* DIGIKROM Premium Account — guest login / registration */
.dkpe-account-premium {
    --dkpe-account-accent: #ff0404;
    --dkpe-account-ink: #121212;
    --dkpe-account-muted: #6c6c6c;
    --dkpe-account-line: #e7e7e7;
    --dkpe-account-soft: #f6f6f6;
}

.dkpe-account-premium .site-content,
.dkpe-account-premium .main-page-wrapper {
    overflow: visible;
}

/* One predictable premium canvas. Do not lay out generic WoodMart wrappers here —
   only the semantic classes applied by premium-account.js are allowed to control
   the login/register geometry. */
.dkpe-account-premium .woocommerce {
    position: relative;
    left: 50%;
    width: min(1360px, calc(100vw - 72px));
    max-width: none !important;
    margin-inline: 0 !important;
    transform: translateX(-50%);
}

.dkpe-account-hero {
    min-width: 0;
    padding: clamp(56px, 6vw, 92px) 0 clamp(38px, 4vw, 58px);
    border-bottom: 1px solid var(--dkpe-account-line);
}

.dkpe-account-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--dkpe-account-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.3;
    text-transform: uppercase;
}

.dkpe-account-kicker > span {
    display: block;
    width: 34px;
    height: 1px;
    flex: 0 0 34px;
    background: currentColor;
}

.dkpe-account-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr);
    gap: clamp(34px, 6vw, 110px);
    align-items: end;
    min-width: 0;
    margin-top: 20px;
}

.dkpe-account-hero__title {
    margin: 0;
    max-width: none;
    color: var(--dkpe-account-ink);
    font-size: clamp(44px, 4.1vw, 72px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: wrap;
}

.dkpe-account-hero__lead {
    margin: 0;
    max-width: none;
    color: var(--dkpe-account-muted);
    font-size: clamp(15px, .95vw, 17px);
    line-height: 1.7;
}

/* The actual auth container is selected in JS. This avoids the v0.3.62 bug where
   an outer WoodMart wrapper and an inner #customer_login were both turned into grids. */
.dkpe-account-guest .woocommerce .dkpe-account-auth {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth::before,
.dkpe-account-guest .woocommerce .dkpe-account-auth::after {
    display: none !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__login,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    min-height: 470px;
    margin: 0 !important;
    padding: clamp(40px, 4vw, 64px) !important;
    border: 0 !important;
    border-right: 1px solid var(--dkpe-account-line) !important;
    border-bottom: 1px solid var(--dkpe-account-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__login {
    border-left: 1px solid var(--dkpe-account-line) !important;
    background: #fff !important;
    color: var(--dkpe-account-ink) !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__register {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--dkpe-account-ink) !important;
    color: #fff !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__login::before,
.dkpe-account-guest .woocommerce .dkpe-account-auth__login::after,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register::before,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register::after {
    display: none !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth h1,
.dkpe-account-guest .woocommerce .dkpe-account-auth h2,
.dkpe-account-guest .woocommerce .dkpe-account-auth h3,
.dkpe-account-guest .woocommerce .dkpe-account-auth .title {
    margin: 0 0 30px !important;
    max-width: none !important;
    font-size: clamp(30px, 2.1vw, 40px) !important;
    font-weight: 700 !important;
    line-height: 1.04 !important;
    letter-spacing: -.035em !important;
    text-wrap: wrap;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__register h1,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register h2,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register h3,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register .title,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register p,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register label {
    color: #fff !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__register p {
    width: 100%;
    max-width: 560px;
    margin: 0 0 28px !important;
    font-size: 16px;
    line-height: 1.75;
    opacity: .8;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth form.login,
.dkpe-account-guest .woocommerce .dkpe-account-auth form.register,
.dkpe-account-guest .woocommerce .dkpe-account-auth .woocommerce-form-login,
.dkpe-account-guest .woocommerce .dkpe-account-auth .woocommerce-form-register {
    width: 100%;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth .form-row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth label {
    display: block;
    margin: 0 0 8px;
    color: var(--dkpe-account-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth input[type="text"],
.dkpe-account-guest .woocommerce .dkpe-account-auth input[type="email"],
.dkpe-account-guest .woocommerce .dkpe-account-auth input[type="password"] {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid #d7d7d7;
    border-radius: 0 !important;
    background: #fff;
    color: var(--dkpe-account-ink);
    box-shadow: none !important;
    font-size: 15px;
    transition: border-color .18s ease;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth input[type="text"]:focus,
.dkpe-account-guest .woocommerce .dkpe-account-auth input[type="email"]:focus,
.dkpe-account-guest .woocommerce .dkpe-account-auth input[type="password"]:focus {
    border-color: var(--dkpe-account-ink);
    outline: 0;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth button.button,
.dkpe-account-guest .woocommerce .dkpe-account-auth a.button,
.dkpe-account-guest .woocommerce .dkpe-account-auth .woocommerce-button,
.dkpe-account-guest .woocommerce .dkpe-account-auth .btn {
    min-height: 54px;
    padding: 0 26px !important;
    border: 1px solid var(--dkpe-account-ink) !important;
    border-radius: 0 !important;
    background: var(--dkpe-account-ink) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    line-height: 52px !important;
    text-transform: uppercase;
    box-shadow: none !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__login button.button,
.dkpe-account-guest .woocommerce .dkpe-account-auth__login input[type="submit"] {
    width: 100% !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__login button.button:hover {
    border-color: var(--dkpe-account-accent) !important;
    background: var(--dkpe-account-accent) !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__register button.button,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register a.button,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register .btn {
    border-color: #fff !important;
    background: #fff !important;
    color: var(--dkpe-account-ink) !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth__register button.button:hover,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register a.button:hover,
.dkpe-account-guest .woocommerce .dkpe-account-auth__register .btn:hover {
    border-color: var(--dkpe-account-accent) !important;
    background: var(--dkpe-account-accent) !important;
    color: #fff !important;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth .woocommerce-LostPassword,
.dkpe-account-guest .woocommerce .dkpe-account-auth .lost_password {
    margin: 12px 0 0;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth .woocommerce-LostPassword a,
.dkpe-account-guest .woocommerce .dkpe-account-auth .lost_password a {
    color: var(--dkpe-account-accent);
    font-size: 13px;
    font-weight: 600;
}

.dkpe-account-guest .woocommerce .dkpe-account-auth .woocommerce-form-login__rememberme {
    color: var(--dkpe-account-muted);
    font-weight: 500;
}

.dkpe-account-benefits {
    display: grid;
    grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
    gap: clamp(30px, 5vw, 90px);
    align-items: start;
    margin: clamp(48px, 5vw, 74px) 0 clamp(58px, 6vw, 96px);
    padding-top: clamp(34px, 4vw, 58px);
    border-top: 1px solid var(--dkpe-account-line);
}

.dkpe-account-benefits__intro h2 {
    margin: 17px 0 0 !important;
    color: var(--dkpe-account-ink) !important;
    font-size: clamp(34px, 3vw, 52px) !important;
    line-height: 1 !important;
    letter-spacing: -.04em !important;
}

.dkpe-account-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--dkpe-account-line);
    border-left: 1px solid var(--dkpe-account-line);
}

.dkpe-account-benefit {
    min-width: 0;
    min-height: 190px;
    padding: 28px;
    border-right: 1px solid var(--dkpe-account-line);
    border-bottom: 1px solid var(--dkpe-account-line);
}

.dkpe-account-benefit b {
    display: block;
    margin-bottom: 34px;
    color: var(--dkpe-account-accent);
    font-size: 11px;
    letter-spacing: .12em;
}

.dkpe-account-benefit strong {
    display: block;
    margin-bottom: 9px;
    color: var(--dkpe-account-ink);
    font-size: 17px;
    line-height: 1.25;
}

.dkpe-account-benefit span {
    display: block;
    color: var(--dkpe-account-muted);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .dkpe-account-premium .woocommerce {
        width: min(100% - 36px, 1120px);
    }

    .dkpe-account-hero__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dkpe-account-hero__lead {
        max-width: 760px;
    }

    .dkpe-account-guest .woocommerce .dkpe-account-auth__login,
    .dkpe-account-guest .woocommerce .dkpe-account-auth__register {
        min-height: 0;
        padding: 36px !important;
    }

    .dkpe-account-benefits {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .dkpe-account-premium .woocommerce {
        width: calc(100vw - 28px);
    }

    .dkpe-account-hero {
        padding-top: 34px;
    }

    .dkpe-account-hero__title {
        font-size: clamp(36px, 11vw, 52px);
    }

    .dkpe-account-guest .woocommerce .dkpe-account-auth {
        grid-template-columns: 1fr !important;
    }

    .dkpe-account-guest .woocommerce .dkpe-account-auth__login,
    .dkpe-account-guest .woocommerce .dkpe-account-auth__register {
        padding: 30px 24px !important;
        border-left: 1px solid var(--dkpe-account-line) !important;
    }

    .dkpe-account-benefits {
        margin: 46px 0 54px;
    }

    .dkpe-account-benefits__grid {
        grid-template-columns: 1fr;
    }

    .dkpe-account-benefit {
        min-height: 0;
    }
}
