:root {
    --atsea-bg: #eadfce;
    --atsea-card: #d7a6d9;
    --atsea-text: #742d38;
    --atsea-button-bg: #fff6ee;
    --atsea-button-hover: #742d38;
}

.atsea-ld-archive,
.atsea-ld-login-page {
    background: var(--atsea-bg);
    min-height: 70vh;
}

.atsea-ld-products,
.atsea-ld-login-page {
    padding: 42px 0 90px;
}

.atsea-ld-container {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.atsea-ld-title,
.atsea-ld-dashboard-head h1,
.atsea-ld-login-card h1 {
    margin: 0 0 34px;
    color: var(--atsea-text);
    text-align: center;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: 1px;
}

.atsea-ld-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 70px 54px;
    align-items: stretch;
}

.atsea-ld-card {
    background: var(--atsea-card);
    border-radius: 9px;
    padding: 34px 28px 28px;
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: 245px;
    transition: transform .22s ease, box-shadow .22s ease;
}

.atsea-ld-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(116, 45, 56, .16);
}

.atsea-ld-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.atsea-ld-card-title {
    margin: 0 0 26px;
    color: var(--atsea-text);
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.08;
    font-weight: 500;
}

.atsea-ld-card-title a {
    color: inherit;
    text-decoration: none;
}

.atsea-ld-card-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.atsea-ld-button,
.atsea-ld-login-card #wp-submit,
.atsea-ld-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border: 0;
    border-radius: 4px;
    background: var(--atsea-button-bg);
    color: var(--atsea-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.atsea-ld-button:hover,
.atsea-ld-button:focus,
.atsea-ld-login-card #wp-submit:hover,
.atsea-ld-login-card #wp-submit:focus,
.atsea-ld-logout:hover,
.atsea-ld-logout:focus {
    background: var(--atsea-button-hover);
    color: #fff;
    transform: translateY(-1px);
}

.atsea-ld-pagination {
    margin-top: 56px;
    text-align: center;
}

.atsea-ld-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    margin: 0 4px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--atsea-text);
    background: rgba(255, 255, 255, .45);
    text-decoration: none;
    font-weight: 700;
}

.atsea-ld-pagination .page-numbers.current,
.atsea-ld-pagination .page-numbers:hover {
    background: var(--atsea-text);
    color: #fff;
}

.atsea-ld-empty,
.atsea-ld-empty-box {
    color: var(--atsea-text);
    text-align: center;
    font-size: 20px;
}

.atsea-ld-login-card,
.atsea-ld-empty-box {
    width: min(620px, 100%);
    margin: 0 auto;
    padding: 44px;
    background: var(--atsea-card);
    border-radius: 14px;
    color: var(--atsea-text);
    box-shadow: 0 18px 38px rgba(116, 45, 56, .12);
}

.atsea-ld-login-card h1 {
    margin-bottom: 14px;
}

.atsea-ld-login-card p,
.atsea-ld-dashboard-head p,
.atsea-ld-empty-box p {
    color: var(--atsea-text);
    font-size: 18px;
    line-height: 1.6;
}

.atsea-ld-small-label {
    display: block;
    margin-bottom: 10px;
    color: var(--atsea-text);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.atsea-ld-login-card form {
    margin-top: 26px;
}

.atsea-ld-login-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--atsea-text);
    font-weight: 700;
}

.atsea-ld-login-card input[type="text"],
.atsea-ld-login-card input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 2px solid rgba(116, 45, 56, .22);
    border-radius: 8px;
    background: #fff6ee;
    color: var(--atsea-text);
    font-size: 16px;
}

.atsea-ld-login-card .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.atsea-ld-login-links {
    margin-top: 18px;
    text-align: center;
}

.atsea-ld-login-links a {
    color: var(--atsea-text);
    font-weight: 700;
}

.atsea-ld-dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
    color: var(--atsea-text);
}

.atsea-ld-dashboard-head h1,
.atsea-ld-dashboard-head .atsea-ld-small-label {
    text-align: left;
}

.atsea-ld-dashboard-head h1 {
    margin-bottom: 12px;
}

.atsea-ld-dashboard-head p {
    max-width: 720px;
    margin: 0;
}

.atsea-ld-dashboard-grid .atsea-ld-card {
    min-height: 280px;
}

.atsea-ld-progress {
    width: 100%;
    height: 12px;
    margin: 0 0 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 246, 238, .65);
}

.atsea-ld-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--atsea-text);
}

.atsea-ld-progress-text {
    margin: 0 0 24px;
    color: var(--atsea-text);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .atsea-ld-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px;
    }
}

@media (max-width: 680px) {
    .atsea-ld-products,
    .atsea-ld-login-page {
        padding: 28px 0 60px;
    }

    .atsea-ld-title {
        margin-bottom: 30px;
    }

    .atsea-ld-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .atsea-ld-card,
    .atsea-ld-login-card,
    .atsea-ld-empty-box {
        padding: 28px 22px;
    }

    .atsea-ld-card-title {
        font-size: 26px;
    }

    .atsea-ld-dashboard-head {
        display: block;
        text-align: center;
    }

    .atsea-ld-dashboard-head h1,
    .atsea-ld-dashboard-head .atsea-ld-small-label {
        text-align: center;
    }

    .atsea-ld-logout {
        margin-top: 22px;
    }
}
