﻿/* Jespers Torvekøkken brand — tokens from KantineWebSite / brand guide 2026 */

:root {
    --ink: #3e4241;
    --olive: #484c28;
    --cream: #f3e1c1;
    --sand: #d5c7b6;
    --paper: #fbf6ec;
    --ochre: #b27628;
    --ochre-hot: #c07f2c;
    --nav: #3e4241;
    --line: #e3e3e3;
    --gra15: #e3e3e3;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Roboto, "Segoe UI", sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--ochre-hot);
    outline-offset: 2px;
}

.ws-shell {
    min-height: 100vh;
    padding: 0.75rem 0.75rem 2.5rem;
}

.ws-frame {
    max-width: 1140px;
    margin: 0 auto;
}

.ws-top {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.35rem;
    background: #fff;
    color: var(--ink);
    border-radius: 0;
    border-bottom: 1px solid var(--line);
}

.ws-brand {
    text-decoration: none;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.ws-brand-img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
}

.ws-brand-fallback {
    display: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.ws-heading {
    text-align: center;
}

.ws-heading h1 {
    margin: 0;
    font-size: clamp(1.05rem, 2.1vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none !important;
    line-height: 1.3;
}

.ws-heading-sub {
    margin: 0.35rem 0 0;
    font-size: clamp(0.78rem, 1.4vw, 0.95rem);
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.35;
}

.ws-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.ws-lang {
    display: inline-flex;
}

.ws-lang button {
    appearance: none;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
}

.ws-lang button:first-child {
    border-radius: 0.25rem 0 0 0.25rem;
}

.ws-lang button:last-child {
    border-radius: 0 0.25rem 0.25rem 0;
    border-left-width: 0;
}

.ws-lang button.on {
    background: var(--nav);
    color: #fff;
}

.ws-back {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.ws-back::after {
    content: "\f112";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    margin-left: 0.4rem;
    font-size: 0.9em;
}

.ws-subnav {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding: 0.55rem 1.1rem 0.8rem;
    background: var(--nav);
    border-radius: 0;
    margin-bottom: 0.35rem;
}

.ws-subnav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

.ws-subnav a.on,
.ws-subnav a:hover {
    background: var(--ochre);
    color: #fff;
}

.ws-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.15rem;
    height: 1.15rem;
    margin-left: 0.25rem;
    border-radius: 999px;
    background: #c45c26;
    font-size: 0.72rem;
}

.ws-content {
    padding: 2.4rem 0 0;
}

.ws-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.6rem;
    align-items: start;
}

.ws-col {
    display: grid;
    gap: 1.35rem;
}

.ws-card {
    display: grid;
    grid-template-columns: 20% 80%;
    width: 90%;
    min-height: 130px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0.375rem;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--sand);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    box-shadow: none;
    transition: box-shadow 0.12s ease;
}

a.ws-card {
    color: var(--ink);
}

.ws-card:hover {
    box-shadow: 0 0 0 2px var(--ochre);
}

.ws-card-wide {
    width: 95%;
    min-height: 82px;
    margin-top: 1.35rem;
    grid-template-columns: 10% 90%;
}

.ws-card-icon {
    display: grid;
    place-items: center;
    /* PHP: bg-success/shopColor + bg-gradient-shop overlay */
    background-color: var(--ochre);
    background-image: linear-gradient(180deg, rgba(238, 242, 243, 0.36), rgba(255, 255, 255, 0));
    background-repeat: no-repeat;
    color: #fff;
    font-size: 2.4rem;
}

.ws-card-wide .ws-card-icon {
    font-size: 1.85rem;
}

.ws-card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 100px;
    padding: 0.55rem 0.8rem 0.75rem;
    /* PHP: bg-secondary + bg-gradient-cont overlay */
    background-color: var(--paper);
    background-image: none;
    background-repeat: no-repeat;
}

.ws-card-body.has-access {
    padding-bottom: 2.15rem;
}

.ws-card-wide .ws-card-body {
    min-height: 80px;
    padding-bottom: 0.75rem;
}

.ws-card-body strong {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.ws-card-text {
    font-size: 0.95rem;
    line-height: 1.35;
    opacity: 0.96;
}

/* PHP access_div â€” gray footer bar: "ADGANG: â€¦" */
.ws-card-access {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    margin: 0;
    padding: 0.4rem 0.8rem;
    background: #c5ccd3;
    color: #111;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.ws-status,
.ws-message {
    max-width: 40rem;
    padding: 1rem 1.15rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.92);
    color: #212529;
}

.ws-hint {
    color: #495057;
}

.ws-message code {
    display: block;
    margin-top: 0.65rem;
    padding: 0.65rem 0.8rem;
    background: #1b2420;
    color: #d9efe4;
    border-radius: 0.35rem;
}

/* In-shop catalog (PHP frontpage-aligned) */
.ws-shell-shop {
    display: flex;
    flex-direction: column;
    /* Lock to viewport; keep padding inside 100dvh via border-box */
    padding: 0.5rem 0.75rem 0.5rem;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.ws-shell-shop .ws-frame-shop {
    max-width: 1240px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    width: 100%;
    margin: 0 auto;
}

.ws-content-shop {
    padding: 0;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.ws-top-shop {
    position: relative;
    z-index: 80;
    overflow: visible;
    background: #fff;
    color: var(--ink);
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    flex: 0 0 auto;
}

.ws-top-shop .ws-heading h1,
.ws-top-shop .ws-heading-sub,
.ws-top-shop .ws-user,
.ws-top-shop .ws-back {
    color: var(--ink);
}

.ws-top-shop .ws-lang button {
    border-color: var(--ink);
    color: var(--ink);
}

.ws-top-shop .ws-lang button.on {
    background: var(--nav);
    color: #fff;
}

.ws-shell-shop .ws-shop {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    overflow: hidden;
}

.ws-shell-shop .ws-mega {
    margin: 0;
    flex: 0 0 auto;
}

.ws-shell-shop .ws-catnav {
    border-radius: 0;
}

.ws-shop {
    display: grid;
    gap: 0.65rem;
    position: relative;
}

.ws-mega {
    position: relative;
    z-index: 40;
}

.ws-mega.is-open .ws-catnav {
    border-radius: 0;
}

.ws-mega-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.25);
}

.ws-mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    background: var(--gra15);
    border: 1px solid #d4d4d4;
    border-top: 0;
    border-radius: 0 0 0.35rem 0.35rem;
    box-shadow: 0 8px 18px rgba(62, 66, 65, 0.12);
    padding: 0.85rem 1rem 1rem;
    max-height: min(70vh, 34rem);
    overflow: auto;
}

.ws-shop-body {
    position: relative;
    z-index: 1;
}

.ws-mega-close {
    appearance: none;
    border: 0;
    margin-left: auto;
    background: transparent;
    color: var(--ink);
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.ws-mega-hint {
    margin: 0.35rem 0 0;
    color: var(--ink);
    font-size: 0.9rem;
}

.ws-catnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    background: var(--nav);
    border-radius: 0.25rem 0.25rem 0 0;
    overflow: visible;
    position: relative;
    z-index: 45;
}

.ws-mega-item {
    position: relative;
}

.ws-catnav-item {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.7rem 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    height: 100%;
}

.ws-catnav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ws-catnav-item.on {
    background: var(--ochre);
    color: #fff;
}

.ws-catnav-caret {
    font-size: 0.65rem;
    opacity: 0.8;
}

.ws-mega-panel-inner {
    display: grid;
    gap: 0.75rem;
}

.ws-mega-toolbar {
    display: flex;
    justify-content: flex-end;
}

.ws-mega-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.ws-mega-tab {
    appearance: none;
    border: 0;
    background: #fff;
    color: #212529;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45rem 0.75rem;
    border-radius: 0.2rem;
    cursor: pointer;
}

.ws-mega-tab.on,
.ws-mega-tab:hover {
    background: var(--ochre);
    color: #fff;
}

.ws-mega-tab-all {
    background: #eceff1;
}

.ws-mega-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.55rem;
}

.ws-mega-tile {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: #d7dbe0;
    color: #fff;
    border-radius: 0.15rem;
    overflow: hidden;
    text-align: left;
    display: grid;
    grid-template-rows: 7.5rem auto;
}

.ws-mega-tile.on,
.ws-mega-tile:hover {
    outline: 2px solid var(--ochre);
    outline-offset: 0;
}

.ws-mega-tile-media {
    position: relative;
    display: grid;
    place-items: center;
    background: #c5CAD1;
    overflow: hidden;
}

.ws-mega-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-mega-tile-media.no-img img {
    display: none !important;
}

.ws-mega-logo {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.35rem;
    color: var(--olive);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0.5rem;
    pointer-events: none;
}

.ws-mega-tile-media:not(.no-img) img[src]:not([src=""]) ~ .ws-mega-logo {
    opacity: 0;
}

.ws-mega-logo i {
    font-size: 1.6rem;
}

.ws-mega-tile-caption {
    display: block;
    padding: 0.45rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--nav);
    text-align: center;
}

.ws-mega-visalle {
    appearance: none;
    border: 0;
    width: fit-content;
    background: #fff;
    color: #212529;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    border-radius: 0.2rem;
    cursor: pointer;
}

.ws-mega-visalle:hover {
    background: var(--ochre);
    color: #fff;
}

.ws-shop-body {
    /* PHP #leftcontent 765px / #kurv 445px ≈ 63/37 on 1210 wrapper */
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(27.5rem, 0.93fr);
    gap: 0.85rem;
    align-items: start;
}

/*
 * PHP frontpage parity: tops of vare sectionhead + kurv head flush under catnav.
 * Left grey panel stretches; basket stays a stacked column (not bottom-pinned).
 */
.ws-shell-shop .ws-shop-body {
    flex: 1 1 0;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(27.5rem, 0.93fr);
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 0.55rem;
    overflow: hidden;
}

