.egel-wrap {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
    color: #2b2b2b;
}

.egel-card {
    background: #f8f4ee;
    border-radius: 18px;
    overflow: visible;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.egel-header {
    padding: 34px 36px 24px;
    background: #eee8df;
    border-bottom: 1px solid rgba(177,139,76,0.18);
}

.egel-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b18b4c;
    margin-bottom: 10px;
}

.egel-header h2 {
    margin: 0 0 10px;
    font-family: 'Libre Baskerville', serif;
    font-size: 52px;
    line-height: 1.05;
    color: #161616;
}

.egel-header p {
    margin: 0;
    font-size: 18px;
    color: #6f6a62;
}

.egel-body {
    padding: 28px;
}

.egel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.egel-main-column,
.egel-sidebar {
    min-width: 0;
}

.egel-box {
    background: #fdfbf8;
    border: 1px solid #ece3d7;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}

.egel-box h3 {
    margin: 0 0 14px;
    font-family: 'Libre Baskerville', serif;
    font-size: 26px;
    line-height: 1.15;
    color: #161616;
}

.egel-section-headline {
    margin-bottom: 18px;
}

.egel-section-subtitle {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: #6f6a62;
}

.egel-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f6efe6;
    border: 1px solid #ead9bf;
    color: #5e5447;
    font-size: 14px;
    line-height: 1.6;
}

.egel-inline-help,
.egel-muted {
    color: #7f786f;
    font-size: 13px;
    line-height: 1.5;
}

.egel-row-2,
.egel-row-3 {
    display: grid;
    gap: 16px;
}

.egel-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.egel-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.egel-field {
    margin-bottom: 0;
}

.egel-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #2d2d2d;
}

.egel-field input[type="text"],
.egel-field input[type="email"],
.egel-field input[type="date"],
.egel-field input[type="time"],
.egel-field input[type="number"],
.egel-field textarea,
.egel-field select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #d9cfbf;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    color: #222;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.egel-field textarea {
    min-height: 120px;
    resize: vertical;
}

.egel-field input:focus,
.egel-field textarea:focus,
.egel-field select:focus {
    outline: none;
    border-color: #b18b4c;
    box-shadow: 0 0 0 3px rgba(177,139,76,0.14);
    background: #fffdfa;
}

.egel-option-card {
    border: 1px solid #ddd3c5;
    border-radius: 16px;
    padding: 16px 18px;
    background: #fcfaf7;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    margin-bottom: 14px;
}

.egel-option-card:hover {
    border-color: #c8ae77;
}

.egel-option-card.active {
    border-color: #b18b4c;
    box-shadow: 0 0 0 3px rgba(177,139,76,0.12);
    background: #fffdfa;
}

.egel-small-check {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    cursor: pointer;
}

.egel-small-check input[type="radio"],
.egel-small-check input[type="checkbox"] {
    margin: 3px 0 0;
    accent-color: #b18b4c;
    width: 18px;
    height: 18px;
}

.egel-preview {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f1e6, #fdf8f0);
    border: 1px solid #ead9bf;
    color: #51483d;
}

.egel-preview strong {
    display: block;
    margin-bottom: 6px;
    color: #1b1b1b;
}

.egel-addon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.egel-addon-grid-secondary {
    margin-top: 16px;
}

.egel-addon-card {
    position: relative;
    display: block;
    padding: 18px 18px 16px 48px;
    border: 1px solid #e2d7c7;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    min-height: 145px;
    box-sizing: border-box;
}

.egel-addon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
    border-color: #c8ae77;
}

.egel-addon-card input[type="checkbox"] {
    position: absolute;
    top: 20px;
    left: 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #b18b4c;
}

.egel-addon-card input[type="checkbox"]:checked + .egel-addon-badge,
.egel-addon-card input[type="checkbox"]:checked ~ .egel-addon-header {
    color: inherit;
}

.egel-addon-card:has(input[type="checkbox"]:checked) {
    border-color: #b18b4c;
    box-shadow: 0 0 0 3px rgba(177,139,76,0.12);
    background: #fffdfa;
}

.egel-addon-card-recommended {
    background: linear-gradient(135deg, #fffdfa, #fcf5ea);
}

.egel-addon-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #efe2c6;
    color: #7e6330;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.egel-addon-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.egel-addon-header strong {
    display: block;
    font-size: 17px;
    line-height: 1.35;
    color: #1e1e1e;
}

.egel-addon-price {
    white-space: nowrap;
    font-weight: 700;
    color: #b18b4c;
    font-size: 16px;
}

