/* Public Last Minute page — follows the standard findensaunagus.dk card language. */
.sgg-last-minute-page {
    background: #faf9f5;
    min-height: 70vh;
    padding: 56px 0 88px;
}

.sgg-lm-shell {
    max-width: 1320px;
}

.sgg-lm-page-header {
    max-width: 760px;
    margin-bottom: 44px;
}

.sgg-lm-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid #deddd8;
    border-radius: 999px;
    background: #fff;
    color: #454545;
    font-size: .76rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.sgg-lm-page-header h1 {
    margin: 0 0 12px;
    color: #111;
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
}

.sgg-lm-page-header p {
    max-width: 680px;
    margin: 0;
    color: #656565;
    font-size: 1.04rem;
    line-height: 1.65;
}

.sgg-lm-section {
    margin-top: 54px;
}

.sgg-lm-section:first-of-type {
    margin-top: 0;
}

.sgg-lm-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.sgg-lm-section__header h2 {
    margin: 0;
    color: #171717;
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    font-weight: 800;
}

.sgg-lm-section__header p {
    margin: 6px 0 0;
    color: #747474;
    font-size: .94rem;
}

.sgg-lm-section__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #e0dfda;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: .8rem;
    font-weight: 700;
}

.sgg-lm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.sgg-lm-card.sauna-card {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.09), 0 2px 4px -2px rgba(0,0,0,.08) !important;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sgg-lm-card.sauna-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -5px rgba(0,0,0,.13), 0 4px 8px -5px rgba(0,0,0,.08) !important;
}

.sgg-lm-card.is-inactive {
    opacity: .72;
}

.sgg-lm-card__media {
    height: 230px;
    overflow: hidden;
    background: #efefec;
}

.sgg-lm-card__image-link,
.sgg-lm-card__image,
.sgg-lm-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.sgg-lm-card__image {
    object-fit: cover;
}

.sgg-lm-card__placeholder {
    display: flex;
    align-items: center;
    padding: 22px;
    background: #1b1b1b;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.035em;
}

.sgg-lm-card .badge-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    margin: 0;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255,255,255,.96);
    color: #4b4b4b;
    font-size: .72rem;
    line-height: 1;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.sgg-lm-status {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #151515;
    color: #fff;
    font-size: .72rem;
    line-height: 1;
    font-weight: 800;
}

.sgg-lm-status.is-upcoming {
    background: #fff;
    color: #222;
    border: 1px solid rgba(0,0,0,.12);
}

.sgg-lm-status.is-muted {
    background: rgba(25,25,25,.82);
}

.sgg-lm-card .image-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 38px 14px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,.74));
    color: #fff;
    text-decoration: none;
}

.sgg-lm-card .company-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin-right: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.sgg-lm-card .overlay-title {
    min-width: 0;
    color: #fff;
    font-size: 1.06rem;
    line-height: 1.22;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

.sgg-lm-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px 16px 16px;
}

.sgg-lm-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 25px;
    margin-bottom: 11px;
    color: #343434;
    font-size: .77rem;
}

.sgg-lm-rating__score {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 4px 7px;
    border-radius: 5px;
    background: #227950;
    color: #fff;
    font-weight: 800;
}

.sgg-lm-rating__count {
    color: #777;
}

.sgg-lm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.sgg-lm-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 29px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f2f2f0;
    color: #3f3f3f;
    font-size: .75rem;
    font-weight: 650;
}

.sgg-lm-meta i {
    color: #777;
}

.sgg-lm-availability {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 1px 0 15px;
    color: #4d4d4d;
    font-size: .82rem;
    font-weight: 650;
}

.sgg-lm-availability__dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #227950;
}

.sgg-lm-availability.is-low {
    color: #1f6244;
    font-weight: 800;
}

.sgg-lm-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #efefed;
}

.sgg-lm-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sgg-lm-price__normal {
    color: #8a8a8a;
    font-size: .7rem;
    text-decoration: line-through;
}

.sgg-lm-price__label {
    margin-top: 1px;
    color: #777;
    font-size: .73rem;
}

.sgg-lm-price__amount {
    color: #171717;
    font-size: 1.4rem;
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -.025em;
}