.ws-vare {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 0.45rem;
    padding: 0.9rem 1rem 1.15rem;
    color: #212529;
    min-height: 22rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ws-shell-shop .ws-vare {
    min-width: 0;
    min-height: 0;
    height: auto;
    align-self: stretch;
    background: var(--paper);
    border-radius: 0 0 0.3rem 0.3rem;
}

.ws-vare-listmode {
    background: transparent;
    color: #fff;
    border-radius: 0;
    padding: 0;
    gap: 0;
}

.ws-shell-shop .ws-vare-listmode {
    background: var(--paper);
}

.ws-vare-toolbar-dark .ws-vare-title {
    color: #fff;
}

.ws-muted-on-dark {
    color: rgba(255, 255, 255, 0.8) !important;
}

.ws-vare.ws-vare-front {
    background: var(--paper);
    padding: 0;
    border-radius: 0 0 0.3rem 0.3rem;
    min-height: 0;
    overflow: auto;
    align-self: stretch;
}

.ws-front-promo {
    margin: 0;
    border-radius: 0.35rem;
    overflow: hidden;
}

.ws-front-promo.is-hidden {
    display: none;
}

.ws-front-promo img {
    display: block;
    width: 100%;
    height: auto;
}

.ws-promo {
    margin: 0 0 0.55rem;
    border-radius: 0.25rem;
    overflow: hidden;
    background: #3d4f58;
    flex: 0 0 auto;
}

.ws-promo.is-hidden {
    display: none;
}

.ws-promo img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

.ws-kurv-promo {
    margin: 0 0 0.15rem;
    border-radius: 0.2rem;
    overflow: hidden;
    background: #3d4f58;
}

.ws-kurv-promo.is-hidden {
    display: none;
}

.ws-kurv-promo img {
    display: block;
    width: 100%;
    max-height: 7.5rem;
    object-fit: cover;
}

.ws-vare-sectionhead {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    min-height: 2.65rem;
    padding: 0.55rem 0.75rem;
    background: var(--nav);
    border-radius: 0.3rem 0.3rem 0 0;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ws-vare-sectiontitle {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ws-vare-sectionchev {
    opacity: 0.85;
    font-size: 0.75rem;
}

.ws-vare-back {
    appearance: none;
    border: 0;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    border-radius: 0.25rem;
    padding: 0.3rem 0.55rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 650;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.ws-vare-back:hover {
    background: rgba(0, 0, 0, 0.32);
}

.ws-vare-search-inline {
    flex: 0 1 14rem;
    margin-left: auto;
    max-width: 16rem;
}

.ws-vare-panel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-radius: 0 0 0.3rem 0.3rem;
    padding: 0.45rem 0.65rem 0.85rem;
    overflow: hidden;
}

.ws-vare-list {
    display: grid;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-content: start;
}

.ws-vare > .ws-promo,
.ws-vare > .ws-vare-toolbar,
.ws-vare > .ws-vare-sectionhead,
.ws-vare > .ws-muted {
    flex: 0 0 auto;
}

.ws-vare-panel > .ws-promo,
.ws-vare-panel > .ws-muted {
    flex: 0 0 auto;
}

.ws-katalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.35rem;
    padding: 0.55rem 0.75rem;
    background: var(--nav);
    border-radius: 0.3rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.ws-katalog-header.is-popular {
    color: #ffa500;
}

.ws-vare-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: start;
    padding: 0.7rem 0.75rem;
    margin: 0.2rem 0;
    background: #fff;
    border: 1px solid var(--sand);
    border-radius: 0.25rem;
    color: var(--ink);
}

.ws-vare-row:hover {
    background: #fff;
}

.ws-vare-listmode .ws-vare-row-title {
    color: var(--ink);
}

.ws-vare-listmode .ws-vare-row-desc {
    color: var(--olive);
}

.ws-vare-row-title {
    font-weight: 700;
    font-size: 0.98rem;
}

.ws-vare-row-desc {
    margin-top: 0.2rem;
    font-size: 0.86rem;
    line-height: 1.35;
    color: #4a5560;
}

/* Catalog texts store HTML (PHP varebesk / varetitle). */
.ws-html ul,
.ws-html ol {
    margin: 0.35rem 0 0.5rem;
    padding-left: 1.15rem;
    list-style: disc;
}

.ws-html ol {
    list-style: decimal;
}

.ws-html li {
    display: list-item;
    margin: 0.05rem 0;
    line-height: 1.35;
    text-align: left;
}

.ws-html p {
    margin: 0.2rem 0;
}

.ws-vare-row-side {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    min-width: 9rem;
}

.ws-vare-row-price {
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.92rem;
}

.ws-btn-basket {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    background: var(--ochre);
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.ws-btn-basket:hover {
    background: #c48983;
}

/* PHP loadvaresub type 10: Opret Menu + Vis menu side by side */
.ws-vare-menu-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

.ws-btn-menu {
    border-radius: 0.2rem;
    min-width: 5.5rem;
}

.ws-vare-row-side:has(.ws-vare-menu-actions) {
    min-width: 12rem;
}

/* —— Day package builder (PHP #daypackagecontainer) —— */
.ws-daypackage {
    background: transparent;
    border-radius: 0.25rem;
    padding: 0.85rem 1rem 1.1rem;
    color: #212529;
    display: grid;
    gap: 0.85rem;
    /* Prefer content-height; parent may constrain and scroll (see below). */
    align-content: start;
}

/* Left catalog column only: scroll tall day-package / sub-detail forms. */
.ws-shell-shop .ws-vare:has(> .ws-daypackage) {
    overflow: hidden;
    min-height: 0;
}

.ws-shell-shop .ws-vare > .ws-daypackage {
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.ws-daypackage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid #d7dee2;
    padding-bottom: 0.55rem;
}

.ws-daypackage-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ws-daypackage-top {
    display: grid;
    grid-template-columns: minmax(12rem, 0.9fr) minmax(16rem, 1.2fr);
    gap: 1rem;
    align-items: start;
}

.ws-daypackage-top-left,
.ws-daypackage-top-right {
    display: grid;
    gap: 0.55rem;
}

.ws-daypackage-guests,
.ws-daypackage-date {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.ws-daypackage-textarea {
    width: 100%;
    min-height: 90px;
    height: 90px;
    border: 1px solid #b7c6cb;
    border-radius: 0.2rem;
    padding: 0.55rem 0.65rem;
    font: inherit;
    background: #fff;
    color: #212529;
    box-sizing: border-box;
    resize: vertical;
}

.ws-btn-addpackage {
    justify-self: start;
    background: #cfd5d9;
    color: #212529;
    min-width: 10rem;
}

.ws-btn-addpackage:not(:disabled):not(.is-disabled) {
    background: #8b5a45;
    color: #fff;
}

.ws-btn-addpackage.is-disabled,
.ws-btn-addpackage:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ws-daypackage-sections {
    display: grid;
    gap: 0.65rem;
}

.ws-daypackage-sections-title {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--olive);
}

.ws-daypackage-section-header {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--olive);
    margin-top: 0.25rem;
}

.ws-daypackage-section {
    background: #f4f7f8;
    border: 1px solid #d5c6cb;
    border-radius: 0.25rem;
    padding: 0.75rem 0.85rem;
    display: grid;
    gap: 0.45rem;
}

.ws-daypackage-section.is-selected {
    border-color: #8aa0a8;
    background: #fff;
}

.ws-daypackage-section-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.ws-daypackage-section-desc {
    font-size: 0.82rem;
    color: #5a6a72;
    line-height: 1.35;
}

.ws-daypackage-section-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 0.45rem;
    align-items: center;
}

.ws-daypackage-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #5a9e6f;
    color: #fff;
}

.ws-daypackage-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
}

.ws-daypackage-detail-desc {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    font-weight: 400;
    color: #5a6a72;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}

.ws-daypackage-detail-delivery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 0.45rem;
    align-items: center;
}

.ws-daypackage-detail-content {
    display: grid;
    gap: 0.55rem;
}

.ws-daypackage-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.ws-daypackage-menu-group {
    font-weight: 700;
    font-size: 0.95rem;
    color: #3d5a68;
    margin-top: 0.85rem;
    margin-bottom: 0.25rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #d5dee3;
}

.ws-daypackage-menu-group:first-child {
    margin-top: 0;
}

.ws-daypackage-menu-item label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    width: 100%;
}

.ws-daypackage-menu-item.has-price {
    padding: 0.35rem 0.45rem;
    border-radius: 0.2rem;
}

.ws-daypackage-menu-item.has-price.is-on {
    background: #c5d46c;
}

.ws-daypackage-menu-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ws-daypackage-menu-name {
    flex: 1 1 auto;
    min-width: 0;
}

.ws-daypackage-menu-price {
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 0.88rem;
    color: #1a2429;
    white-space: nowrap;
    margin-left: auto;
}

.ws-daypackage-menu-check {
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    border: 1px solid #9aadb5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    background: #fff;
}

.ws-daypackage-menu-check.is-on {
    background: #5a9e6f;
    border-color: #5a9e6f;
}

/* PHP Tilvalg — square checkbox (not radio/circle) */
.ws-daypackage-menu-item.is-tilvalg .ws-daypackage-menu-check {
    border-radius: 0.2rem;
    border-color: #6a7c86;
    background: #fff;
}

.ws-daypackage-menu-item.is-tilvalg .ws-daypackage-menu-check.is-on {
    background: #5a9e6f;
    border-color: #5a9e6f;
}

.ws-daypackage-menu-item.is-tilvalg label {
    flex-direction: row;
}

.ws-daypackage-menu-item.is-tilvalg .ws-daypackage-menu-check {
    order: 3;
}

.ws-daypackage-menu-item.is-tilvalg .ws-daypackage-menu-name {
    order: 1;
}

.ws-daypackage-menu-item.is-tilvalg .ws-daypackage-menu-price {
    order: 2;
    margin-left: 0;
    margin-right: 0.5rem;
}

/* Indhold checks share the right edge with Tilvalg checkboxes. */
.ws-daypackage-menu-item.is-indhold .ws-daypackage-menu-name {
    order: 1;
}

.ws-daypackage-menu-item.is-indhold .ws-daypackage-menu-check {
    order: 3;
    margin-left: auto;
}

.ws-kurv-package-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.35rem 0 0.15rem;
    padding: 0.45rem 0.55rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 0.2rem;
    font-size: 0.78rem;
    line-height: 1.3;
}

.ws-kurv-package-alert i {
    color: #e6c200;
    margin-top: 0.1rem;
}

