:root {
    --brand-bg: #EEDCBA;
    --brand-dark: #262626;
}

html {
    position: relative;
    height: 100%;
}

body {
    height: 100%;
    overflow-x: hidden;
    font-family: 'DM Sans', sans-serif;
    background-color: var(--brand-bg);
}

/* ── Brand: colors ─────────────────────────────────────────── */
.bg-dark { background-color: var(--brand-dark) !important; }
.btn-primary { color: var(--brand-dark) !important; }

.nav-pills .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem !important;
    min-height: 48px;
}

.nav-link.step-completed {
    cursor: pointer;
}

.option-thumb {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    min-height: 4rem;
    overflow: hidden;
}
.option-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.option-thumb .mask {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
}

.option.active .bg-image .mask {
    display: flex !important;
}

.thumb-sm {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    object-fit: cover;
}

.form-control:focus,
.form-select:focus {
    border-color: #bdbdbd;
    box-shadow: none;
}

#preview-panel {
    height: 100%;
}

.preview-wrapper {
    padding: 0 10rem;
}

.preview-tile-lg { height: 250px; }
.preview-tile-md { height: 200px; }
.preview-tile-sm { height: 150px; }

.preview-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-tile-mask {
    background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0) 50%, hsla(0, 0%, 0%, 1));
}

.preview-empty {
    border: 2px dashed rgba(0, 0, 0, 0.15);
}

.btn-footer {
    min-height: 2.75rem;
    min-width: 5.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (max-width: 991.98px) {
    .nav-pills .nav-link {
        justify-content: flex-start;
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .option-thumb {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
        min-height: 3rem;
    }
}

@media (min-width: 768px) {
    .btn-footer {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

#offer-sidenav {
    width: 26rem;
    max-width: 85vw;
}

