/* [mintenz_showroom_afspraak] — scoped to #mintenz-showroom so Flatsome styles do not leak in or out. */

#mintenz-showroom {
    --ms-brand: #36281d;
    --ms-brand-soft: #f3ece4;
    --ms-brand-hover: #e6d8c6;
    --ms-muted: #8a817a;
    --ms-border: #e5e0da;
    color: var(--ms-brand);
    margin-bottom: 2em;
}

/* Theme overrides: the page section can center text, use light ("dark section") text colors
   and force its own button radius. Pin these inside the widget. */

#mintenz-showroom .ms-card,
#mintenz-showroom .ms-card div,
#mintenz-showroom .ms-card p,
#mintenz-showroom .ms-card span,
#mintenz-showroom .ms-card label,
#mintenz-showroom .ms-card strong {
    text-align: left;
    color: var(--ms-brand);
}

#mintenz-showroom .ms-card p {
    font-size: 15px;
    line-height: 1.5;
}

#mintenz-showroom .ms-card .ms-weekday,
#mintenz-showroom .ms-card .ms-month-label,
#mintenz-showroom .ms-card .ms-done,
#mintenz-showroom .ms-card .ms-done p,
#mintenz-showroom .ms-card .ms-done div {
    text-align: center;
}

#mintenz-showroom .ms-card .ms-weekday,
#mintenz-showroom .ms-card .ms-day,
#mintenz-showroom .ms-card .ms-meta,
#mintenz-showroom .ms-card .ms-meta span,
#mintenz-showroom .ms-card .ms-info-text {
    color: #5f554d;
}

#mintenz-showroom .ms-card .ms-day.is-available {
    color: var(--ms-brand);
}

#mintenz-showroom .ms-card .ms-day.is-selected,
#mintenz-showroom .ms-card .ms-next,
#mintenz-showroom .ms-card .ms-submit,
#mintenz-showroom .ms-card .ms-done-icon,
#mintenz-showroom .ms-card .ms-time.is-open .ms-time-btn {
    color: #fff;
}

#mintenz-showroom .ms-card .ms-error {
    color: #b20000;
}

#mintenz-showroom .ms-day,
#mintenz-showroom .ms-month-nav,
#mintenz-showroom .ms-back,
#mintenz-showroom .ms-done-icon {
    border-radius: 50% !important;
}

#mintenz-showroom .ms-time button {
    border-radius: 6px !important;
}

#mintenz-showroom .ms-submit {
    border-radius: 999px !important;
}

#mintenz-showroom .ms-form input[type="text"],
#mintenz-showroom .ms-form input[type="email"],
#mintenz-showroom .ms-form input[type="tel"],
#mintenz-showroom .ms-form select,
#mintenz-showroom .ms-form textarea {
    border-radius: 8px !important;
    color: var(--ms-brand);
    background-color: #fff;
}

#mintenz-showroom.htmx-request {
    opacity: .6;
    transition: opacity .2s;
}

#mintenz-showroom button {
    margin: 0;
    min-height: 0;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
}

#mintenz-showroom .ms-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--ms-border);
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .06);
    overflow: hidden;
}

/* Left info panel */

#mintenz-showroom .ms-info {
    flex: 0 0 32%;
    padding: 28px;
    border-right: 1px solid var(--ms-border);
}

#mintenz-showroom .ms-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    padding: 0;
    border: 1px solid var(--ms-border);
    border-radius: 50%;
    background: #fff;
    color: var(--ms-brand);
}

#mintenz-showroom .ms-back:hover {
    background: var(--ms-brand-soft);
}

#mintenz-showroom .ms-info-title {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

#mintenz-showroom .ms-meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #5f554d;
}

#mintenz-showroom .ms-meta svg {
    flex: 0 0 auto;
    margin-top: 2px;
}

#mintenz-showroom .ms-info-text {
    margin-top: 16px;
    margin-bottom: 0;
}

/* Right main panel */

#mintenz-showroom .ms-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 28px;
}

#mintenz-showroom .ms-title {
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 20px;
}

#mintenz-showroom .ms-notice {
    background: var(--ms-brand-soft);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 1em;
}

#mintenz-showroom .ms-picker {
    display: flex;
    gap: 28px;
}

/* Calendar */

#mintenz-showroom .ms-calendar {
    flex: 1 1 auto;
    max-width: 400px;
}

#mintenz-showroom .ms-month {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    font-weight: 700;
}