.ws-kurv-delbest-place.is-secondary {
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

/* PHP showdaypackagekurv — nested day-package cart block (light card on teal kurv) */
.ws-kurv-delblock.is-package {
    background: #f4f6f7;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.25rem;
    padding: 0.55rem 0.6rem 0.45rem;
    color: #1f2a30;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.ws-kurv-package {
    display: grid;
    gap: 0.45rem;
}

.ws-kurv-package-top {
    display: grid;
    gap: 0.35rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #d5dee3;
}

.ws-kurv-package-title {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #1a2429;
}

.ws-kurv-package-meta {
    display: grid;
    gap: 0.25rem;
    font-size: 0.82rem;
    color: #2c3a40;
}

.ws-kurv-package-meta .ws-kurv-guests {
    color: #2c3a40;
}

.ws-kurv-package-date,
.ws-kurv-package-total,
.ws-kurv-package-prices {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.ws-kurv-package-prices {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a2429;
    margin-top: 0.25rem;
}

.ws-kurv-package-sub {
    display: grid;
    gap: 0.4rem;
    padding: 0.4rem 0.45rem;
    border-radius: 0.2rem;
    border: 1px solid transparent;
    background: transparent;
}

/* Selected / active sub-package — PHP blue outline highlight */
.ws-kurv-package-sub.is-expanded {
    background: #fff;
    border: 2px solid #3d8ebd;
    box-shadow: 0 0 0 1px rgba(230, 194, 0, 0.55);
    padding: 0.5rem 0.55rem;
}

.ws-kurv-package-sub.is-collapsed {
    gap: 0;
    border-top: 1px solid #d5dee3;
    border-radius: 0;
    padding: 0.4rem 0.15rem 0.15rem;
}

.ws-kurv-package-sub.is-collapsed + .ws-kurv-package-sub.is-collapsed {
    border-top-color: #e2e8eb;
}

.ws-kurv-package-sub-toggle {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
    color: #1a2429;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
}

.ws-kurv-package-sub.is-expanded .ws-kurv-package-sub-toggle {
    color: #1a5f86;
}

.ws-kurv-package-sub.is-collapsed .ws-kurv-package-sub-toggle {
    font-weight: 600;
    color: #3a4a52;
}

.ws-kurv-package-place {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #2c3a40;
    text-align: left;
}

.ws-kurv-package-indhold {
    margin-top: 0.15rem;
    text-align: center;
}

.ws-kurv-package-indhold-title {
    font-weight: 700;
    font-size: 0.8rem;
    margin: 0 0 0.3rem;
    color: #1a2429;
    text-align: center;
}

.ws-kurv-package-indhold-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.22rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #243038;
    text-align: center;
}

.ws-kurv-package-indhold-list li {
    text-align: center;
    padding: 0.05rem 0;
}

.ws-kurv-package-indhold-list li.is-off {
    text-decoration: line-through;
    color: #7a8a92;
    opacity: 1;
}

.ws-kurv-delblock.is-package .ws-kurv-package-alert {
    margin: 0.15rem 0 0.1rem;
}

@media (max-width: 900px) {
    .ws-daypackage-top {
        grid-template-columns: 1fr;
    }

    .ws-daypackage-section-fields,
    .ws-daypackage-detail-delivery {
        grid-template-columns: 1fr 1fr;
    }
}

.ws-modal-showmenu,
.ws-modal-menubuilder {
    width: min(640px, 96vw);
    max-height: min(85vh, 820px);
}

/* Overflow visible so Danish week-number datepicker is not clipped */
.ws-modal-showmenu {
    overflow: visible;
}

.ws-modal-showmenu .ws-modal-body {
    overflow: visible;
}

.ws-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ws-showmenu-datebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.ws-showmenu-datebar .ws-datepicker {
    min-width: 10.5rem;
}

.ws-showmenu-period {
    font-size: 0.85rem;
    opacity: 0.85;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.65rem;
}

.ws-showmenu-print-title {
    display: none;
}

.ws-showmenu-list,
.ws-menubuilder-list {
    display: grid;
    gap: 0.55rem;
}

.ws-showmenu-item-name,
.ws-menubuilder-choice-name,
.ws-menubuilder-group {
    font-weight: 700;
}

.ws-showmenu-item-desc,
.ws-menubuilder-choice-desc {
    font-size: 0.88rem;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.ws-menubuilder-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: baseline;
    margin-bottom: 0.75rem;
}

.ws-menubuilder-price {
    font-weight: 700;
}

.ws-menubuilder-qty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.ws-menubuilder-group {
    margin-top: 0.55rem;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ws-menubuilder-choice {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    cursor: pointer;
}

.ws-menubuilder-choice.is-locked {
    opacity: 0.92;
}

.ws-menubuilder-choice input {
    margin-top: 0.2rem;
}

/* PHP vareaction when item already in active delbestilling.
   Checkbox sits over the quantity, X sits over the plus button. */
.ws-item-controls {
    display: grid;
    grid-template-columns: 1.45rem minmax(1.5rem, auto) 1.45rem;
    column-gap: 0.2rem;
    row-gap: 0.3rem;
    align-items: center;
    justify-items: stretch;
    min-width: 4.5rem;
}

.ws-item-controls-top,
.ws-item-controls-qty {
    display: contents;
}

.ws-item-controls .ws-item-check {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
}

.ws-item-controls .ws-item-cancel {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
}

.ws-item-controls-qty > .ws-item-qty-btn:first-child {
    grid-column: 1;
    grid-row: 2;
}

.ws-item-controls .ws-item-qty-val {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-width: 0;
}

.ws-item-controls-qty > .ws-item-qty-btn:last-child {
    grid-column: 3;
    grid-row: 2;
}

.ws-item-check,
.ws-item-cancel,
.ws-item-qty-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    padding: 0;
    border: 0;
    border-radius: 0.2rem;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.ws-item-check {
    background: #fff;
    border: 1px solid #0073bc;
    color: #0073bc;
    cursor: pointer;
}

.ws-item-check.is-on {
    background: #0073bc;
    border-color: #0073bc;
    color: #fff;
}

.ws-item-check:hover {
    filter: brightness(0.97);
}

.ws-item-check:disabled {
    opacity: 1;
    color: #fff;
}

.ws-item-cancel {
    background: #ed1944;
}

.ws-item-cancel:hover {
    filter: brightness(0.95);
}


.ws-item-qty-btn {
    background: #0073bc;
    font-size: 0.85rem;
    font-weight: 700;
}

.ws-item-qty-btn:hover:not(:disabled) {
    filter: brightness(1.08);
}

/* Linked to guest count: keep ± visible but greyed (PHP web parity) */
.ws-item-qty-btn:disabled,
.ws-qty:disabled {
    background: #cfd5d9;
    color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
    filter: none;
}

.ws-item-qty-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.45rem;
    padding: 0 0.2rem;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
    color: #212529;
    font-size: 0.82rem;
    font-weight: 650;
    text-align: center;
}

.ws-vare-row.is-in-cart .ws-vare-row-side {
    min-width: 5.5rem;
}

.ws-kurv-line-total {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.82rem;
    font-weight: 650;
    color: #333;
    line-height: 1.25;
}

.ws-kurv-item-prices {
    margin-top: 0.25rem;
}

.ws-kurv-unit-price {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    color: #5a6570;
    line-height: 1.25;
}

.ws-vare-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.ws-vare-title {
    margin: 0;
    flex: 1 1 auto;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ws-vare-search {
    display: flex;
    flex: 1 1 18rem;
    gap: 0.45rem;
    margin-left: auto;
}

.ws-btn-accent {
    background: #8b5a45;
}

.ws-btn-accent:hover {
    background: #7a4e3c;
}

.ws-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 0.55rem;
}

.ws-tile {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: #1f2a30;
    color: #fff;
    border-radius: 0.2rem;
    overflow: hidden;
    text-align: left;
    display: grid;
    grid-template-rows: 9.5rem auto;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ws-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.ws-tile-media,
.ws-product-media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(145deg, hsla(var(--tile-hue, 160), 28%, 42%, 0.85), hsla(var(--tile-hue, 160), 18%, 22%, 0.95)),
        #3d4f58;
}

.ws-tile-media img,
.ws-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ws-tile-media.no-img img,
.ws-product-media.no-img img {
    display: none !important;
}

.ws-tile-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.ws-tile-media:not(.no-img) img[src] + .ws-tile-fallback,
.ws-product-media:not(.no-img) img[src] + .ws-tile-fallback {
    opacity: 0;
}

.ws-tile-caption {
    display: block;
    padding: 0.55rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(78, 96, 114, 0.96);
}

.ws-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.75rem;
}

.ws-product {
    display: grid;
    grid-template-rows: 10rem auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.35rem;
    overflow: hidden;
    color: #212529;
    min-height: 100%;
}

button.ws-product {
    appearance: none;
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.ws-product-body {
    display: grid;
    gap: 0.4rem;
    padding: 0.7rem 0.75rem 0.85rem;
}

.ws-product-body strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

.ws-product-desc {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ws-product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.ws-product-open {
    color: #8b5a45;
    font-weight: 700;
    font-size: 0.85rem;
}

.ws-kurv {
    background: transparent;
    border-radius: 0.3rem;
    overflow: hidden;
    color: #212529;
    border: 0;
    position: sticky;
    top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.ws-shell-shop .ws-kurv {
    position: static;
    width: auto;
    max-width: none;
    min-height: 0;
    height: auto;
    max-height: 100%;
    align-self: stretch;
    overflow: auto;
}

.ws-kurv-head {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-height: 2.65rem;
    padding: 0.45rem 0.75rem 0.5rem;
    background: var(--nav);
    color: #fff;
    flex: 0 0 auto;
    border-radius: 0.3rem 0.3rem 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ws-kurv-head-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.ws-kurv-head-pay {
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
}

.ws-kurv-note {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.ws-kurv-sum {
    white-space: nowrap;
}

/* PHP #kurv: left .kurvcontainer + right #nano-knapper.
   Fortsæt sits in its own framed row; the right buttons start with the cards. */
.ws-kurv-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.75rem;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    align-items: start;
    background: var(--paper);
    border-radius: 0 0 0.3rem 0.3rem;
    flex: 1 1 auto;
    min-height: 0;
}

.ws-kurv-maincol {
    display: contents;
}

.ws-kurv-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: stretch;
    margin: 0;
    /* Same horizontal inset as .ws-kurv-knapper so Fortsæt shares Ny delbestilling's edges. */
    padding: 0.45rem 0.45rem 0.15rem 0.25rem;
    border: 0;
    background: transparent;
}

.ws-kurv-body {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    max-height: 28rem;
    overflow: auto;
    padding: 0.35rem 0.55rem 0.75rem;
    background: transparent;
    border-radius: 0;
}

.ws-shell-shop .ws-kurv-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

/* PHP #nano-knapper / #kurvknapper — Ny delbestilling + del chips, level with the cards */
.ws-kurv-knapper {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.35rem 0.45rem 0.75rem 0.25rem;
    min-width: 0;
}

.ws-kurv-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.ws-kurv-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    padding: 0.55rem 0.6rem;
    background: #fff;
    border-radius: 0.3rem;
}

.ws-kurv-name {
    font-weight: 650;
    font-size: 0.9rem;
}

.ws-kurv-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.ws-qty {
    width: 1.55rem;
    height: 1.55rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
}

.ws-qty:disabled {
    background: #cfd5d9;
    color: #6c757d;
    border-color: #c5ced4;
    cursor: not-allowed;
}

.ws-kurv-item-side {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 0.35rem;
}

.ws-kurv-remove {
    border: 0;
    background: transparent;
    color: #8b5a45;
    cursor: pointer;
    padding: 0.15rem;
}

.ws-kurv-foot {
    padding: 0.75rem 0.85rem 0.9rem;
    background: #fff;
    border-top: 1px solid #dee2e6;
    flex: 0 0 auto;
}

.ws-btn-continue {
    width: 100%;
    min-height: 3.75rem;
    flex: 0 0 auto;
    /* PHP .disabledbutton / default grey before enable */
    background: #e3e3e3;
    color: #b1b1b1;
    font-weight: 700;
    font-size: 1rem;
    border: 0;
    border-radius: 0.2rem;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
    cursor: default;
    pointer-events: none;
}

.ws-btn-continue:not(:disabled):not(.is-disabled) {
    /* PHP .kurvgodkend */
    background: var(--ochre);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
}

.ws-btn-continue:disabled,
.ws-btn-continue.is-disabled {
    /* PHP .disabledbutton */
    background: #e3e3e3 !important;
    color: #b1b1b1 !important;
    opacity: 1;
    cursor: default !important;
    pointer-events: none;
    box-shadow: none;
}

.ws-btn-continue i {
    margin-left: 0.35rem;
}

.ws-btn.ws-btn-nydelbest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 2.2rem;
    margin-top: 0;
    padding: 0.35rem 0.4rem;
    border: 0;
    border-radius: 0.2rem;
    /* PHP .nydelbestilling */
    background: var(--ochre);
    color: #fff;
    font-weight: 650;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.ws-btn-nydelbest i {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.ws-btn-basket:hover,
.ws-btn-nydelbest:hover,
.ws-btn-addmore:hover,
.ws-btn-continue:not(:disabled):not(.is-disabled):hover,
.ws-btn-perform:not(:disabled):not(.is-disabled):hover {
    background: #a06a24;
    filter: none;
}

.ws-kurv-delhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.55rem;
    background: var(--nav);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 650;
    border-radius: 0.25rem 0.25rem 0 0;
}

.ws-kurv-delbest {
    display: grid;
    gap: 0.2rem;
    margin: 0;
    padding: 0.55rem 0.65rem;
    background: #fff;
    border-radius: 0;
    font-size: 0.82rem;
    color: #333;
}

.ws-kurv-delbest strong,
.ws-kurv-delbest-place b {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: #333;
}

.ws-kurv-delbest-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.ws-kurv-delbest-place {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.ws-kurv-del-actions {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.ws-kurv-del-icon {
    border: 0;
    background: transparent;
    color: var(--nav);
    cursor: pointer;
    padding: 0.15rem 0.25rem;
    font-size: 0.85rem;
    line-height: 1;
}

.ws-kurv-del-icon.is-trash {
    color: #c0392b;
}

.ws-kurv-del-icon:hover {
    opacity: 0.8;
}

.ws-kurv-guests {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

/* Guest spinner shares the right edge and the − / qty / + tracks of the line qty controls. */
.ws-kurv-delbest > .ws-kurv-guests {
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    /* delbest padding-right 0.65rem vs item padding-right 0.6rem */
    margin-right: -0.05rem;
}

.ws-kurv-delbest > .ws-kurv-guests > span {
    min-width: 0;
}

.ws-kurv-delbest > .ws-kurv-guests .ws-spinner.ws-spinner-sm {
    margin-left: auto;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1.45rem minmax(1.5rem, auto) 1.45rem;
    column-gap: 0.2rem;
    height: auto;
    border: 0;
    background: transparent;
    overflow: visible;
    border-radius: 0;
}

.ws-kurv-delbest > .ws-kurv-guests .ws-spinner-sm .ws-spinner-btn {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 0.2rem;
    font-size: 0.95rem;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
}

.ws-kurv-delbest > .ws-kurv-guests .ws-spinner-val {
    min-width: 1.5rem;
    height: 1.45rem;
    padding: 0 0.2rem;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
    font-size: 0.82rem;
}

.ws-spinner-sm {
    display: inline-flex;
    align-items: stretch;
    height: 1.55rem;
}

.ws-spinner-sm .ws-spinner-btn {
    width: 1.55rem;
    font-size: 0.85rem;
}

.ws-spinner-val {
    min-width: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-top: 1px solid #c5ced4;
    border-bottom: 1px solid #c5ced4;
    font-size: 0.82rem;
    font-weight: 650;
}

.ws-kurv-fee {
    background: #f7f8f9;
    border-radius: 0.2rem;
    padding: 0.35rem 0.4rem;
    margin-top: 0.25rem;
    font-style: italic; /* PHP .kurvrefunditem */
}

.ws-kurv-fee .ws-kurv-name {
    font-style: italic;
    font-weight: 600;
}

.ws-kurv-fee .ws-kurv-item-main {
    width: 100%;
}

.ws-kurv-fee-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    color: #5a6570;
}

.ws-kurv-fee-meta strong {
    color: #333;
    font-weight: 650;
}

.ws-kurv-del-remove {
    border: 0;
    background: transparent;
    color: #ffb4a8;
    cursor: pointer;
    padding: 0.15rem;
}

.ws-kurv-delblock {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0.25rem;
    overflow: hidden;
}

.ws-kurv-delblock.is-active {
    border: 0;
    box-shadow: none;
}

.ws-kurv-delblock .ws-kurv-list {
    padding: 0.45rem 0 0.15rem;
    background: transparent;
}

.ws-kurv-delblock .ws-kurv-item {
    margin-bottom: 0.35rem;
}

.ws-kurv-delblock .ws-kurv-subtotal {
    padding: 0.4rem 0.55rem;
    margin-top: 0.15rem;
}

.ws-kurv-switcher {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0;
}

/* PHP .delbestheaderknap layout; chip fill matches old-web screenshot (warm brown) */
.ws-kurv-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    border: 0;
    border-radius: 0.2rem;
    background: #9a7b6a;
    padding: 0.55rem 0.35rem;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    color: #fff;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
    min-height: 2.2rem;
}

.ws-kurv-switch.is-active {
    /* Active distinguished mainly by left arrow (PHP :before \f060) */
    background: #8a6b5a;
    box-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
}

.ws-kurv-switch-arrow {
    flex-shrink: 0;
    font-size: 0.7rem;
    margin-right: 0.05rem;
}

.ws-kurv-empty-lines {
    margin: 0.35rem 0 0.5rem;
    font-size: 0.82rem;
}

/* PHP .delbestfooter */
.ws-kurv-subtotal {
    margin-top: 0.4rem;
    text-align: right;
    font-size: 0.82rem;
    font-weight: 650;
    color: #fff;
    background: var(--nav);
    border-radius: 0 0 0.2rem 0.2rem;
}

/* â€”â€” Modals (VÃ¦lg antal / Ny delbestilling) â€”â€” */
.ws-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(20, 24, 28, 0.55);
}

.ws-modal {
    position: fixed;
    z-index: 1210;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
    max-height: 86vh;
    overflow: auto;
    background: #fff;
    border-radius: 0.2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    color: #212529;
}

/* Taller + overflow visible so open datepicker is not clipped by modal scrollport */
.ws-modal-delbest {
    width: min(96vw, 820px);
    max-height: 92vh;
    overflow: visible;
}

.ws-modal-delbest .ws-modal-body {
    overflow: visible;
}

.ws-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    background: #4a555e;
    color: #fff;
}

.ws-modal-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
}