.sgg-lm-price__amount small {
    font-size: .76rem;
    font-weight: 650;
}

.sgg-lm-action,
a.sgg-lm-action,
button.sgg-lm-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #111;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font: inherit;
    font-size: .78rem;
    line-height: 1;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.sgg-lm-action:hover,
a.sgg-lm-action:hover,
button.sgg-lm-action:hover {
    background: #000;
    color: #fff;
}

.sgg-lm-action.is-disabled {
    border-color: #e4e4e1;
    background: #f2f2f0;
    color: #777;
    cursor: default;
}

.sgg-lm-secondary-action,
a.sgg-lm-secondary-action,
button.sgg-lm-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #d8d8d4;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.sgg-lm-empty {
    max-width: 620px;
    padding: 54px 28px;
    border: 1px solid #e5e4df;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.sgg-lm-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #f2f2ef;
    font-size: 1.2rem;
}

.sgg-lm-empty h2 {
    margin: 0 0 7px;
    font-size: 1.5rem;
    font-weight: 800;
}

.sgg-lm-empty p {
    margin: 0;
    color: #777;
}

/* Modal */
body.sgg-modal-open { overflow: hidden; }

.sgg-lm-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sgg-lm-modal.is-open { display: flex; }

.sgg-lm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16,16,16,.46);
    backdrop-filter: blur(4px);
}

.sgg-lm-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 500px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px;
    border: 1px solid #e2e1dc;
    border-radius: 22px;
    background: #faf9f5;
    box-shadow: 0 24px 80px rgba(0,0,0,.2);
}

.sgg-lm-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #deddd8;
    border-radius: 50%;
    background: #fff;
    color: #222;
    cursor: pointer;
}

.sgg-lm-modal__dialog h2 {
    margin: 0;
    padding-right: 42px;
    font-size: 1.8rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
}

.sgg-lm-modal__lead {
    margin: 7px 0 22px;
    color: #6d6d6d;
}

.sgg-lm-form {
    display: grid;
    gap: 16px;
}

.sgg-lm-form__field {
    display: grid;
    gap: 7px;
}

.sgg-lm-form__field label {
    color: #292929;
    font-size: .8rem;
    font-weight: 750;
}

.sgg-lm-form__field input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d8d8d4;
    border-radius: 12px;
    background: #fff;
    color: #171717;
    outline: none;
}

.sgg-lm-form__field input:focus {
    border-color: #8c8c87;
    box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}

.sgg-lm-form__actions,
.sgg-lm-login-state__actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 5px;
}

.sgg-lm-alert {
    margin: 0 0 16px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: .82rem;
    line-height: 1.45;
}

.sgg-lm-alert.is-success {
    background: #edf7f1;
    color: #1d5b3e;
}

.sgg-lm-alert.is-error {
    background: #fff0f0;
    color: #8e2d2d;
}

.sgg-lm-login-state {
    padding: 22px;
    border: 1px solid #e2e1dc;
    border-radius: 16px;
    background: #fff;
}

.sgg-lm-login-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 13px;
    border-radius: 50%;
    background: #f2f2ef;
}

.sgg-lm-login-state h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
}

.sgg-lm-login-state p {
    margin: 0;
    color: #707070;
    font-size: .88rem;
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .sgg-last-minute-page { padding: 34px 0 60px; }
    .sgg-lm-shell { padding-left: 16px; padding-right: 16px; }
    .sgg-lm-page-header { margin-bottom: 32px; }
    .sgg-lm-page-header h1 { font-size: 2.45rem; }
    .sgg-lm-grid { grid-template-columns: 1fr; gap: 16px; }
    .sgg-lm-card__media { height: 235px; }
    .sgg-lm-section { margin-top: 44px; }
    .sgg-lm-section__header { align-items: center; }
    .sgg-lm-card__footer { align-items: center; }
    .sgg-lm-modal__dialog { padding: 24px 18px 20px; border-radius: 18px; }
    .sgg-lm-form__actions,
    .sgg-lm-login-state__actions { flex-direction: column-reverse; }
    .sgg-lm-form__actions > *,
    .sgg-lm-login-state__actions > * { width: 100%; }
}