#mintenz-showroom .ms-month-label {
    min-width: 140px;
    text-align: center;
}

#mintenz-showroom .ms-month-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ms-brand-soft);
    color: var(--ms-brand);
    font-size: 22px;
}

#mintenz-showroom .ms-month-nav:hover {
    background: var(--ms-brand-hover);
}

#mintenz-showroom .ms-month-nav[disabled] {
    color: #d3ccc5;
    background: transparent;
    cursor: default;
}

#mintenz-showroom .ms-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

#mintenz-showroom .ms-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--ms-muted);
    padding-bottom: 6px;
}

#mintenz-showroom .ms-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 48px;
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ms-muted);
    font-size: 15px;
}

#mintenz-showroom .ms-day.is-available {
    background: var(--ms-brand-soft);
    color: var(--ms-brand);
    font-weight: 700;
}

#mintenz-showroom .ms-day.is-available:hover {
    background: var(--ms-brand-hover);
}

#mintenz-showroom .ms-day.is-selected,
#mintenz-showroom .ms-day.is-selected:hover {
    background: var(--ms-brand);
    color: #fff;
}

/* Times */

#mintenz-showroom .ms-times {
    flex: 0 0 210px;
}

#mintenz-showroom .ms-times-head {
    margin-bottom: 14px;
    font-weight: 600;
}

#mintenz-showroom .ms-times-list {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

#mintenz-showroom .ms-time {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

#mintenz-showroom .ms-time button {
    flex: 1 1 100%;
    padding: 13px 8px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: flex-basis .15s, background .15s;
}

#mintenz-showroom .ms-time-btn {
    border: 1px solid var(--ms-brand);
    background: #fff;
    color: var(--ms-brand);
}

#mintenz-showroom .ms-time-btn:hover {
    border-width: 2px;
    padding: 12px 7px;
}

#mintenz-showroom .ms-next {
    display: none;
    border: 1px solid var(--ms-brand);
    background: var(--ms-brand);
    color: #fff;
}

#mintenz-showroom .ms-time.is-open .ms-time-btn {
    flex-basis: 50%;
    border-color: var(--ms-muted);
    background: var(--ms-muted);
    color: #fff;
}

#mintenz-showroom .ms-time.is-open .ms-next {
    display: block;
    flex-basis: 50%;
}

/* Details form */

#mintenz-showroom .ms-form {
    max-width: 420px;
}

#mintenz-showroom .ms-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

#mintenz-showroom .ms-form input[type="text"],
#mintenz-showroom .ms-form input[type="email"],
#mintenz-showroom .ms-form input[type="tel"],
#mintenz-showroom .ms-form select,
#mintenz-showroom .ms-form textarea {
    width: 100%;
    border: 1px solid #cfc7bf;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 14px;
}

#mintenz-showroom .ms-form input:focus,
#mintenz-showroom .ms-form select:focus,
#mintenz-showroom .ms-form textarea:focus {
    border-color: var(--ms-brand);
}

#mintenz-showroom .ms-checks {
    margin-bottom: 14px;
}

#mintenz-showroom .ms-form .ms-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-weight: normal;
}

#mintenz-showroom .ms-checks input[type="checkbox"] {
    margin: 0;
}

#mintenz-showroom .ms-error {
    color: #b20000;
    font-size: .9em;
    margin-top: -10px;
    margin-bottom: 14px;
}

#mintenz-showroom .ms-hp {
    position: absolute;
    left: -9999px;
}

#mintenz-showroom .ms-submit {
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    background: var(--ms-brand);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

#mintenz-showroom .ms-submit:hover {
    opacity: .9;
}

/* Confirmation */

#mintenz-showroom .ms-done {
    text-align: center;
    padding: 30px 0;
}

#mintenz-showroom .ms-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--ms-brand);
    color: #fff;
}

@media (max-width: 767px) {
    #mintenz-showroom .ms-card {
        flex-direction: column;
    }

    #mintenz-showroom .ms-info {
        border-right: 0;
        border-bottom: 1px solid var(--ms-border);
        padding: 20px;
    }

    #mintenz-showroom .ms-main {
        padding: 20px;
    }

    #mintenz-showroom .ms-picker {
        flex-direction: column;
    }

    #mintenz-showroom .ms-calendar {
        max-width: none;
    }

    #mintenz-showroom .ms-times {
        flex-basis: auto;
    }

    #mintenz-showroom .ms-times-list {
        max-height: none;
    }
}