.ws-modal-close {
    width: 1.65rem;
    height: 1.65rem;
    border: 0;
    border-radius: 0.15rem;
    background: #c0392b;
    color: #fff;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
}

/* Draggable modal chrome (header drag handle; see wsInitDraggableModals) */
.ws-modal-head,
.ws-booking-modal-head,
.ws-reg-modal-head {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.ws-modal-head:active,
.ws-booking-modal-head:active,
.ws-reg-modal-head:active,
.ws-modal.is-dragging .ws-modal-head,
.ws-booking-modal.is-dragging .ws-booking-modal-head,
.ws-reg-modal.is-dragging .ws-reg-modal-head {
    cursor: grabbing;
}

.ws-modal-head .ws-modal-close,
.ws-booking-modal-head .ws-booking-modal-close,
.ws-reg-modal-head .ws-reg-modal-close {
    cursor: pointer;
    touch-action: manipulation;
}

.ws-modal-body {
    padding: 0.85rem 1rem 1rem;
}

.ws-qty-toolbar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.ws-spinner {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #cfd5d9;
    border-radius: 0.2rem;
    overflow: hidden;
    background: #fff;
}

.ws-spinner-btn {
    width: 2.1rem;
    border: 0;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.ws-spinner-btn.is-minus {
    background: #d7dce0;
    color: #333;
}

.ws-spinner-btn.is-plus {
    background: #3b82c4;
    color: #fff;
}

.ws-spinner-input {
    width: 3.2rem;
    border: 0;
    border-left: 1px solid #cfd5d9;
    border-right: 1px solid #cfd5d9;
    text-align: center;
    font: inherit;
    padding: 0.35rem 0.15rem;
}

.ws-qty-ok,
.ws-qty-guests {
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    border-radius: 0.2rem;
    background: #3b82c4;
    color: #fff;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
}

.ws-qty-product {
    padding: 0.25rem 0.35rem 0.5rem;
}

.ws-qty-name,
.ws-qty-price {
    font-weight: 650;
    margin-bottom: 0.45rem;
}

.ws-qty-desc {
    font-size: 0.92rem;
    line-height: 1.45;
    color: #333;
}

.ws-delbest-help {
    background: #e8a07a;
    color: #1f1f1f;
    padding: 0.65rem 0.75rem;
    border-radius: 0.2rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ws-delbest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ws-delbest-left,
.ws-delbest-right {
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

/* PHP #lokationbeskrivelse — room capacity/info under lokale/område */
.ws-delbest-location-desc {
    margin: -0.2rem 0 0 0.25rem;
    font-size: 0.75rem;
    color: #999;
    line-height: 1.3;
}

.ws-toggle {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.ws-field,
.ws-delbest-input,
.ws-delbest-textarea {
    width: 100%;
    border: 1px solid #b7c6cb;
    border-radius: 0.2rem;
    padding: 0.55rem 0.65rem;
    font: inherit;
    background: #fff;
    color: #212529;
    box-sizing: border-box;
}

.ws-field.inerror {
    border-color: #c0392b;
    box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.15);
}

.ws-field.is-disabled,
.ws-daypackage-section-fields select:disabled {
    background: #e8ecee;
    color: #6a767c;
    cursor: not-allowed;
    opacity: 0.85;
}

.ws-delbest-textarea {
    /* PHP .ld_kommentar / .ld_deltagere — 185px each */
    min-height: 185px;
    height: 185px;
    resize: vertical;
}

.ws-delbest-times {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}

.ws-delbest-guests {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

.ws-delbest-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.35rem;
}

.ws-btn-save {
    background: #cfd5d9;
    color: #212529;
    min-width: 6rem;
}

.ws-btn-save:not(:disabled) {
    background: #8b5a45;
    color: #fff;
}

.ws-btn-save.is-disabled,
.ws-btn-save:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 720px) {
    .ws-delbest-grid {
        grid-template-columns: 1fr;
    }

    .ws-modal {
        max-height: 92vh;
    }

    .ws-modal-delbest {
        max-height: 96vh;
        /* Keep calendar unclipped; tall content may extend past viewport */
        overflow: visible;
    }

    .ws-delbest-textarea {
        min-height: 140px;
        height: 140px;
    }
}

/* â€”â€” Open-date calendar (PHP datepicker parity) â€”â€” */
.ws-datepicker {
    position: relative;
}

.ws-datepicker.is-disabled .ws-datepicker-input {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f1f3f5;
}

.ws-datepicker-input {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 1px solid #b7c6cb;
    border-radius: 0.2rem;
    padding: 0.55rem 0.65rem;
    font: inherit;
    background: #fff;
    color: #212529;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
}

.ws-datepicker-input.inerror {
    border-color: #c0392b;
    box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.15);
}

.ws-datepicker-pop {
    position: absolute;
    z-index: 50;
    top: calc(100% + 4px);
    left: 0;
    width: min(100%, 17.5rem);
    background: #fff;
    border: 1px solid #c5ced4;
    border-radius: 0.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    padding: 0.55rem;
}

.ws-datepicker.has-weeks .ws-datepicker-pop {
    width: min(100vw - 2rem, 20.5rem);
}

.ws-datepicker-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    text-transform: capitalize;
}

.ws-datepicker-navbtn {
    border: 0;
    background: transparent;
    color: #3b82c4;
    cursor: pointer;
    width: 1.75rem;
    height: 1.75rem;
}

.ws-datepicker-navbtn:disabled {
    opacity: 0.35;
    cursor: default;
}

.ws-datepicker-dow,
.ws-datepicker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.15rem;
}

.ws-datepicker-dow.has-weeks,
.ws-datepicker-grid.has-weeks {
    grid-template-columns: 2rem repeat(7, 1fr);
}

.ws-datepicker-dow span {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #66707a;
    padding: 0.2rem 0;
}

.ws-datepicker-weekhdr,
.ws-datepicker-weeknum {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #66707a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-datepicker-weeknum {
    font-weight: 600;
    color: #8a939c;
}

.ws-datepicker-day {
    border: 0;
    background: transparent;
    aspect-ratio: 1;
    border-radius: 0.2rem;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    color: #212529;
}

.ws-datepicker-day.is-other {
    color: #a0a8b0;
}

.ws-datepicker-day.is-today {
    font-weight: 700;
}

.ws-datepicker-day.is-selected {
    background: #3b82c4;
    color: #fff;
}

.ws-datepicker-day:disabled {
    color: #c5ced4;
    text-decoration: line-through;
    cursor: default;
    background: transparent;
}

.ws-datepicker-day:not(:disabled):hover {
    background: #e8f1fa;
}

.ws-datepicker-day.is-selected:hover {
    background: #3b82c4;
}

.ws-datepicker-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 0.45rem;
    padding-top: 0.35rem;
    border-top: 1px solid #e6eaed;
}

.ws-datepicker-link {
    border: 0;
    background: transparent;
    color: #3b82c4;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.15rem 0.25rem;
}

.ws-datepicker-link:disabled {
    opacity: 0.4;
    cursor: default;
}

.ws-user-menu {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.ws-panel,
.ws-layout-shop .ws-panel {
    background: rgba(255, 255, 255, 0.94);
    color: #212529;
    border-radius: 0.5rem;
    padding: 1rem;
}

.ws-hero h1 {
    margin: 0 0 0.35rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.ws-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

.ws-layout-shop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 1rem;
}

.ws-toolbar {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.ws-search,
.ws-form input,
.ws-form textarea {
    border: 1px solid #ced4da;
    border-radius: 0.35rem;
    padding: 0.55rem 0.7rem;
    font: inherit;
    background: #fff;
    color: #212529;
}

.ws-search {
    flex: 1 1 14rem;
    min-width: 0;
}

.ws-btn {
    border: 0;
    border-radius: 0.35rem;
    padding: 0.55rem 0.9rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--ochre);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.ws-btn.secondary {
    background: #fff;
    color: #212529;
    border: 1px solid #ced4da;
}

.ws-catalog-list {
    display: grid;
    gap: 0.55rem;
}

.ws-catalog-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border-radius: 0.4rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #212529;
}

.ws-catalog-item h3 {
    margin: 0 0 0.15rem;
}

.ws-catalog-item p,
.ws-muted {
    margin: 0;
    color: #6c757d;
}

.ws-price {
    font-weight: 700;
}

.ws-mini-line {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #dee2e6;
    color: #212529;
}

.ws-form {
    display: grid;
    gap: 0.75rem;
    max-width: 36rem;
}

.ws-form label {
    display: grid;
    gap: 0.3rem;
    font-weight: 650;
    color: #212529;
}

.ws-alert {
    padding: 0.85rem 1rem;
    border-radius: 0.4rem;
    background: rgba(255, 193, 7, 0.92);
    color: #212529;
    font-weight: 600;
}

.ws-login {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 3rem 1rem 4rem;
    box-sizing: border-box;
}

.ws-login-card {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    border-radius: 0.4rem;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--sand);
    box-shadow: 0 6px 20px rgba(62, 66, 65, 0.12);
}

.ws-login-head {
    padding: 0.75rem 1.15rem;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    background-color: var(--nav);
    background-image: linear-gradient(
        180deg,
        rgba(238, 242, 243, 0.38) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    border-bottom: 1px solid rgba(122, 121, 121, 0.18);
}

.ws-login-body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.ws-login-intro {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    opacity: 0.95;
}

.ws-login-sub {
    margin: 0 0 1rem;
    opacity: 0.95;
}

.ws-login-form {
    display: block;
    width: 100%;
    max-width: none;
}

.ws-login-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    width: 100%;
}