.egel-addon-text {
    font-size: 14px;
    line-height: 1.65;
    color: #6d665d;
}

.egel-addon-suboptions {
    margin-top: 18px;
}

.egel-suboptions-box {
    border: 1px solid #e7ddce;
    border-radius: 16px;
    padding: 18px;
    background: #fbf8f3;
}

.egel-suboptions-box h4 {
    margin: 0 0 14px;
    font-size: 18px;
    font-family: 'Libre Baskerville', serif;
    color: #202020;
}

.egel-contact-card {
    border: 1px solid #e7ddce;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

.egel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #b18b4c, #9a763d);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    box-shadow: 0 10px 22px rgba(177,139,76,0.22);
}

.egel-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.egel-btn:active {
    transform: translateY(0);
}

.egel-success,
.egel-error {
    padding: 16px 18px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.egel-success {
    background: #eaf7ee;
    border: 1px solid #b6ddc0;
    color: #29543a;
}

.egel-error {
    background: #fff1ef;
    border: 1px solid #e4b5ae;
    color: #7e3027;
}

.egel-sidebar {
    align-self: start;
}

.egel-summary-section {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #ece3d7;
}

.egel-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.egel-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dashed #ece3d7;
    font-size: 15px;
    line-height: 1.5;
}

.egel-summary-list li:last-child {
    border-bottom: 0;
}

.egel-summary-list span {
    color: #696158;
}

.egel-summary-list strong {
    color: #1d1d1d;
    text-align: right;
}

.egel-summary-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.egel-summary-total {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    color: #b18b4c;
}

.egel-price-note {
    margin-top: 18px;
}

.egel-sidebar-safe {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f7f1e7;
    border: 1px solid #ead9bf;
    color: #5e5447;
    font-size: 14px;
    line-height: 1.65;
}

.egel-sidebar-safe strong {
    display: block;
    margin-bottom: 6px;
    color: #1d1d1d;
}

/* Kalender */
.egel-calendar-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.egel-calendar-nav {
    display: flex;
    gap: 8px;
}

.egel-calendar-nav button {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #d9cfbf;
    background: #fff;
    color: #7e6330;
    font-weight: 700;
    cursor: pointer;
}

.egel-calendar-nav button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.egel-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(44px, 1fr));
    gap: 8px;
}

.egel-calendar-weekday {
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #81786d;
}

.egel-day {
    min-height: 58px;
    border: 1px solid #eadfce;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.egel-day:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(.98);
}

.egel-day.is-empty {
    visibility: hidden;
    pointer-events: none;
}

.egel-day.is-disabled {
    background: #f3efe8;
    color: #b8aa99;
    cursor: not-allowed;
}

.egel-day.is-available {
    background: #6fcf79;
    border-color: #6fcf79;
    color: #fff;
}

.egel-day.is-reserved {
    background: #c9a15f;
    border-color: #c9a15f;
    color: #fff;
    cursor: not-allowed;
}

.egel-day.is-booked {
    background: #d75b57;
    border-color: #d75b57;
    color: #fff;
    cursor: not-allowed;
}

.egel-day.is-selected,
.egel-day.is-in-range {
    background: #b18b4c;
    border-color: #b18b4c;
    color: #fff;
}

.egel-day-num {
    font-weight: 700;
    font-size: 16px;
}

.egel-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .egel-header h2 {
        font-size: 38px;
    }

    .egel-body,
    .egel-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .egel-row-2,
    .egel-row-3,
    .egel-addon-grid {
        grid-template-columns: 1fr;
    }

    .egel-addon-card {
        min-height: auto;
    }
}

.egel-wrap,
.egel-card,
.egel-body,
.egel-grid,
.egel-sidebar {
    overflow: visible !important;
}

.egel-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
}

.egel-price-box {
    position: relative;
    top: auto;
}

/* Elementor wrappers må ikke blokere sticky */
.elementor-widget-shortcode,
.elementor-widget-shortcode > .elementor-widget-container,
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap,
.egel-wrap,
.egel-card,
.egel-body,
.egel-grid,
.egel-main-column,
.egel-sidebar {
    overflow: visible !important;
}

/* Sørg for at grid ikke stretcher sidebaren på en dum måde */
.egel-grid {
    align-items: start !important;
}

.egel-sidebar {
    z-index: 5;
}
.egel-summary-deposit {
    color: #9a763d;
    font-weight: 700;
}

#egel_summary_due_now,
#egel_summary_due_later {
    font-weight: 700;
    color: #1d1d1d;
}

.egel-price-note strong {
    display: inline-block;
    margin-bottom: 6px;
}