.ws-login-label {
    flex: 0 0 9.25rem;
    width: 9.25rem;
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
    display: block;
}

.ws-login-field {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
}

.ws-login-input,
.ws-login .ws-login-input,
.ws-login-field input.ws-login-input,
.ws-login-field .ws-login-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0.35rem;
    padding: 0.5rem 0.7rem;
    font: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: #212529;
    line-height: 1.4;
}

.ws-pass-group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0.35rem;
    overflow: hidden;
    background: #fff;
}

.ws-pass-group .ws-login-input {
    border: 0;
    border-radius: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.ws-pass-toggle {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    border-left: 1px solid #ced4da;
    border-radius: 0;
    background: #e9ecef;
    color: #495057;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.ws-pass-toggle:hover {
    background: #dee2e6;
}

.ws-login-footer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1.25rem;
    margin-top: 1.25rem;
    width: 100%;
}

.ws-login-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
}

.ws-login-link,
a.ws-login-link,
.ws-login-links a,
.ws-login-nocreate a {
    display: block;
    color: orange !important;
    font-weight: 600;
    text-decoration: none !important;
    text-align: right;
    white-space: nowrap;
    line-height: 1.35;
}

.ws-login-link:hover,
a.ws-login-link:hover,
.ws-login-links a:hover,
.ws-login-nocreate a:hover {
    color: #ffc107 !important;
    text-decoration: underline !important;
}

.ws-login-nocreate {
    color: #fff;
    font-size: 0.9rem;
    text-align: right;
}

.ws-login-submit {
    appearance: none;
    flex: 0 0 auto;
    margin: 0;
    border: 0;
    border-radius: 0.3rem;
    padding: 0.5rem 1.1rem;
    min-width: 5.75rem;
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    cursor: pointer;
    background: var(--ochre) !important;
    color: #fff !important;
}

.ws-login-submit:hover:not(:disabled) {
    background: #a06a24 !important;
}

.ws-login-submit:disabled {
    opacity: 0.65;
    cursor: default;
}

.ws-login-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

/* ===== Auth pages (login / register / forgot) â€” PHP auth_main parity ===== */

.ws-auth {
    min-height: 100vh;
    width: 100%;
    padding: 0.5rem 0 1.5rem;
    box-sizing: border-box;
}

.ws-auth-bar {
    width: 100%;
    max-width: 1320px;
    margin: 0.35rem auto 0;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.ws-auth-bar-inner {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.65rem 1.25rem 0.85rem;
    background: #fff;
    color: var(--ink);
    border-radius: 0;
    border-bottom: 1px solid var(--line);
}

.ws-auth-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    min-height: 48px;
}

.ws-auth-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
}

.ws-auth-brand-text {
    display: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
    line-height: 1.15;
}

.ws-auth-heading {
    text-align: center;
    padding-top: 0.35rem;
}

.ws-auth-heading h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none !important;
    color: var(--ink);
}

.ws-auth-heading p {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    opacity: 0.98;
}

.ws-auth-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ws-auth-lang {
    display: inline-flex;
}

.ws-auth-lang button {
    appearance: none;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
}

.ws-auth-lang button:first-child {
    border-radius: 0.25rem 0 0 0.25rem;
}

.ws-auth-lang button:last-child {
    border-radius: 0 0.25rem 0.25rem 0;
    border-left-width: 0;
}

.ws-auth-lang button.on {
    background: var(--nav);
    color: #fff;
}

.ws-auth-back {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ws-auth-back::after {
    content: "\f112";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    margin-left: 0.4rem;
    font-size: 0.9em;
}

.ws-auth-main {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.ws-auth .ws-login {
    padding: 2.75rem 0.5rem 3rem;
}

.ws-auth .ws-login-card {
    max-width: 43rem;
    background: rgba(108, 117, 125, 0.95);
    border-radius: 0.375rem;
    box-shadow: none;
}

.ws-auth .ws-login-head {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #464545;
    background-image: linear-gradient(
        180deg,
        rgba(238, 242, 243, 0.36),
        rgba(255, 255, 255, 0)
    );
    border-bottom: 1px solid rgba(122, 121, 121, 0.18);
}

.ws-auth .ws-login-body {
    padding: 1.15rem 1.15rem 1.25rem;
}

.ws-auth .ws-login-row {
    display: grid;
    grid-template-columns: 28% 72%;
    gap: 0.5rem 0.75rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.ws-auth .ws-login-label {
    flex: none;
    width: auto;
    font-size: 0.95rem;
    font-weight: 400;
}

.ws-auth .ws-login-footer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.ws-auth .ws-login-links {
    gap: 0.15rem;
}

.ws-auth .ws-login-link,
.ws-auth a.ws-login-link {
    color: orange !important;
    font-weight: 500;
    font-size: 0.95rem;
}

.ws-auth .ws-login-submit {
    background: #212529 !important;
    border-radius: 0.25rem;
    padding: 0.45rem 0.95rem;
    font-weight: 600;
    min-width: 5.25rem;
}

.ws-auth .ws-pass-group {
    border-radius: 0.375rem;
}

.ws-auth .ws-pass-toggle {
    background: #e9ecef;
    color: #6c757d;
}

@media (max-width: 900px) {
    .ws-auth-bar-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .ws-auth-brand {
        justify-content: center;
    }

    .ws-auth-actions {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .ws-login {
        padding: 1.5rem 0.75rem 2.5rem;
    }

    .ws-login-row,
    .ws-auth .ws-login-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        grid-template-columns: none;
    }

    .ws-login-label {
        flex: none;
        width: auto;
    }

    .ws-login-footer,
    .ws-auth .ws-login-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .ws-login-links {
        align-items: flex-start;
        order: 1;
    }

    .ws-login-link,
    a.ws-login-link,
    .ws-login-links a {
        text-align: left;
        white-space: normal;
    }

    .ws-login-submit {
        order: 2;
        width: 100%;
    }
}

.ws-user {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.95;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .ws-shop-body,
    .ws-layout-shop {
        grid-template-columns: 1fr;
    }

    .ws-kurv {
        position: static;
    }

    /* Stacked mobile: allow page scroll; panels stack full-width */
    .ws-shell-shop {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
        padding: 0.75rem 0.75rem 1.5rem;
    }

    .ws-shell-shop .ws-frame-shop,
    .ws-content-shop,
    .ws-shell-shop .ws-shop {
        flex: none;
        min-height: 0;
        overflow: visible;
    }

    .ws-shell-shop .ws-shop-body {
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        grid-template-columns: none;
        min-height: 0;
        height: auto;
        margin-top: 0.45rem;
        overflow: visible;
    }

    .ws-shell-shop .ws-vare {
        flex: none;
        width: 100%;
        height: auto;
        max-height: min(70vh, 36rem);
        max-height: min(70dvh, 36rem);
    }

    .ws-shell-shop .ws-kurv {
        flex: none;
        width: 100%;
        max-width: none;
        height: auto;
    }

    .ws-shell-shop .ws-kurv-body {
        max-height: 16rem;
    }

    .ws-kurv-split {
        grid-template-columns: minmax(0, 1fr) 7.5rem;
    }

    .ws-vare-sectionhead {
        flex-wrap: wrap;
    }

    .ws-vare-search-inline {
        flex: 1 1 100%;
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    .ws-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ws-brand {
        justify-content: center;
    }

    .ws-actions {
        justify-content: center;
    }

    .ws-grid {
        grid-template-columns: 1fr;
    }

    .ws-card,
    .ws-card-wide {
        width: 100%;
    }

    .ws-catnav {
        justify-content: center;
    }

    .ws-vare-search {
        margin-left: 0;
        width: 100%;
    }
}

.ws-forgot-hint {
    margin: 0 0 1rem;
    color: #ffc107;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ws-forgot-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.ws-forgot-actions .ws-login-submit {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ws-alert-ok {
    background: rgba(25, 135, 84, 0.92);
    color: #fff;
}

.ws-reg {
    width: 100%;
    max-width: none;
    margin: 0.5rem 0 0;
    padding: 0;
    box-sizing: border-box;
}

.ws-reg-card {
    position: relative;
    background: rgba(108, 117, 125, 0.95);
    color: #fff;
    border-radius: 0.375rem;
    padding: 1.5rem 1.5rem 1.25rem;
    box-sizing: border-box;
}

.ws-reg-form {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
}

.ws-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 1rem;
    align-items: stretch;
}

.ws-reg-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    /* PHP edituser_new.php: min-height 387px default */
    min-height: 387px;
    padding: 1rem 0.75rem;
    box-sizing: border-box;
}

/* PHP: companylist â†’ 440px */
.ws-reg-col.ws-reg-col--firma {
    min-height: 440px;
}

/* PHP: locked company_details â†’ 198px */
.ws-reg-col.ws-reg-col--locked {
    min-height: 198px;
}

.ws-reg-help {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    width: 1.9rem;
    height: 1.9rem;
    z-index: 5;
    cursor: help;
}

.ws-reg-help-mark {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: #ffcd39;
    color: #000;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1;
}

.ws-reg-help-tip {
    display: none;
    position: absolute;
    top: 0;
    left: 3.1rem;
    z-index: 999;
    width: min(500px, calc(100vw - 4rem));
    padding: 1.15rem 1.25rem;
    border-radius: 0.2rem;
    background: #ffcd39;
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    white-space: pre-wrap;
}

.ws-reg-help:hover .ws-reg-help-tip,
.ws-reg-help:focus .ws-reg-help-tip,
.ws-reg-help:focus-within .ws-reg-help-tip {
    display: block;
    animation: ws-help-fade 0.25s ease-in-out;
}

@keyframes ws-help-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.ws-reg-row {
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    gap: 0.65rem;
    align-items: start;
}

.ws-reg-row label {
    margin: 0.55rem 0 0;
    color: #fff;
    font-weight: 500;
}

.ws-reg-indent {
    margin-left: 0.5rem;
}

.ws-reg-check {
    margin: 0.15rem 0 0.15rem 9.5rem;
}

.ws-reg-check label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    cursor: pointer;
}

.ws-reg-check input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #ffc107;
}

.ws-reg .ws-login-input,
.ws-reg .ws-pass-group {
    width: 100%;
}

.ws-reg .is-invalid {
    border-color: #dc3545 !important;
}

.ws-reg .is-valid {
    border-color: var(--ochre) !important;
}

.ws-reg-control {
    min-width: 0;
    width: 100%;
}

.ws-reg-input-wrap {
    position: relative;
    width: 100%;
}

.ws-reg-input-wrap .ws-login-input,
.ws-reg-input-wrap select {
    padding-right: 2.35rem;
}

.ws-reg-status {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    pointer-events: none;
    display: none;
}

.ws-reg-status.is-invalid,
.ws-reg-status.is-valid {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.ws-reg-status.is-invalid {
    background: #dc3545;
}

.ws-reg-status.is-invalid::before {
    content: "!";
}

.ws-reg-status.is-valid {
    background: var(--ochre);
}

.ws-reg-status.is-valid::before {
    content: "âœ“";
    font-size: 0.7rem;
}

.ws-pass-group {
    position: relative;
}

.ws-pass-group .ws-reg-status {
    right: 2.75rem;
}

.ws-pass-group.is-invalid {
    border-color: #dc3545 !important;
}

.ws-pass-group.is-valid {
    border-color: var(--ochre) !important;
}

.ws-reg-feedback {
    margin: 0.25rem 0 0;
    color: #ffc107;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
}

.ws-reg-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem; /* PHP mt-5 */
    flex-wrap: wrap;
}

.ws-reg-btn-cancel,
.ws-reg-btn-ok {
    appearance: none;
    border: 0;
    border-radius: 0.4rem;
    padding: 0.65rem 1.4rem;
    font: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ws-reg-btn-cancel {
    background: #ffc107;
    color: #111;
}

.ws-reg-btn-ok {
    background: var(--ochre);
    color: #fff;
}

.ws-reg-btn-ok:disabled {
    opacity: 0.65;
    cursor: default;
}

.ws-pass-group.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.ws-reg-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 40;
}

.ws-reg-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 41;
    width: min(28rem, calc(100vw - 2rem));
    background: #fff;
    color: #212529;
    border-radius: 0.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 1rem 1.15rem 1.15rem;
}

.ws-reg-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ws-reg-modal-close {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.ws-reg-modal-body {
    margin-bottom: 1rem;
    line-height: 1.45;
}

.ws-reg-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.ws-reg-modal-actions .ws-reg-btn-ok,
.ws-reg-modal-actions .ws-reg-btn-cancel {
    text-decoration: none;
}

.ws-reg-static {
    padding: 0.45rem 0;
    font-weight: 600;
}

.ws-reg-hint {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.45;
}

.ws-reg-hint a,
.ws-reg-hint .link-warning {
    color: #ffc107;
    text-decoration: underline;
}

.ws-reg select.ws-login-input,
.ws-reg-row select,
.ws-reg select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0.35rem;
    padding: 0.5rem 0.7rem;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    background: #fff;
    color: #212529;
    appearance: auto;
}

.ws-reg select.ws-login-input option,
.ws-reg-row select option {
    background: #fff;
    color: #212529;
}

.ws-code-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.ws-code-row .ws-login-input {
    flex: 1;
}

.ws-code-row .ws-login-submit {
    flex: 0 0 auto;
    white-space: nowrap;
}

.ws-login-hint {
    margin: 0 0 1rem;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .ws-reg-grid {
        grid-template-columns: 1fr;
    }

    .ws-reg-col,
    .ws-reg-col.ws-reg-col--firma,
    .ws-reg-col.ws-reg-col--locked {
        min-height: 0;
    }

    .ws-reg-check {
        margin-left: 0;
    }

    .ws-reg-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

/* ===== Special apps: booking / lunch / empcard (not catering catalog) ===== */

/* ===== Special apps (booking / lunch / empcard) ===== */

.ws-app {
    min-height: 100vh;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.ws-app-bar {
    width: 100%;
    max-width: 1320px;
    margin: 0.35rem auto 0;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.ws-app-bar-inner {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1.25rem 0.95rem;
    background: rgba(108, 117, 125, 0.95);
    color: #fff;
    border-radius: 0.15rem;
}

.ws-app-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.ws-app-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
}

.ws-app-brand-text {
    display: none;
}

.ws-app-heading {
    text-align: center;
}

.ws-app-heading h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}

.ws-app-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.ws-app-navbtn {
    appearance: none;
    border: 1px solid #212529;
    background: #212529;
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    cursor: pointer;
}

.ws-app-navbtn.on,
.ws-app-navbtn:hover {
    background: #000;
}

.ws-app-lang {
    display: inline-flex;
    margin-left: 0.25rem;
}

.ws-app-lang button {
    appearance: none;
    border: 1px solid #212529;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
}

.ws-app-lang button:first-child {
    border-radius: 0.25rem 0 0 0.25rem;
}

.ws-app-lang button:last-child {
    border-radius: 0 0.25rem 0.25rem 0;
    border-left-width: 0;
}

.ws-app-lang button.on {
    background: #212529;
}

.ws-app-main {
    width: 100%;
    max-width: 1320px;
    margin: 0.75rem auto 0;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.ws-app-panel {
    background: rgba(108, 117, 125, 0.95);
    color: #fff;
    border-radius: 0.375rem;
    padding: 1.75rem 1.5rem 2rem;
    min-height: 22rem;
}

.ws-app-panel--narrow {
    max-width: 32rem;
    margin: 0 auto;
}

.ws-app-panel h2 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.ws-app-lead {
    margin: 0 0 1.25rem;
    opacity: 0.95;
}

.ws-app-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 12rem;
    text-align: center;
    opacity: 0.9;
}

.ws-app-placeholder i {
    font-size: 2.5rem;
}

.ws-empcard-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 22rem;
    margin: 3rem auto;
}

.ws-empcard-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 5.5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: rgba(108, 117, 125, 0.95);
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.12s ease, transform 0.12s ease;
}

.ws-empcard-choice:hover {
    box-shadow: 0 0 0 4px #939f65;
    transform: translateY(-1px);
    color: #fff;
}

/* ===== Empcard company â€” PHP empcard parity ===== */

.ws-app--empcard {
    padding: 0.5rem 0 1.5rem;
}

.ws-app--empcard .ws-app-bar {
    max-width: none;
    margin: 0.5rem 0 0;
    padding: 0 0.75rem;
}

.ws-app--empcard .ws-app-bar-inner {
    max-width: none;
    grid-template-columns: minmax(180px, 220px) 1fr auto;
    gap: 0.75rem 1.25rem;
    padding: 1rem 1.25rem 1.35rem;
    background: #6c757d;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.ws-app--empcard .ws-app-heading h1 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ws-app--empcard .ws-app-navbtn {
    border-color: #212529;
    background: #212529;
    color: #fff;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

.ws-app--empcard .ws-app-navbtn.on {
    outline: 1px solid #fff;
    outline-offset: -1px;
}

.ws-app--empcard .ws-app-lang button {
    border-color: #212529;
    color: #fff;
    background: transparent;
    padding: 0.375rem 0.7rem;
}

.ws-app--empcard .ws-app-lang button.on {
    background: #212529;
}

.ws-app--empcard .ws-app-main {
    max-width: none;
    margin: 0.5rem 0 0;
    padding: 0 0.75rem;
}

.ws-app--empcard .ws-app-panel {
    /* Match .ws-empcard / PHP tall shell on error / empty states */
    min-height: calc(100vh - 8rem);
}

.ws-empcard {
    background: rgba(108, 117, 125, 0.95);
    color: #fff;
    border-radius: 0.25rem;
    padding: 1.25rem 1.25rem 2rem;
    /* PHP empcard dashboard: tall grey shell (~70–80% viewport), not content-hug */
    min-height: calc(100vh - 8rem);
}

.ws-empcard-welcome {
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.ws-empcard-companies {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 22rem;
    margin: 2.5rem auto;
}

.ws-empcard-company-card {
    appearance: none;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #7a8288 0%, #6c757d 100%);
    color: #fff;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ws-empcard-company-card:hover {
    box-shadow: 0 0 0 4px #939f65;
}

.ws-empcard-dash {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 22rem));
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.ws-empcard-toast {
    background: #fff;
    color: #212529;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.ws-empcard-toast-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    background: #464545;
    color: #fff;
}

.ws-empcard-toast-head small {
    margin-left: auto;
    opacity: 0.85;
}

.ws-empcard-stats {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 1rem;
}

.ws-empcard-stats li {
    padding: 0.35rem 0;
}

.ws-empcard-stats .is-success,
.ws-empcard-activity-row.is-success {
    color: var(--ochre);
}

.ws-empcard-stats .is-muted,
.ws-empcard-activity-row.is-muted {
    color: #6c757d;
}

.ws-empcard-stats .is-danger,
.ws-empcard-activity-row.is-danger {
    color: #dc3545;
}

.ws-empcard-stats .is-dark,
.ws-empcard-activity-row.is-dark {
    color: #212529;
}

.ws-empcard-activity-row.is-warning {
    color: #c27c0e;
}

.ws-empcard-viewall {
    display: block;
    text-align: right;
    padding: 0 1rem 0.85rem;
    color: #212529;
    font-weight: 600;
    text-decoration: none;
}

.ws-empcard-viewall:hover {
    color: #b53434;
}

.ws-empcard-activity {
    min-height: 12rem;
    padding: 0.5rem 0.85rem 0.85rem;
}

.ws-empcard-activity-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-weight: 600;
}

.ws-empcard-activity-row small {
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
}

.ws-empcard-empty {
    margin: 1rem 0;
    opacity: 0.9;
}

.ws-empcard-flash {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    background: rgba(25, 135, 84, 0.2);
    border: 1px solid rgba(25, 135, 84, 0.45);
    border-radius: 0.25rem;
}

.ws-empcard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 0.5rem;
}

.ws-empcard-tabs button {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font: inherit;
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    border-radius: 0.25rem 0.25rem 0 0;
    cursor: pointer;
}

.ws-empcard-tabs button.on {
    background: #4a4a4aeb;
    color: #fff;
}

.ws-empcard-table-wrap {
    overflow-x: auto;
    background: #fff;
    color: #212529;
    border-radius: 0.25rem;
}

.ws-empcard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.ws-empcard-table th,
.ws-empcard-table td {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
    vertical-align: middle;
}

.ws-empcard-table thead th {
    background: #e9ecef;
    font-weight: 700;
}

.ws-empcard-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.ws-empcard-actions {
    white-space: nowrap;
}

.ws-empcard-link {
    appearance: none;
    border: 0;
    background: transparent;
    color: #212529;
    font: inherit;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    cursor: pointer;
    text-decoration: underline;
}

.ws-empcard-link:hover {
    color: #b53434;
}

.ws-empcard-link.is-danger {
    color: #dc3545;
}

.ws-empcard-link:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Employee login / forms on special-app background */
.ws-app--empcard .ws-empcard-login {
    max-width: 44rem;
    margin: 2.5rem auto 0;
}

.ws-app--empcard .ws-empcard-login .ws-login-card {
    background: rgba(108, 117, 125, 0.96);
    color: #fff;
    border: 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.ws-app--empcard .ws-empcard-login .ws-login-head {
    background: #464545;
    color: #fff;
}

.ws-app--empcard .ws-empcard-login .ws-login-label {
    color: #fff;
}

.ws-app--empcard .ws-empcard-login .ws-login-intro {
    color: rgba(255, 255, 255, 0.92);
}

.ws-app--empcard .ws-empcard-login .ws-login-link {
    color: #f0c674;
}

.ws-app--empcard .ws-empcard-login .ws-login-submit {
    background: #212529;
    border-color: #212529;
}

.ws-app--empcard .ws-empcard-login .ws-field-error {
    color: #ffc9c9;
}

.ws-empcard-emp-card {
    margin-bottom: 1.75rem;
}

.ws-empcard-filter {
    background: #f8f9fa;
    color: #212529;
    border-radius: 0.375rem;
    padding: 1rem 1.1rem;
    margin: 0 0 1rem;
    max-width: 48rem;
}

.ws-empcard-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: end;
}

.ws-empcard-filter-row label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.ws-empcard-filter-row input[type="date"] {
    min-width: 10rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font: inherit;
}

.ws-empcard-filter-btn {
    appearance: none;
    border: 0;
    background: #212529;
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

.ws-empcard-filter-btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.ws-empcard-trans-head,
.ws-empcard-trans-toggle {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: center;
}

.ws-empcard-trans-head {
    background: #fff;
    color: #212529;
    font-weight: 700;
    padding: 0.7rem 0.9rem;
    border-radius: 0.25rem;
    margin-bottom: 0.65rem;
}

.ws-empcard-trans-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ws-empcard-trans-group {
    background: #fff;
    color: #212529;
    border-radius: 0.25rem;
    overflow: hidden;
}

.ws-empcard-trans-toggle {
    width: 100%;
    appearance: none;
    border: 0;
    background: #e9ecef;
    color: #212529;
    font: inherit;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
}

.ws-empcard-trans-toggle.on {
    background: #dee2e6;
}

.ws-empcard-trans-body {
    padding: 0.85rem 1rem 1rem;
}

.ws-empcard-trans-body h4 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
}

.ws-empcard-trans-back {
    margin: 1.25rem 0 0;
}

@media (max-width: 900px) {
    .ws-empcard-dash {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }

    .ws-app--empcard .ws-app-bar-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ws-empcard-trans-head,
    .ws-empcard-trans-toggle {
        grid-template-columns: 1fr 1fr;
        row-gap: 0.25rem;
    }
}

@media (max-width: 900px) {
    .ws-app-bar-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ws-app-actions {
        justify-content: center;
    }
}

/* ===== Room booking â€” PHP booking_process parity ===== */

.ws-app--booking {
    padding: 0.5rem 0 1.5rem;
}

.ws-app--booking .ws-app-bar {
    max-width: none;
    margin: 0.5rem 0 0;
    padding: 0 0.75rem;
}

.ws-app--booking .ws-app-bar-inner {
    max-width: none;
    grid-template-columns: minmax(180px, 220px) 1fr auto;
    gap: 0.75rem 1.25rem;
    padding: 1rem 1.25rem 1.35rem;
    background: #6c757d;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.ws-app--booking .ws-app-heading h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

.ws-app--booking .ws-app-navbtn {
    border-color: #212529;
    background: #212529;
    color: #fff;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

.ws-app--booking .ws-app-navbtn.on {
    outline: 1px solid #fff;
    outline-offset: -1px;
}

.ws-app--booking .ws-app-lang button {
    border-color: #212529;
    color: #fff;
    background: transparent;
    padding: 0.375rem 0.7rem;
}

.ws-app--booking .ws-app-lang button.on {
    background: #212529;
}

.ws-app--booking .ws-app-main {
    max-width: none;
    margin: 0;
    padding: 0;
}

.ws-booking {
    background: transparent;
    color: #212529;
    border-radius: 0;
    padding: 0;
    min-height: calc(100vh - 7rem);
}

.ws-booking-datebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.65rem 1rem;
    margin: 0;
    background: linear-gradient(180deg, #7a8288 0%, #6c757d 100%);
    color: #fff;
    border-radius: 0;
}

.ws-booking-datebtn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: #f8f9fa;
    color: #212529;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.ws-booking-datebtn:hover {
    background: #fff;
}

.ws-booking-date {
    font-weight: 600;
    font-size: 1rem;
    min-width: 7rem;
    text-align: center;
    color: #fff;
    padding: 0 0.35rem;
}

.ws-booking-building {
    margin: 0.75rem 0.75rem 1rem;
    max-width: 36rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.ws-booking-building label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.ws-booking-building select {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font: inherit;
    background: #fff;
}

.ws-booking-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: #dc3545;
    font-weight: 600;
}

.ws-booking-grid-wrap {
    display: flex;
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.24);
    background: #fff;
}

.ws-booking-rooms {
    width: 15%;
    min-width: 10rem;
    flex: 0 0 15%;
}

.ws-booking-corner,
.ws-booking-time {
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.24);
    background: #f8f9fa;
}

.ws-booking-room {
    height: 90px;
    padding: 1.2rem 0.65rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.25;
}

.ws-booking-room small {
    font-weight: 500;
    opacity: 0.85;
}

.ws-booking-slots {
    width: 85%;
    overflow-x: auto;
    overflow-y: hidden;
}

.ws-booking-slots-inner {
    min-width: calc(var(--slot-count, 12) * 150px);
}

.ws-booking-times,
.ws-booking-row {
    display: grid;
    grid-template-columns: repeat(var(--slot-count, 12), minmax(150px, 1fr));
}

.ws-booking-cell {
    appearance: none;
    height: 90px;
    margin: 0;
    padding: 1.1rem 0.35rem 0.35rem;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    font: inherit;
    color: #212529;
    text-align: center;
    position: relative;
}

.ws-booking-cell.is-free:hover:not(:disabled) {
    background: #dff5df;
}

.ws-booking-cell.is-confirmed {
    background: #eef7ee !important;
    color: #212529 !important;
    cursor: pointer;
    opacity: 1;
}

.ws-booking-cell.is-confirmed:hover:not(:disabled) {
    background: #e0f0e0 !important;
}

.ws-booking-cell.is-confirmed.is-start {
    border-left: 3px solid green !important;
}

.ws-booking-cell.is-confirmed.is-end {
    border-right: 3px solid green !important;
}

.ws-booking-cell.is-own-hold,
.ws-booking-cell.is-other-hold {
    background: #eef3f7 !important;
    color: #212529 !important;
    cursor: pointer;
    opacity: 1;
}

.ws-booking-cell.is-own-hold:hover:not(:disabled),
.ws-booking-cell.is-other-hold:hover:not(:disabled) {
    background: #e0eaf2 !important;
}

.ws-booking-cell.is-own-hold.is-start,
.ws-booking-cell.is-other-hold.is-start {
    border-left: 3px solid green !important;
}

.ws-booking-cell.is-own-hold.is-end,
.ws-booking-cell.is-other-hold.is-end {
    border-right: 3px solid green !important;
}

.ws-booking-cell.is-disabled,
.ws-booking-cell:disabled {
    background: #e1e1e1 !important;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 1;
}

.ws-booking-cell-label {
    display: block;
    font-size: 14px;
    line-height: 1.3;
    color: #212529;
    pointer-events: none;
}

.ws-booking-cell-label b {
    font-weight: 700;
    color: #212529;
}

.ws-booking-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 40;
}

.ws-booking-modal {
    position: fixed;
    z-index: 50;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(32rem, calc(100vw - 2rem));
    background: #fff;
    color: #212529;
    border-radius: 0.35rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ws-booking-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #464545;
    color: #fff;
}

.ws-booking-modal-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.ws-booking-modal-body {
    padding: 1rem 1.1rem;
    display: grid;
    gap: 0.75rem;
}

.ws-booking-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.ws-booking-field input,
.ws-booking-field select,
.ws-booking-field textarea {
    width: 100%;
    padding: 0.4rem 0.5rem;
    border: 1px solid #adb5bd;
    border-radius: 0.25rem;
    font: inherit;
    box-sizing: border-box;
}

.ws-booking-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
}

.ws-booking-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.75rem 1rem 1rem;
}

.ws-booking-table {
    width: 100%;
    border-collapse: collapse;
}

.ws-booking-table th,
.ws-booking-table td {
    border: 1px solid #dee2e6;
    padding: 0.55rem 0.65rem;
    text-align: left;
}

.ws-booking-table th {
    background: #f1f3f5;
}

.ws-booking-list {
    margin: 0.75rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.25rem;
}

.ws-booking-list .ws-booking-datebar {
    justify-content: flex-start;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.ws-booking-recurring {
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 0.25rem;
    padding: 0.75rem;
    display: grid;
    gap: 0.5rem;
}

.ws-booking-recurring-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ws-booking-modal--confirm {
    width: min(24rem, calc(100vw - 2rem));
    z-index: 60;
}

.ws-booking-modal-actions--spread {
    justify-content: space-around;
}

.ws-field-error {
    color: #b02a37;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ===== Lunch / faste ordninger ===== */

.ws-lunch {
    background: rgba(108, 117, 125, 0.95);
    color: #fff;
    border-radius: 0.35rem;
    padding: 1.25rem 1.25rem 1.75rem;
    min-height: calc(100vh - 8rem);
}

.ws-lunch-welcome {
    margin: 0 0 1.5rem;
    text-align: center;
    font-size: 1.35rem;
}

.ws-lunch-empty {
    text-align: center;
    font-weight: 700;
    color: #ffc107;
    padding: 1.5rem;
}

.ws-lunch-groups {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 22rem;
    margin: 0 auto;
}

.ws-lunch-group-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: rgba(70, 69, 69, 0.55);
    color: #fff;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ws-lunch-group-card:hover {
    box-shadow: 0 0 0 4px #939f65;
    color: #fff;
}

.ws-lunch-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.ws-lunch-toolbar h2 {
    margin: 0;
    font-size: 1.25rem;
}

.ws-lunch-child {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.35rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.ws-lunch-child-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.ws-lunch-child-head h3 {
    margin: 0;
    font-size: 1.1rem;
}

.ws-lunch-table-wrap {
    overflow-x: auto;
    background: #fff;
    color: #212529;
    border-radius: 0.25rem;
}

.ws-lunch-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.ws-lunch-table th,
.ws-lunch-table td {
    border: 1px solid #dee2e6;
    padding: 0.45rem 0.5rem;
    text-align: center;
    vertical-align: middle;
}

.ws-lunch-table th:first-child,
.ws-lunch-table td:first-child {
    text-align: left;
    min-width: 10rem;
}

.ws-lunch-table th {
    background: #f1f3f5;
    font-size: 0.85rem;
}

.ws-lunch-table th.is-disabled {
    background: #e1e1e1;
    color: #6c757d;
}

.ws-lunch-table input[type="number"] {
    width: 4rem;
    padding: 0.3rem;
    border: 1px solid #adb5bd;
    border-radius: 0.2rem;
    text-align: center;
    font: inherit;
}

.ws-lunch-table input[type="number"]:disabled {
    background: #e9ecef;
}

.ws-lunch-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.ws-lunch-saved {
    font-weight: 700;
    color: #ffc107;
}

.ws-lunch-history td,
.ws-lunch-history th {
    font-size: 0.85rem;
    white-space: nowrap;
}


/* —— Checkout / kurvgodkend (PHP flow 2) ——
 * PHP #wrapper 1210px: #leftcontent 765 + #bestmenu/#kurv 445.
 * Shop frame already ~1240; checkout uses same two-column split as browse.
 */
.ws-shop-checkout {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.ws-checkout {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0.75rem 0.5rem 2rem;
    color: #fff;
    box-sizing: border-box;
}

/* Fill shop frame; layout grid owns scroll (left scrolls, right stays put) */
.ws-shell-shop .ws-shop-checkout .ws-checkout,
.ws-shell-shop .ws-checkout {
    flex: 1 1 0;
    min-height: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0 0;
    color: var(--ink);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-radius: 0 0 0.3rem 0.3rem;
    box-sizing: border-box;
}

/* PHP leftcontent 765 / bestmenu 445 ≈ same ratio as .ws-shop-body */
.ws-checkout-layout {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(27.5rem, 0.93fr);
    gap: 0.85rem;
    align-items: stretch;
    overflow: hidden;
}

.ws-checkout-main {
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 0.35rem 1.25rem 0.15rem;
}

/* PHP #bestmenu 445px — Indkøbskurv total + fortsatshop / kurvfinal */
.ws-checkout-aside {
    min-width: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0;
    background: var(--paper);
    border-radius: 0.3rem;
    border: 1px solid var(--sand);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.ws-checkout-aside-head {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.45rem 0.75rem 0.5rem;
    background: var(--nav);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.3;
}

.ws-checkout-aside .ws-checkout-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
    justify-content: stretch;
    padding: 0.55rem 0.65rem 0.75rem;
}

.ws-checkout-aside .ws-checkout-head-actions .ws-btn {
    flex: 1 1 8rem;
    text-align: center;
    min-height: 3.4rem;
    line-height: 1.2;
}

.ws-checkout-head,
.ws-checkout-ordered-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ws-checkout-basket-label {
    font-size: 0.95rem;
    font-weight: 600;
}

.ws-checkout-grand {
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
}

.ws-checkout-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.ws-btn-addmore {
    background: var(--ochre) !important;
    color: #fff !important;
    border: 0;
    min-height: 2.4rem;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    border-radius: 0.2rem;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}


.ws-btn-perform {
    background: #e3e3e3;
    color: #b1b1b1;
    border: 0;
    min-height: 2.4rem;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    border-radius: 0.2rem;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
    cursor: default;
    pointer-events: none;
}

.ws-btn-perform:not(:disabled):not(.is-disabled) {
    background: var(--ochre);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
}

.ws-btn-perform:disabled,
.ws-btn-perform.is-disabled {
    background: #e3e3e3 !important;
    color: #b1b1b1 !important;
    cursor: default !important;
    pointer-events: none;
    box-shadow: none;
}

.ws-btn-perform i {
    margin-left: 0.25rem;
}

.ws-checkout-section {
    background: var(--gra15);
    border: 1px solid #d4d4d4;
    border-radius: 0.15rem;
    padding: 0.85rem 1rem 1rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.ws-checkout-section-title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ws-checkout-company {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.92rem;
    margin-bottom: 0.65rem;
}

.ws-checkout-paycard {
    margin: 0.35rem 0 0;
    font-weight: 700;
}

.ws-checkout-label {
    font-weight: 700;
    margin-right: 0.25rem;
}

.ws-checkout-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.35rem 0 0.65rem;
    font-weight: 600;
    cursor: pointer;
}

.ws-checkout-otherbox {
    background: var(--gra15);
    border: 1px solid #d4d4d4;
    border-radius: 0.15rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ws-checkout-otherbox.is-muted {
    opacity: 0.72;
}

.ws-checkout-otherbox-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.ws-checkout-cvr-line {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.ws-checkout-cvr {
    flex: 0 0 7.25rem;
    width: 7.25rem;
}

.ws-checkout-cvr-line > .ws-checkout-check {
    margin: 0 0 0.4rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

.ws-checkout-ean {
    flex: 0 0 9.5rem;
    width: 9.5rem;
}

.ws-checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.ws-checkout-field span {
    font-weight: 600;
}

.ws-checkout-field .ws-checkout-check input {
    width: auto;
}

.ws-checkout-field input,
.ws-checkout-field select,
.ws-checkout-field textarea,
.ws-checkout-contacts input {
    width: 100%;
    border: 2px solid transparent;
    border-radius: 0.35rem;
    padding: 0.45rem 0.55rem;
    font: inherit;
    color: #222;
    background: #fff;
    box-sizing: border-box;
}

.ws-checkout-field input.inerror,
.ws-checkout-field select.inerror,
.ws-checkout-field textarea.inerror,
.ws-checkout-contacts input.inerror {
    border-color: #ff0000;
}

.ws-checkout-field textarea {
    min-height: 5rem;
    resize: vertical;
}

.ws-checkout-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.ws-checkout-contact-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    align-items: center;
    position: relative;
    padding-right: 1.75rem;
}

.ws-checkout-contact-remove {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    border-radius: 0.2rem;
    background: #c45c5c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.ws-btn-addcontact {
    background: var(--ochre) !important;
    color: #fff !important;
    border: 0;
    min-height: 2.2rem;
    padding: 0.4rem 0.85rem;
    font-weight: 650;
    border-radius: 0.2rem;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.ws-btn-addcontact i {
    margin-left: 0.25rem;
}

.ws-checkout-orderinfo {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ws-checkout-ordered {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.ws-checkout-del.is-package {
    background: #fff;
    color: var(--ink);
    border: 1px solid #d4d4d4;
}

.ws-checkout-del.is-package .ws-kurv-package {
    padding: 0.55rem 0.65rem 0.75rem;
}

.ws-checkout-package-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ws-checkout-package-section-top strong {
    flex: 1 1 auto;
    min-width: 0;
}

.ws-checkout-package-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.ws-checkout-del {
    background: rgba(90, 103, 109, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ws-checkout-del .ws-kurv-delhead {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.ws-checkout-receipt {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* PHP kurvfinal: dark shop, white headings, grey detail panels, pink actions. */
.ws-shell-shop .ws-shop-checkout > .ws-kvit {
    flex: 1 1 0;
    min-height: 0;
    overflow: auto;
}

.ws-kvit {
    background: var(--paper);
    color: var(--ink);
    padding: 0.65rem 0.85rem 1.5rem;
    box-sizing: border-box;
}

.ws-kvit-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ws-kvit-desc-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 16px;
}

.ws-kvit-btn {
    background: var(--ochre);
    color: #fff;
    border: 0;
    border-radius: 3px;
    min-width: 168px;
    height: 35px;
    padding: 0 0.75rem;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
}

.ws-kvit-print {
    margin-left: auto;
}

.ws-kvit-title {
    background: var(--nav);
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    padding: 7px 10px;
    border: 1px solid #e1e1e1;
    margin: 0.35rem 0 0.55rem;
}

.ws-kvit-lead {
    font-weight: 700;
    text-transform: uppercase;
    margin: 0.85rem 0 0.4rem;
    letter-spacing: 0.02em;
}

.ws-kvit-lead span {
    display: block;
    font-weight: 650;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
}

.ws-kvit-package-title {
    font-weight: 700;
    margin: 0.4rem 0;
}

.ws-kvit-panel {
    background: #f8f8f8;
    color: #222;
    padding: 0.45rem 0.55rem 0.7rem;
    margin-bottom: 0.85rem;
}

.ws-kvit-subhead {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: var(--nav);
    color: #fff;
    font-weight: 700;
    padding: 6px 10px;
    margin-top: 0.65rem;
}

.ws-kvit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ws-kvit-table td {
    padding: 0.18rem 0.35rem;
    vertical-align: top;
    white-space: pre-wrap;
}

.ws-kvit-table .lbl {
    font-weight: 700;
}

.ws-kvit-table .num {
    text-align: right;
    white-space: nowrap;
}

.ws-kvit-lines,
.ws-kvit-lines + .ws-kvit-table {
    table-layout: fixed;
}

.ws-kvit-lines > tbody > tr > td:nth-child(2),
.ws-kvit-lines + .ws-kvit-table > tbody > tr > td:nth-child(2) {
    width: 10%;
}

.ws-kvit-lines > tbody > tr > td:nth-child(3),
.ws-kvit-lines + .ws-kvit-table > tbody > tr > td:nth-child(3) {
    width: 12%;
}

.ws-kvit-lines > tbody > tr > td:nth-child(4),
.ws-kvit-lines + .ws-kvit-table > tbody > tr > td:nth-child(4) {
    width: 16%;
}

.ws-kvit-lines > tbody > tr > td:nth-child(5),
.ws-kvit-lines + .ws-kvit-table > tbody > tr > td:nth-child(5) {
    width: 15%;
}

.ws-kvit-lines tr:first-child td {
    background: #eee;
}

.ws-kvit-gap td {
    height: 0.6rem;
}

.ws-kvit-pickup {
    color: #c0392b;
    font-weight: 700;
    font-size: 14px;
}

.ws-kvit-desc {
    display: none;
    margin: 0.15rem 0 0;
    color: #555;
    font-size: 12px;
    font-weight: 400;
    white-space: pre-wrap;
}

.ws-kvit.is-desc .ws-kvit-desc {
    display: block;
}

.ws-kvit-empty {
    margin: 0.5rem 0 0;
}

@media print {
    .ws-top,
    .ws-auth-bar,
    .ws-kvit-toolbar,
    .ws-menu-toolbar,
    .ws-event-menu,
    .ws-modal,
    .ws-modal-backdrop {
        display: none !important;
    }

    .ws-shell,
    .ws-shell-shop,
    .ws-frame,
    .ws-frame-shop,
    .ws-content-shop,
    .ws-shop,
    .ws-shop-checkout,
    .ws-kvit,
    .ws-menu-page,
    .ws-print-catalog {
        display: block !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        background: #fff !important;
        color: #111 !important;
    }

    .ws-kvit-title,
    .ws-kvit-subhead,
    .ws-kvit-lines tr:first-child td {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media (max-width: 980px) {
    .ws-checkout-layout {
        grid-template-columns: 1fr;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ws-checkout-main {
        overflow: visible;
        padding: 0.35rem 0.65rem 0.75rem;
    }

    .ws-checkout-aside {
        order: -1;
        position: sticky;
        top: 0;
        z-index: 5;
    }

    .ws-checkout-otherbox-row {
        grid-template-columns: 1fr;
    }

    .ws-checkout-contact-row {
        grid-template-columns: 1fr 1fr;
        padding-right: 0;
    }

    .ws-checkout-head,
    .ws-checkout-ordered-head {
        flex-direction: column;
        align-items: stretch;
    }

    .ws-checkout-head-actions {
        width: 100%;
        justify-content: stretch;
    }

    .ws-checkout-head-actions .ws-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Vis menu Udskriv: print styles live in the wsPrintElement iframe (PHP printThis parity).
   Do not use visibility-based @media print here — it left the shop background in the preview. */

.ws-event-menu {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.ws-event-terms {
    position: relative;
    z-index: 80;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0.35rem 0.15rem;
}

.ws-event-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: transparent;
}

.ws-event-menu-drop {
    position: relative;
    z-index: 80;
}

.ws-event-menu-top {
    appearance: none;
    border: 0;
    background: var(--olive);
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ws-event-menu-caret {
    font-size: 0.7rem;
    transition: transform 0.15s ease;
}

.ws-event-menu-caret.is-open {
    transform: rotate(180deg);
}

.ws-event-menu-list {
    position: absolute;
    right: 0;
    top: calc(100% + 0.2rem);
    z-index: 90;
    min-width: 12.5rem;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    background: #fff;
    color: #212529;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.ws-event-menu-list button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
}

.ws-event-menu-list button:hover {
    background: #f3f4f6;
}

.ws-event-confirm .ws-modal-body,
.ws-event-terms-dialog .ws-modal-body {
    padding: 1rem 1.1rem 1.15rem;
}

.ws-event-terms-dialog {
    width: min(92vw, 640px);
}

.ws-event-confirm .ws-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

.ws-menu-page {
    background: #fff;
    color: #212529;
    border-radius: 0.35rem;
    padding: 1rem 1.1rem 1.25rem;
}

.ws-menu-page h1 {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
}

.ws-menu-form,
.ws-orders-filter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 36rem;
}

.ws-menu-form label,
.ws-orders-filter label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-weight: 600;
}

.ws-menu-form .ws-field,
.ws-orders-filter .ws-field {
    font-weight: 400;
    width: 100%;
}

.ws-menu-actions,
.ws-menu-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.ws-menu-toolbar {
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.ws-menu-ok {
    color: #1b6b3a;
    margin: 0;
}

.ws-pass {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ws-pass .ws-field {
    flex: 1 1 auto;
}

.ws-eye {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--nav);
    cursor: pointer;
    padding: 0.25rem 0.4rem;
}

.ws-orders-filter {
    flex-direction: row;
    align-items: flex-end;
    max-width: none;
    flex-wrap: wrap;
}

.ws-orders-own {
    flex-direction: row !important;
    align-items: center;
    gap: 0.4rem !important;
    font-weight: 600;
    padding-bottom: 0.35rem;
}

.ws-orders-warn {
    color: #b42318;
    font-weight: 700;
    margin: 0.75rem 0 0;
}

.ws-orders-table-wrap {
    overflow-x: auto;
    margin-top: 0.85rem;
}

.ws-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.ws-orders-table th,
.ws-orders-table td {
    border-bottom: 1px solid #e4e7eb;
    padding: 0.4rem 0.45rem;
    text-align: left;
    vertical-align: top;
}

.ws-orders-table th {
    background: var(--nav);
    color: #fff;
    font-weight: 600;
}

.ws-orders-actions {
    width: 2.2rem;
    text-align: center;
}

.ws-orders-open {
    margin-top: 0.85rem;
}

.ws-orders-dialog-back {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(62, 66, 65, 0.35);
}

.ws-orders-dialog {
    width: min(22rem, calc(100% - 2rem));
    padding: 1rem 1.1rem 1.15rem;
    background: #fff;
    color: var(--ink);
    border-radius: 0.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.ws-orders-dialog h2 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.ws-orders-dialog label {
    display: grid;
    gap: 0.25rem;
}

.ws-orders-dialog-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.ws-shell-shop .ws-print-catalog {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ws-print-catalog .ws-menu-toolbar {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    padding-bottom: 0.35rem;
}

.ws-print-sheet {
    background: #fff;
    color: #111;
    max-width: 52rem;
    margin: 0 auto;
    padding: 0.5rem 0.75rem 2rem;
}

.ws-print-logo {
    display: block;
    width: 30%;
    max-width: 16rem;
    opacity: 0.3;
    margin: 0 0 0.75rem;
}

.ws-print-sheet h1,
.ws-print-vat {
    margin: 0;
    text-align: center;
    font-weight: 500;
    font-size: 1.35rem;
    line-height: 1.3;
}

.ws-print-folder {
    margin-top: 0.35rem;
}

.ws-print-folder h2 {
    margin: 0.45rem 0 0.1rem;
    font-size: 1rem;
    font-weight: 700;
}

.ws-print-folder.is-top > h2 {
    font-size: 1.05rem;
}

.ws-print-lines {
    width: calc(100% - 0.5rem);
    border-collapse: collapse;
    margin: 0.15rem 0 0.45rem;
}

.ws-print-lines td {
    padding: 0;
    border: 0;
    vertical-align: top;
    font-size: 0.95rem;
}

.ws-print-name {
    width: 60%;
}

.ws-print-code,
.ws-print-unit {
    width: 15%;
    white-space: nowrap;
}

.ws-print-price {
    width: 10%;
    text-align: right;
    white-space: nowrap;
}

.ws-print-desc {
    margin: 0 0 0.2rem;
    color: #333;
    font-size: 0.85rem;
    font-weight: 400;
}
